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 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
8e38052f4c
commit
84d39224ba
10 files changed
+442
-177
No files matched your search
@@ -186,8 +186,8 @@ The `Shell` is the navigation container. Render logic, in order:
|
||||
- **Leaderboard** is *not* a tab — it's reached from the Home points pill and the
|
||||
Home quick-actions. It renders as a tab in the shell but is opened via
|
||||
`go('leaderboard')`.
|
||||
- **Feedback** is a full-screen takeover (no tab bar), opened from the Agenda
|
||||
session sheet via `openFeedback(sessionId)`.
|
||||
- **Feedback** is a full-screen takeover (no tab bar), opened from the session
|
||||
detail sheet (Agenda list or Home picks) via `openFeedback(sessionId)`.
|
||||
|
||||
## Shared UI components (`components/ui.tsx`)
|
||||
|
||||
@@ -199,3 +199,17 @@ The `Shell` is the navigation container. Render logic, in order:
|
||||
| `Sheet` | Bottom-sheet modal (backdrop + grab handle) |
|
||||
| `QrImage` | Renders a string (e.g. a QR token) as a scannable QR (`qrcode.react`) |
|
||||
| `Scanner` | Camera QR scanner (`html5-qrcode`) with a **manual-entry fallback** and a `hasCamera` guard (headless/no-camera environments fall back to typing the code) |
|
||||
|
||||
## Session detail (`components/SessionDetail.tsx`)
|
||||
|
||||
`SessionDetail` is the **single session detail bottom sheet** shared by the
|
||||
Agenda list and Home's **My picks today** chips (so tapping a pick on Home
|
||||
opens the session in place instead of routing to the Agenda). It receives the
|
||||
`session` + its `slot` plus plain booleans (`checkedIn`, `isSpeaker`,
|
||||
`picked`) and callbacks (`onPickChanged`, `onGiveFeedback`,
|
||||
`onMaterialChanged`) — the owning screen keeps its own preference/check-in
|
||||
state and refreshes it through the callbacks. Renders: title + time/room
|
||||
subtitle (the slot name is prefixed only when it adds information, so an
|
||||
auto-named "Slot 10:15–11:00" never repeats the time range), description, speaker/level/area/capacity/checked-in pills, the speaker
|
||||
material upload notice, the speaker feedback review, the Give-feedback button,
|
||||
the pick / "No pick needed" control, and the material download/remove buttons.
|
||||
Reference in new issue
Block a user