Run bootcamp session check-in from the bootcamp admin page - #422
Merged
Merged
Conversation
Bootcamp sessions no longer appear in the Club Hub check-in manager. /admin/bootcamp gets a "Session check-in" panel with each week's QR code, open/close toggle, attendance list, and count. - bootcamp.attendance (admin only) now returns each session's qrCode, currentCheckIns and maxCheckIns via adminSessionsForTerm. myProgress keeps the member-facing sessionsForTerm, which never selects the QR: holding the code is enough to check in from anywhere. - The QR generate/download/regenerate logic moves out of the Club Hub into useEventQR (components/portal/EventQR.tsx), shared by both pages. - The Club Hub event form drops the bootcamp week and bootcamp-only fields; sessions are scheduled from the workshop modal (upsertSession), which already sets both. - EventAttendanceModal also refreshes the bootcamp grid, since it now opens from that page too.
Contributor
Author
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Contributor
Author
|
Visit the preview URL for this PR (updated for commit 8a3e31d): https://hacklytics2027--pr-422-tj3q1bgn.web.app (expires Fri, 02 Oct 2026 02:11:20 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c48ba34db61581e25fe2978355160b5eefe0e83f |
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.
Stacked on #421 (merge that first; GitHub retargets this to
dev).What
/admin) no longer lists bootcamp sessions; the header points to the Bootcamp page. Its event form drops the bootcamp week / bootcamp-only fields (sessions are scheduled from the workshop modal, which already sets both)./admin/bootcampgets a Session check-in panel: each week's QR code (download / regenerate), open/close toggle, attendance list (manual check-in / remove), and count.bootcamp.attendance(admin only) now returns each session'sqrCode,currentCheckIns,maxCheckIns.myProgresskeeps the student-facing query, which never selects the QR — holding the code is enough to check in from anywhere.useEventQR(components/portal/EventQR.tsx), shared by both pages.EventAttendanceModalalso refreshes the bootcamp grid.Sessions are still events underneath: same door QR, same
/checkinscanner for attendees, bootcamp-only enrolment check unchanged.Verification
pnpm typecheck9/9,pnpm lint8/8,pnpm test828 passing.Manual check
/admin: Linear Regression and Core Libraries & Data Wrangling should be gone from the list (if they were created with a bootcamp week). /admin/bootcamp: both appear under Session check-in with working QR / Open-Close / Attendance.