Skip to content

Admin Users - Move table to vue_shared

Zack Cuddy requested to merge cuddyz-migrate-admin-user-table-vue-shared into master

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 Before_-_List After_-_List
Actions Before_-_Actions After_-_Actions

How to set up and validate locally

  1. Fetch this branch and login to an Admin user (ie. root)
  2. Navigate to User Admin /admin/users
  3. Ensure UI looks the same
  4. 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.

Edited by Zack Cuddy

Merge request reports