Skip to content

feat(users): build users management page#512

Merged
yusuftomilola merged 1 commit intoDistinctCodes:mainfrom
mijinummi:feat/460-users-management-page
Feb 25, 2026
Merged

feat(users): build users management page#512
yusuftomilola merged 1 commit intoDistinctCodes:mainfrom
mijinummi:feat/460-users-management-page

Conversation

@mijinummi
Copy link
Contributor

@mijinummi mijinummi commented Feb 23, 2026

Closes #460


Users Management Page (#460)

Objective

  • Build a page at /users listing all organisation members with filtering and role management.

Changes

  • Added API client (usersApi.ts) for GET/PATCH endpoints.
  • Added React Query hooks (useUsers, useUpdateUserRole).
  • Added Avatar component with initials and current user badge.
  • Implemented /users page with:
    • Table (Avatar + Name, Email, Role, Joined date).
    • Search input (filter by name/email).
    • Role filter dropdown.
    • Inline role dropdown per row (disabled for current user).
    • Role legend with color coding.

Acceptance Criteria

  • ✅ Role dropdown disabled for current user.
  • ✅ Role change updates immediately (no reload).
  • ✅ Search and role filter can be combined.
  • ✅ Avatar shows initials, darker background for current user.
  • ✅ Role legend displayed.

@vercel
Copy link

vercel bot commented Feb 23, 2026

@mijinummi is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola yusuftomilola merged commit e45e448 into DistinctCodes:main Feb 25, 2026
3 of 5 checks passed
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.

[Frontend] Build Users Management Page

2 participants