Service sessions + Home redesign + feedback loop
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.
This commit is contained in:
1 parent
2db22984fc
commit
a5ad9795ee
15 files changed
+878
-105
No files matched your search
+44
-1
@@ -31,7 +31,16 @@ current phase.
|
||||
> speaker contacts, session links, and `speaker` registrations by email; `slots.type`
|
||||
> is now a `session`/`service_session` enum; the seed uses the real Global Power
|
||||
> Platform Bootcamp (Austria) agenda + 50 attendees + 4 staff, with the event's
|
||||
> endpoint set and speakers added via the Excel import).
|
||||
> endpoint set and speakers added via the Excel import), and
|
||||
> **Service sessions + Home redesign + feedback loop** (a session is a
|
||||
> `service_session` when Sessionize marks it `isServiceSession` **or**
|
||||
> `isPlenumSession`; service sessions can't be checked in, have every registered
|
||||
> staff member as their speaker, no material requirement, and no mic emoji; the
|
||||
> Home Now/Next cards show **all concurrent sessions** as sub-sections when there's
|
||||
> no pick; attendees who attended an over session (and aren't its speaker) get a
|
||||
> pending-feedback pill on Home that clears once they rate it; and a session's
|
||||
> speaker can see the rating + AI summary for their own session only after it's
|
||||
> over).
|
||||
> Remaining work is cross-cutting (real event clock, deployment, testing, and the
|
||||
> ticket/Pretix sync that will consume the speaker links by email).
|
||||
|
||||
@@ -429,6 +438,40 @@ Migration `20260829000000_registration_type_optionset_speaker_promote_welcome_ch
|
||||
- Bruno and Rita now have `contacts.password = 'appe-admin-2026'` so the Convivo
|
||||
**staff QR login** (QR + staff password) works out of the box after a reset.
|
||||
|
||||
## Service sessions + Home redesign + feedback loop — ✅ complete
|
||||
|
||||
**Service sessions (new slot semantics).** A session is a `service_session` when
|
||||
Sessionize marks it `isServiceSession` **or** `isPlenumSession` (the sidecar maps
|
||||
both; the Excel path matches `service`/`break`/`lunch`/`closing`/`plenum` in the
|
||||
Session Format column). Service sessions:
|
||||
- **can't be checked in** — `checkin_attendee` raises `service sessions cannot be
|
||||
checked in`, and the Scan check-in dropdown excludes them.
|
||||
- **have every registered staff member as their speaker** — both sync RPCs call
|
||||
the new `_assign_service_session_speakers` helper for service sessions.
|
||||
- **have no material requirement** — excluded from the pending-material pill and
|
||||
the Agenda upload notice.
|
||||
- **never show the mic emoji** — no "🎤 you" tag and no mic in the speaker pill.
|
||||
|
||||
**Home redesign.** The **Now** and **Next** cards now show **all concurrent
|
||||
sessions** as clean sub-sections (title + room + speaker) when the user has no
|
||||
pick — so a slot with 1, 2, or 3 sessions renders 1, 2, or 3 sub-sections — and
|
||||
fall back to "Nothing scheduled" when the slot is empty. **My picks today** lists
|
||||
every pick the user has made (in slot order) with a "No picks yet" empty state.
|
||||
The demo clock (`EVENT_DATE`) now matches the seed's event day (2026-02-20) so a
|
||||
slot is live.
|
||||
|
||||
**Feedback loop.**
|
||||
- **Attendee:** anyone checked into an **over** session (any registration type,
|
||||
**except** the session's own speaker) sees a **"⭐ Rate your last session"** pill
|
||||
on Home while feedback is pending; it disappears once they submit.
|
||||
- **Speaker:** a session's speaker can see the **rating + AI summary** for their
|
||||
own session in the Agenda sheet — **only after the session is over**, never
|
||||
during.
|
||||
|
||||
**Migration:** [`20260833000000_service_sessions_feedback.sql`](../../supabase/migrations/20260833000000_service_sessions_feedback.sql)
|
||||
adds `_assign_service_session_speakers`, re-creates `checkin_attendee` (service
|
||||
guard) and both sync RPCs (service-session typing + staff speakers).
|
||||
|
||||
## Cross-cutting / later
|
||||
|
||||
- **Real event clock** — replace the simulated `DEFAULT_NOW`
|
||||
|
||||
Reference in new issue
Block a user