Files
Convivo/docs/releases/2026-10-16.md
T
84d39224ba 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]>
2026-10-16 16:11:12 +02:00

61 lines
2.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Attendee Agenda Polish (2026-10-16)
Three presentation-only fixes to the attendee app (Convivo), all local-first
and deployed together as an attendee-only rebuild (no migrations, no sidecar,
no admin changes).
## 1. Service Session card consistency
**Symptom:** some Service Session agenda cards rendered a header plus a detail
row, while one (11:15–12:00) rendered header-only.
**Root cause:** an orphan service slot — a `slots` row typed
`service_session` with no `sessions` row behind it (a leftover from an earlier
feed state or manual edit). `get_agenda` LEFT JOINs sessions onto slots, so
the orphan arrives as a row with slot fields and a null session; the Agenda
rendered the header with zero session rows. Nothing referenced the slot
(0 preferences / check-ins / feedback).
**Fix:** `groupAgenda` (`apps/convivo/src/lib/api.ts`) drops service slots
with no sessions, mirroring the existing rule that hides empty talk slots.
Placed in the grouping layer so the agenda list, its displayed slot count, and
Home's Now/Next cards all agree. Presentation-only — no data was deleted.
## 2. Home picks open the session detail in place
**Request:** tapping a pick under "My picks today" routed to the Agenda tab;
it should open the session's details directly.
**Fix:** the Agenda's session bottom sheet was extracted verbatim into a
shared component `apps/convivo/src/components/SessionDetail.tsx` (title,
time/room subtitle, description, speaker/level/area/capacity/checked-in pills,
pick / "Remove my pick", speaker material upload/download/remove, speaker
feedback review, Give-feedback entry). Home's pick chips now open it over
Home; the Agenda renders the same component (~100 lines of duplicated markup
removed). `App.tsx` passes `openFeedback` into Home so feedback works from the
Home sheet too. The "tap to change" link to the Agenda remains.
## 3. Session detail subtitle no longer repeats the time
**Symptom:** the sheet subtitle showed the time twice, e.g.
"Slot 10:15–11:00 · 10:15–11:00 · Room A".
**Root cause:** talk slots are auto-named `Slot <start>–<end>`, and the
subtitle rendered `{slot.name} · {range} · {room}`.
**Fix:** the slot name is shown only when it adds information — skipped when
it equals the auto-generated `Slot <range>` or repeats the session title
(common for services like "Lunch").
## Verification
- `convivo-admin-entry.spec.ts` (API-mocked): **41/41** green, including the
new orphan-service-slot test and the new "Home session picks" test (sheet
opens over Home, tab stays active, exact subtitle `10:15–11:00 · Room A`,
close returns to the pick list).
- `speaker-portal.spec.ts`: 19/19 green (regression).
- Attendee production build clean.
- Docs synced: `docs/frontend/screens.md`, `docs/frontend/app-structure.md`
(new "Session detail" section), `docs/backend/tests.md` ("Agenda
Consistency + Home Picks Regression").