Add self check-in for events and workshops - #2801
Open
mroderick wants to merge 4 commits into
Open
Conversation
Adds check_in_code to events and workshops, and source to invitations and workshop_invitations, with regenerated schema.
Events and workshops generate a check-in code on create. Invitations now record their source (admin, check-in, etc.) via shared constants.
Adds admin-only check-in instructions and a landscape QR-code PDF for events and workshops. Includes the prawn/pdf dependencies, word list, codebar logo asset, and route helpers.
Members can scan the QR code, sign in, select Student/Coach, and check in. Enforces the event-time window, capacity, waiting list, and a single role per member.
mroderick
force-pushed
the
feature/self-check-in
branch
from
August 9, 2026 18:54
e3a5cfd to
309a15f
Compare
mroderick
marked this pull request as ready for review
August 9, 2026 19:00
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.
It is vitally important for codebar to keep accurate attendance records, here are some arguments why.
The PR allows organisers to take some of the workload of keeping attendance and let's members check themselves in.
Hopefully, this will lead to better attendance keeping and less work for organisers during events and workshops.
What
Adds a self check-in flow for codebar events and workshops.
Admittedly, the PDF could be improved. I think this is OK for a first iteration and allows us to get it in the hands of organisers for a field test or two.
Changes
check_in_codeon events/workshops and asourceon invitations.CheckInCodeconcern for code generation and window/capacity helpers.lib/words/README.md.sourcefor admin and check-in invitations.Manual verification
Member.find_by(email: "you@example.com").add_role(:admin).ends_at) — it should be blocked.Testing