Add sort by members option to the admin groups page
What does this MR do and why?
Add the ability to sort admin groups by member count.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen Recording 2023-09-20 at 23.52.57.mov |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to
Admin Area
->Groups
(http://localhost:3000/admin/groups
) - Click on sorting dropdown -> Observe the options
- Apply changes from this MR
- Reload the page
- Click on the sorting dropdown -> Observe the options -> Two new options to sort by members should be visible
- Select
Members
option -> Observe the result -> The group list is sorted by member count ascending - Select
Members, descending
option -> Observe the result -> The group list is sorted by member count descending
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.
Related to #423891