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
@@ -8,9 +8,9 @@ Source of truth: [`supabase/seed.sql`](../../supabase/seed.sql). The seed runs o
|
||||
| Data | Count | Notes |
|
||||
|---|---|---|
|
||||
| `auth.users` + `auth.identities` | 13 | 12 attendees + 1 admin; **QR token = bcrypt password** |
|
||||
| `contacts` | 14 | 13 with QR tokens + 1 external keynote speaker (no token) |
|
||||
| `contacts` | 14 | 13 registrants + 1 external keynote speaker (no token — tokens live on registrations) |
|
||||
| `events` | 1 | **APPE 2026**, 2026-10-23, São Paulo, Brazil, **active** |
|
||||
| `registrations` | 13 | one per contact (Elena has none); points scoped here |
|
||||
| `registrations` | 13 | one per contact (Elena has none); points + **QR token** scoped here |
|
||||
| `sponsors` | 3 | Nubank (headline, paid), Acme Corp (gold, paid), Globant (community, unpaid) |
|
||||
| `slots` | 6 | 23 Oct, 09:00–15:45 (see table below) |
|
||||
| `sessions` | 18 | 3 per slot (Main Stage / Room A / Room B) |
|
||||
@@ -62,8 +62,8 @@ Login = **QR code** (typed or scanned) + **email**. The QR token is the password
|
||||
| Dr. Elena Vasquez | (external speaker) | — | elena.vasquez@keynote.com | — |
|
||||
|
||||
> **Dr. Elena Vasquez** is an external keynote speaker: she has a `contacts` row
|
||||
> (and speaks in `session_speakers`) but **no QR token and no auth user**, so she
|
||||
> can't log in — she only appears as a speaker on the agenda.
|
||||
> (and speaks in `session_speakers`) but **no registration, no QR token, and no
|
||||
> auth user**, so she can't log in — she only appears as a speaker on the agenda.
|
||||
|
||||
## Ana's demo state (so the app looks alive on first login)
|
||||
|
||||
|
||||
Reference in new issue
Block a user