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.

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:
committed 2026-08-25 08:58:16 +02:00
1 parent fad978e9f4
commit bd67debeef
15 files changed
+878 -105

No files matched your search

+1
View File
@@ -65,6 +65,7 @@ export function groupAgenda(rows: AgendaRow[]): { slot: Slot; sessions: Session[
id: r.session_id,
event_id: '',
slot_id: r.slot_id,
slot_type: r.slot_type,
title: r.title,
description: r.description,
room: r.room,
+3 -2
View File
@@ -1,9 +1,10 @@
import type { Slot } from './types';
/** The event day (from the seed). All slot times are on this date. */
export const EVENT_DATE = '2026-10-23';
export const EVENT_DATE = '2026-02-20';
/** Simulated "now" used for the demo (matches the mockup: 10:20 on event day). */
/** Simulated "now" used for the demo (10:20 on event day → Slot 2 is live,
* Slot 3 is next). Matches the mockup's "Good morning" greeting. */
export const DEFAULT_NOW = new Date(`${EVENT_DATE}T10:20:00`);
export type SlotStatus = 'done' | 'now' | 'next';
+2
View File
@@ -55,6 +55,8 @@ export interface Session {
id: string;
event_id: string;
slot_id: number;
/** The slot's type ('session' | 'service_session') — carried for convenience. */
slot_type: SlotType;
title: string;
description: string | null;
room: string | null;