-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add advanced filtering options to the Users table (#653)
### Summary & Motivation Enable filtering in the Users table with options for free-text search, role, status, and creation date. Users can now be searched by name, email, or title using an always-visible free-text search field. A "Show all filters" button reveals additional dropdowns for filtering by `UserRole` (Member, Admin, Owner), `UserStatus` (Active, Pending), and a date range picker for filtering by user creation date. Filters are reflected in the URL (e.g., `/admin/users?search=cto&userStatus=Active&userRole=Owner&startDate=2024-12-01&endDate=2024-12-31`), enabling easy sharing of filtered views. When filters are present in the URL, the page automatically renders with all filters visible. The API endpoint and Users repository have been extended to support filtering by user status (Active/Inactive based on `User.EmailVerified`) and user creation dates. ### Checklist - [x] I have added a Label to the pull-request - [x] I have added tests, and done manual regression tests - [x] I have updated the documentation, if necessary
- Loading branch information
Showing
13 changed files
with
359 additions
and
56 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
153 changes: 143 additions & 10 deletions
153
application/account-management/WebApp/routes/admin/users/-components/UserQuerying.tsx
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.