feat(admin): implement member management page with stats and actions (fixes #657)#728
Open
naheel0 wants to merge 1 commit intoDistinctCodes:mainfrom
Open
feat(admin): implement member management page with stats and actions (fixes #657)#728naheel0 wants to merge 1 commit intoDistinctCodes:mainfrom
naheel0 wants to merge 1 commit intoDistinctCodes:mainfrom
Conversation
|
@naheel0 is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
This pull request introduces a complete admin dashboard for managing members, including listing, filtering, searching, stats, actions (promote, demote, suspend, activate), and pagination. The changes add new React components, hooks, and types to support these features, as well as backend integration for member actions and stats.
Admin dashboard features:
AdminMembersPagewith search, filter, stats, and member table UI for managing users and roles.MemberStats,MembersTable, andTablePaginationcomponents to display member statistics, list members with actions, and handle pagination. [1] [2] [3]Member actions and modals:
MemberActionButtonsandActionConfirmationModalcomponents to handle member actions (promote, demote, suspend, activate) with confirmation dialogs and accessibility features. [1] [2]React Query hooks and types:
Dependency updates:
package-lock.jsonremoving unnecessarypeerfields for certain dependencies. [1] [2]Closes #657