Skip to content

Add Admin-view Panel/Dashboard and Register logic #2107

Merged
steeevin88 merged 5 commits into
devfrom
khoa/admin-view
May 1, 2026
Merged

Add Admin-view Panel/Dashboard and Register logic #2107
steeevin88 merged 5 commits into
devfrom
khoa/admin-view

Conversation

@KhoaNguyen706

@KhoaNguyen706 KhoaNguyen706 commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator

Admin of the event can see the list of attendee now!!!!

-Dashboard when failed to load attendee:
image

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

  • new version:
{1DC31FE1-84E1-4367-BD70-383E6B57D9A2}
  • We need fix the bug when member try to register for many times:
{D106BDC7-F41F-42C6-8EFC-EA312591F2D8}

-Dashboard when successfully fetch the list of attendee:
image

  • Member and Not Admin of event only register. If register successfully -> they can no longer register again.
image
  • Click on the specific attendee:
{B126D5DE-FFC5-4979-8FB1-0C784EF25AFE}
  • the atendee of list:
{05B27A48-4BB1-4CFB-92FF-52BA12D30E21}

Comment thread docker/Dockerfile Outdated

@adarshm11 adarshm11 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what happened to the docker-compose file......

@weslayer weslayer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ummmm

@steeevin88 steeevin88 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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

Comment thread docker/Dockerfile Outdated
Comment thread src/APIFunctions/SCEvents.js Outdated
Comment thread docker-compose.yml
Comment thread docker-compose.yml Outdated
Comment thread docker-compose.yml Outdated
Comment thread docker-compose.yml Outdated
Comment thread docker-compose.yml Outdated
Comment thread docker-compose.yml Outdated
Comment thread nginx.conf Outdated
@KhoaNguyen706 KhoaNguyen706 force-pushed the khoa/admin-view branch 2 times, most recently from 61f8b78 to 9b7d6e6 Compare April 27, 2026 22:57

@steeevin88 steeevin88 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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

Comment thread src/Components/Navbar/UserNavbar.js Outdated
Comment thread src/Components/Navbar/UserNavbar.js Outdated
- 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
Adjust JSX indentation in the attendee list block so lint and production build pass in CI.

Made-with: Cursor

@steeevin88 steeevin88 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

awesome stuff! thanks for the screenshots, this looks really good

Comment thread src/Pages/Events/CreateEventPage.js Outdated
Comment thread src/Routes.js
@steeevin88

Copy link
Copy Markdown
Collaborator

@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
Comment thread src/Pages/Events/CalendarView.js Outdated
Comment thread src/Pages/Events/CreateEventPage.js
Comment thread src/Pages/Events/EditEventPage.js
Comment thread src/Pages/Events/CalendarView.js Outdated
Comment thread src/Pages/Events/CalendarView.js Outdated
Comment thread src/Components/Navbar/AdminNavbar.js Outdated
Comment thread src/APIFunctions/SCEvents.js Outdated
@steeevin88 steeevin88 merged commit 4c30352 into dev May 1, 2026
4 checks passed
@steeevin88 steeevin88 deleted the khoa/admin-view branch May 1, 2026 00:12
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.

6 participants