- Scanner: invoke onResult through a ref refreshed each render; the camera
callback captured the mount-time closure, so scans kept running session
check-in even with the Welcome toggle on (manual entry was unaffected)
- new RPC set_registration_checked_in(id, bool): admin-only; on un-check,
deletes the event's 'checkin' points_log rows and applies the negative
delta via _award_points('admin') so leaderboard + audit stay consistent;
re-check awards nothing; returns points_removed
- admin Registrations toggle now calls the RPC, refreshes rows and toasts
the removed points
- supabase/tests/set_registration_checked_in_tests.sql: 15 assertions
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
The staff scanner checked attendees in silently, and the default session
mode never prints — so a welcome-desk scan could check someone in with no
badge and no confirmation.
- new read-only RPC preview_welcome_checkin(qr): resolves the attendee and
reports already + will_print (mirrors the exact welcome_checkin enqueue
condition: first check-in AND a layout exists). Staff/admin only; checks
nobody in, enqueues nothing.
- attendee Scan screen previews first and shows a Yes/No sheet: "You are
checking in [Name]. By confirming, you will print this person's label."
Only Yes runs welcome_checkin. Session check-in unchanged (never prints).
- badge_print_tests.sql +8 assertions (109 total); ScanPage + welcome specs
drive the confirm step; new CONV-CHECKIN-003 (No cancels, Yes checks in).
- docs: rpcs.md, printing.md, releases/2026-10-19.md.
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
Support script and URL sources, automatic Sessionize polling, staff-linked service sessions, chronological agenda blocks, and inline Placeholders. Fix demo mode to use the active event date and document deployed behavior with regression coverage.
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
Adds a BEFORE INSERT OR UPDATE trigger on public.registrations: if the
registrant is an admin (is_admin flag OR @appe.at domain — same rule as
is_admin()), the registration type is forced to 'staff' (staff is merged
into admin in this app). No exception.
Enforced at the DB transaction level, so it covers every write path — the
Pretix sync RPC, Sessionize sync, manual admin edits, direct Postgres.
Backfilled the 2 existing admin registrations ([email protected], [email protected]
were 'attendee' -> now 'staff'). Verified: setting an admin reg to 'attendee'
is immediately forced back to 'staff'.
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
The one-time backfill (20260909010000) missed contacts created later (e.g. by
the Pretix sync), so their is_admin flag stayed false and the admin UI badge
showed them as non-admin even though is_admin() treated them as admins.
Adds a BEFORE INSERT OR UPDATE trigger that auto-sets is_admin=true for any
@appe.at email, keeping the flag, the UI badge, and is_admin() in sync for
every current + future contact. Re-applied the rule to the 2 rows created
since the last backfill.
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
- is_admin() now returns true when the caller's email is on the @appe.at
domain (in addition to the is_admin flag) — covers all admin RLS policies
+ admin-only RPCs at once.
- Backfill contacts.is_admin=true for existing @appe.at rows.
- Admin app login gate (AuthContext) mirrors the same rule so a freshly
created @appe.at contact can sign in immediately.
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
- Migration 20260834000000: events.use_realtime_clock (boolean, default false)
- Admin: Real-time clock toggle in the Events create/edit modal
- Convivo: useEvent picks new Date() vs simulated DEFAULT_NOW from the flag;
Home shows a 'Demo clock' badge only in simulated mode
- Docs: app-structure, admin-app, schema, next-steps
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
Service sessions (new slot semantics):
- Sidecar maps isServiceSession OR isPlenumSession -> service_session
(Excel path also matches 'plenum' in Session Format).
- checkin_attendee rejects service sessions; Scan check-in dropdown
excludes them.
- New _assign_service_session_speakers helper links every registered
staff member as a speaker of a service session; both sync RPCs call
it (and the API sync now actually types slots from is_service_session).
- No material requirement + no mic emoji for service sessions.
Home redesign:
- Now/Next cards show all concurrent sessions as sub-sections when
there's no pick (1/2/3 sessions -> 1/2/3 sub-sections), with a
"Nothing scheduled" fallback for empty slots.
- My picks today lists every pick (slot order) + empty state.
- Demo clock EVENT_DATE fixed to 2026-02-20 (matches seed) so a slot
is live at 10:20.
Feedback loop:
- Attendee pending-feedback pill on Home (checked into an over session,
not its speaker, no feedback yet); clears on submit.
- Speaker sees rating + AI summary for their own session in the Agenda
sheet only after it's over.
Migration 20260833000000_service_sessions_feedback.sql. Docs updated.
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
- Introduced a new Node HTTP service (sidecar) to sync event agendas from Sessionize into Convivo.
- Implemented two import paths: API sync and Excel import for session and speaker data.
- Added necessary database migrations for sessionize integration, including new columns and audit tables.
- Created functions for handling speaker and session imports, ensuring proper error handling and logging.
- Established row-level security and grants for new functions to restrict access to service-role only.
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
- Sponsor lookup popup can now link an existing sponsor (dropdown + pre-fill)
or create a new one; save upserts the sponsor linked to the contact and sets
the registration type to sponsor.
- Remove the Interfaces feature end-to-end: admin nav button + Sync view, sync
API helpers + SyncRun type, sync-trigger Edge Function, mock-api + its
docker-compose service, and a migration dropping the sync RPCs, helpers, and
sync_runs table.
- Update docs (architecture, backend, frontend, README, roadmap, next-steps).
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
- registrations.type is now a Postgres ENUM (registration_type)
- session_speakers trigger auto-promotes attendee -> speaker (never overrides staff/sponsor)
- new welcome_checkin RPC: staff marks an attendee present at the event
- admin Registrations: QR token is final (no reset); failed sponsor change opens in-place sponsor lookup
- Convivo Home: Now/Next cards always render; red pending-material pill + popup for speakers
- Convivo Agenda: speakers can delete their material to re-upload
- Convivo Scan: staff Session/Welcome check-in toggle (uiverse switch)
- seed: staff (Bruno/Rita) get a password so staff QR login works after reset
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
- contacts.password now auto-syncs to auth.users.encrypted_password via
trg_contact_password_sync, so setting a password on the contact row in the
Supabase UI makes it work with signInWithPassword immediately (fixes staff
like Bruno not being able to log in with a UI-set password). One-time
reconciliation in the migration.
- Staff excluded from the leaderboard: _sync_leaderboard skips/removes staff
rows, get_leaderboard() filters type='staff', seed no longer inserts staff.
Affects the attendee Leaderboard and the admin Dashboard 'Top points'.
- Home/Agenda/Profile identical for all roles: Home quick-action always
'Scan & connect' (no 'Check-in' relabel), footer role badge removed, tab
label always 'Scan' (staff keep check-in via the Scan screen mode toggle).
- Profile: removed the duplicate Staff pill (type pill already shows Staff).
- Agenda session sheet: 'Download material' moved to the bottom of the button
stack with spacing.
- Docs updated (schema, rpcs, seed, screens, architecture, next-steps).
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
Datamodel:
- Move qr_token from contacts to registrations (per event); new migration
20260826000000. lanyard_lookup / create_connection_request / checkin_attendee
resolve via registrations + active event.
- reset_qr_token -> reset_registration_qr_token (fixes ambiguous 'email' col).
- upsert_contact drops the token arg; create_registration generates + syncs it.
- Pretix sync writes the token to the registration (keeps it on re-sync).
Registration types:
- Distinct pill colors; red reserved for Staff (both apps).
- Roles capitalized everywhere (Attendee/Speaker/Sponsor/Staff); 'Attendee'
hidden only at the Home footer.
- Reset-token button moved from Contacts to Registrations (per registration).
Sessions (APPE Admin):
- Slot types capitalized; material submitted/not-submitted state.
- Speaker selection = multi-select search dropdown.
- Fix 'a session must have a speaker' on edit (diff-based setSessionSpeakers)
and the file-upload bug (speaker save no longer aborts first).
APPE Admin:
- Sponsors contact lookup = search field (filter + pick).
Convivo App:
- Other people's QR codes hidden; connection detail sheet shows public info +
points.
- Connect red dot recalculates immediately on accept/decline/send.
- 'My picks today' = 2 rows (current + next); 'tap to change' links to Agenda.
Docs updated across backend + frontend.
Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>