Skip to content

feat(admin): implement member management page with stats and actions (fixes #657)#728

Open
naheel0 wants to merge 1 commit intoDistinctCodes:mainfrom
naheel0:feature/admin-member-management
Open

feat(admin): implement member management page with stats and actions (fixes #657)#728
naheel0 wants to merge 1 commit intoDistinctCodes:mainfrom
naheel0:feature/admin-member-management

Conversation

@naheel0
Copy link

@naheel0 naheel0 commented Mar 19, 2026

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:

  • Added a new AdminMembersPage with search, filter, stats, and member table UI for managing users and roles.
  • Created MemberStats, MembersTable, and TablePagination components to display member statistics, list members with actions, and handle pagination. [1] [2] [3]

Member actions and modals:

  • Implemented MemberActionButtons and ActionConfirmationModal components to handle member actions (promote, demote, suspend, activate) with confirmation dialogs and accessibility features. [1] [2]

React Query hooks and types:

  • Added React Query hooks for fetching member stats and lists, including backend mapping and query key management. [1] [2]
  • Introduced mutation hooks for member actions, with automatic cache invalidation.
  • Defined new member-related TypeScript types to standardize data structures.

Dependency updates:

  • Minor update to package-lock.json removing unnecessary peer fields for certain dependencies. [1] [2]

Closes #657

@vercel
Copy link

vercel bot commented Mar 19, 2026

@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.

@naheel0 naheel0 changed the title feat(admin): implement member management page with stats and actions feat(admin): implement member management page with stats and actions (fixes #657) Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue #69 — Frontend: Admin Members Management Page

1 participant