Admin Users - Move table to vue_shared
What does this MR do and why?
Work towards #409313 (closed)
In preparation for !135502 (merged)
This change moves the users_table.vue
and user_avatar.vue
components from /admin/users
to vue_shared/components
.
This change also moves user_actions
into a slot so that any implementation of this table can define their own actions. This is especially important for Organizations as we want to render users the same but will manage users differently than the instance level Admin.
Screenshots or screen recordings
-->
Before | After (same) | |
---|---|---|
List | ![]() |
![]() |
Actions | ![]() |
![]() |
How to set up and validate locally
- Fetch this branch and login to an Admin user (ie.
root
) - Navigate to User Admin
/admin/users
- Ensure UI looks the same
- Test any actions in the table and ensure they behave as expected
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Zack Cuddy