feat: Implement users page active tab#30242
Merged
rique223 merged 12 commits intofeat/user-panelfrom Oct 4, 2023
Merged
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.
|
Codecov Report
@@ Coverage Diff @@
## feat/user-panel #30242 +/- ##
===================================================
- Coverage 50.02% 48.35% -1.67%
===================================================
Files 774 740 -34
Lines 14455 14100 -355
Branches 2613 2543 -70
===================================================
- Hits 7231 6818 -413
- Misses 6820 6904 +84
+ Partials 404 378 -26
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
hugocostadev
approved these changes
Oct 2, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes (including videos or screenshots)
Jira task: WM-86
Implemented the active users tab for the new users page tab layout. This page:
Also reorganized the contextual bar to follow figma specs and refactored both the table and contextual bar menus to also follow figma specs;
Demo gif:

Issue(s)
Steps to test or reproduce
Further comments