Fixes & Refinements: QR token on registration, role caps, connection detail + red dot, admin schedule/sponsors
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]>
This commit is contained in:
1 parent
3fd8feca53
commit
2f3952dc71
30 files changed
+1083
-232
No files matched your search
@@ -95,10 +95,10 @@ flag. See [frontend/admin-app.md](./frontend/admin-app.md):
|
||||
Sponsors, Schedule (slots/sessions/speakers/material/AI-evaluate), Activity,
|
||||
Events, and **Interfaces** (trigger Pretix/Sessionize syncs + export the QR CSV).
|
||||
- **Auth guard** — same QR + email login, but non-admin sessions are rejected.
|
||||
- **Key RPCs** — `reset_qr_token` (regenerate a lanyard token + sync the Auth
|
||||
password), `adjust_points`, `upsert_contact`, `create_registration`,
|
||||
`set_registration_type`, `evaluate_session_feedback` (AI stub), and
|
||||
`set_session_material` (see [backend/rpcs.md](./backend/rpcs.md)).
|
||||
- **Key RPCs** — `reset_registration_qr_token` (regenerate a registration's
|
||||
lanyard token + sync the Auth password), `adjust_points`, `upsert_contact`,
|
||||
`create_registration`, `set_registration_type`, `evaluate_session_feedback`
|
||||
(AI stub), and `set_session_material` (see [backend/rpcs.md](./backend/rpcs.md)).
|
||||
|
||||
## 5. How a request flows (example: staff check-in)
|
||||
|
||||
@@ -182,7 +182,9 @@ Convivo/
|
||||
│ ├─ migrations/
|
||||
│ │ ├─ 20260822000000_init.sql # original schema (replaced by the Redesign)
|
||||
│ │ ├─ 20260823000000_admin_app.sql # admin read RLS + reset_qr_token (superseded)
|
||||
│ │ └─ 20260824000000_redesign.sql # ← current: multi-event model, RPCs, RLS, materials
|
||||
│ │ ├─ 20260824000000_redesign.sql # multi-event model, RPCs, RLS, materials
|
||||
│ │ ├─ 20260825000000_interfaces.sql # external_id + sync_runs + sync RPCs
|
||||
│ │ └─ 20260826000000_registration_qr_token.sql # ← current: QR token on registration
|
||||
│ └─ seed.sql # 1 event, 6 slots, 18 sessions, 14 contacts, demo state
|
||||
├─ docker-compose.yml # Runs both app sidecars on the Supabase network
|
||||
├─ docs/ # ← this documentation
|
||||
|
||||
Reference in new issue
Block a user