-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Implement users page deactivated tab #30532
Conversation
Implemented the necessary resources to filter the list of users and to return only those who are active, when the active tab is enabled.
Implemented a new filter on the users' page that retrieves the roles list and creates a dropdown menu. When any of its options is selected, it will filter the users' list to display only those with the selected roles. Additionally, I made some minor adjustments to the MultiSelectCustom component and introduced some new hooks.
Completed the implementation of the users table actions menu by preventing the propagation of the click event that triggered the opening of the contextual bar when the menu was clicked. Also, ensured that the contextual bar only opens when the "Enter" or "Space" keys are used for keyboard navigation and enhanced the options menu in the contextual bar as specified in Figma.
Removed the status from the users page contextual bar (the need to remove this may not be concrete, for now it will be only commented until the final decision is made). Also changed the order of the contextual bar info and changed some minor styles to follow figma specs.
Implemented the filtering function that will show deactivated users when the deactivated tab has been selected and hid the actions menu options that are unnecessary for deactivated users. Didn't implement the empty state because it has been implemented in the pending tab PR.
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## feat/user-panel #30532 +/- ##
===================================================
- Coverage 51.26% 51.19% -0.08%
===================================================
Files 810 810
Lines 15161 15161
Branches 2826 2826
===================================================
- Hits 7773 7762 -11
- Misses 6949 6956 +7
- Partials 439 443 +4
Flags with carried forward coverage won't be shown. Click here to find out more. |
Proposed changes (including videos or screenshots)
Jira task: WM-87
Implemented the deactivated users tab for the new users page. This page:
Demo gif:
Issue(s)
Steps to test or reproduce
Further comments