Skip to content

Feat/admin dashboard (WIP)#57

Open
conradangwz wants to merge 12 commits into
mainfrom
feat/admin-dashboard
Open

Feat/admin dashboard (WIP)#57
conradangwz wants to merge 12 commits into
mainfrom
feat/admin-dashboard

Conversation

@conradangwz
Copy link
Copy Markdown
Contributor

@conradangwz conradangwz commented May 24, 2026

Very bare bones at the moment - A proper pr with complete changes will be done later, branch was also built off my other branch will have to fix that

Created the following pages in the frontend:
client/src/components/AdminComponents/AdminDashboard.tsx
client/src/components/AdminComponents/AdminSidebar.tsx
client/src/pages/Admin.tsx

Next steps:

  • Protect the actual admin page route. AdminRoute exists, but /Admin in App.tsx is still rendered directly. Wrap it so non-admins cannot open the page.
  • Hide the “Admin Dashboard” nav link from non-admin users in Header.tsx.
  • Create the members view and contact view
  • Add admin-only backend endpoints for the dashboard data. The adminGuard is ready, so next would likely be guarded routes for listing users and updating member flags.
  • Replace the placeholder UI in AdminDashboard.tsx and AdminSidebar.tsx with actual tab state, loading/error states, and tables.

@conradangwz conradangwz added the feature New feature being worked on label May 24, 2026
Copy link
Copy Markdown
Collaborator

@RLee64 RLee64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update! Do you know what sort of module you'd like to use to implement the actual display? I've heard Tanstack Table is pretty popular, although the recent security breach is a bit concerning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature being worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants