Feat/admin dashboard (WIP)#57
Open
conradangwz wants to merge 16 commits into
Open
Conversation
RLee64
reviewed
May 25, 2026
RLee64
left a comment
Collaborator
There was a problem hiding this comment.
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.
…ents for the member and responses stuff, beginning to optimise the styling
…ion to your own account
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.
📑 Description
Adds an admin dashboard for managing members and contact form responses. The dashboard includes admin-only navigation, searchable/sortable tables, view/edit modals, delete confirmation flows, and backend CRUD routes for users and contact responses.
This also updates
server/src/index.tsto handle the MongoDB SRVquerySrv ECONNREFUSEDissue by retrying with the standard Atlas connection string when SRV DNS lookup fails.✏️ Summary of Changes
DataTablewith search, sorting, pagination, loading, empty, and error states.deleteconfirmation before destructive actions.server/src/index.tsto fall back from SRV to standard connection on SRV lookup failures such asECONNREFUSED.📸 Screenshots
❗️ For the reviewer
AdminRouteon the frontend andadminGuardon protected backend routes.membersandresponses.server/src/index.tswas made more robust, as I ran into the same ECONNREFUSED error; the previous fix would choose one connection method before connecting, which meant that if it did fail in runtime, it would just exit. While this new logic means that even if srv fails at runtime, there is a fallback connection that can be tried there and then.Next steps
classNamestrings where practical.✅ Ready?