Add Admin-view Panel/Dashboard and Register logic #2107
Conversation
adarshm11
left a comment
There was a problem hiding this comment.
what happened to the docker-compose file......
steeevin88
left a comment
There was a problem hiding this comment.
there's some changes that should not be here... let's remove them as per comments
please actually review your changes before you push a PR lol, i'm sure you would have caught a lot of these first. obv this is a club setting so it's not super serious but if you push unreviewed code for a company, your mentors would be very unhappy 😅
let's also rebase again, i think you missed a few changes
61f8b78 to
9b7d6e6
Compare
steeevin88
left a comment
There was a problem hiding this comment.
can you update the screenshots? it doens't look like it's the correct admin view, we should see the admin sidebar + not the regular navbar
9b7d6e6 to
47431fa
Compare
- Reset branch onto origin/dev; keep dev Events list/registration pages - Add EventAttendeesDashboard, route /events/:id/admin/attendees - Extend SCEvents API client (registrations, registerForEvent, registerForSCEvent alias, getMyEventRegistrationState) and improve fetch error payloads - CalendarView: admin attendees link, registration state for published events - Gate Create/Edit event pages and admin nav SCEvents links on config.SCEvents.ENABLED - UserNavbar: optional Events link when SCEvents enabled Made-with: Cursor
Scope the PR to admin dashboard and attendee list updates by restoring admin-only access/sidebar behavior and moving attendee detail into a click-open side panel. Made-with: Cursor
47431fa to
8c77f29
Compare
Adjust JSX indentation in the attendee list block so lint and production build pass in CI. Made-with: Cursor
steeevin88
left a comment
There was a problem hiding this comment.
awesome stuff! thanks for the screenshots, this looks really good
|
@codebyemily looks like this PR already adds viewing each form registrants submission information (so we won't need a new issue for it) |
SCEvents is now always enabled, so this drops config-based checks in event pages and admin nav while relying on existing route/role access controls. Made-with: Cursor
Admin of the event can see the list of attendee now!!!!
-Dashboard when failed to load attendee:

-Admin of the event have a button to see the list of attendee right now:

-Dashboard when successfully fetch the list of attendee:
