fix(convivo): consistent service cards, in-place pick details, no duplicated slot time

- groupAgenda drops orphan service slots (no session row), so every Service Session card consistently shows header + session row; list, slot count and Home Now/Next agree
- Extract the session detail bottom sheet into shared components/SessionDetail.tsx; Home's My-picks chips now open it in place instead of routing to the Agenda (App passes openFeedback so Give-feedback works there too)
- Sheet subtitle shows the slot name only when it adds information: auto-named 'Slot 10:15-11:00' no longer repeats the time range, and service names equal to the session title are skipped
- e2e: orphan-slot test + Home session picks test (exact subtitle assertion) in convivo-admin-entry.spec.ts, 41/41 green; speaker-portal 19/19; docs + release record 2026-10-16.md
This commit is contained in:
Lago committed 2026-10-16 16:11:12 +02:00
1 parent 3d4dc207ff
commit ef0446dcdf
10 files changed
+442 -177

No files matched your search

+19 -3
View File
@@ -117,8 +117,14 @@ The landing screen. Shows:
- **Next card** — **always shown** for the next slot (same pick / concurrent-list
logic as the Now card, without the check-in pill).
- **My picks today** — one row per pick the user has made **today** (in slot
order), each showing the slot time + session title + room. "tap to change" is a
**hyperlink** to the Agenda. With no picks, a "No picks yet" line.
order), each showing the slot time + session title + room. Tapping a row
opens the **same session detail sheet the Agenda shows** (description,
speaker/level/area pills, pick/un-pick, material download, feedback entry)
**in place over Home** — no round trip to the Agenda tab. "tap to change" is
a **hyperlink** to the Agenda. With no picks, a "No picks yet" line.
- The detail sheet is a shared component (`components/SessionDetail.tsx`) used
by both Home's picks and the Agenda list, so a session looks and behaves
identically wherever it is opened.
- **Quick actions** — Scan & connect, Agenda, Connections, Leaderboard.
- **No active event** — a graceful empty state ("No active event right now.
Check back soon!").
@@ -164,8 +170,18 @@ differently:
- they have **no material requirement** (the pending-material notice never
applies to them).
A **service slot with no session behind it** (an orphan left over from an
earlier feed or a manual edit) is **hidden entirely** by `groupAgenda`, exactly
like an empty talk slot. Without this it would render as a header-only card
while every real service card shows a header **plus** its session row — the
inconsistency the attendee reported. The rule lives in the grouping layer, so
the agenda list, its slot count, and Home's Now/Next cards all agree.
- **Tap a session** → opens a bottom **sheet** with details (description,
speakers, room, capacity, checked-in state) and actions:
speakers, room, capacity, checked-in state) and actions. The subtitle shows
**time · room**, prefixed with the **slot name only when it adds
information** — auto-named talk slots ("Slot 10:15–11:00") and service slots
named like their session are not repeated:
- **Give feedback ⭐** — only when the session is *done* **and** the user is
checked in. Opens the Feedback takeover (`openFeedback(sessionId)`).
- **Speaker feedback review** — when the user is a **speaker** of the session