Skip to content

Conversation

@aaronashby
Copy link
Contributor

ℹ️ Issue

Closes #172

📝 Description

Created a page for admins to view current and pending users. The view has two tabs that allow admins to switch between which users they would like to see. For current users, the page displays each user's name, email, and position. For pending users, the page shows the same attributes in addition to the date they requested to be added, and two buttons that allow admins to either accept or reject a user's request.

Briefly list the changes made to the code:

  1. Added a button icon (UserButton.tsx) to the navigation bar that links to the users page
  2. Created the page (Users.tsx)
  3. Created two types of card components (ApprovedUserCard.tsx & PendingUserCard.tsx) that displays information about a user as specified above

✔️ Verification

✅ Current/All Users View

Screenshot 2025-11-02 at 2 36 26 PM

⏳Pending Users View

Screenshot 2025-11-02 at 2 36 51 PM

Test Changes

None

🏕️ (Optional) Future Work / Notes

Pagination for the user cards must be implemented

@aaronashby aaronashby linked an issue Nov 2, 2025 that may be closed by this pull request
@prooflesben prooflesben merged commit 1292b4a into main Nov 4, 2025
1 check 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.

DEV - Create User Page for Admin

3 participants