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:
1 parent
3d4dc207ff
commit
ef0446dcdf
10 files changed
+442
-177
No files matched your search
@@ -175,6 +175,26 @@ retained no-pick/no-upload service behavior even for an assigned staff speaker.
|
||||
A separate case checks exact date/time matching and keeps unrelated services
|
||||
separate. See the [deployment record](../releases/2026-10-11.md).
|
||||
|
||||
# Agenda Consistency + Home Picks Regression
|
||||
|
||||
Two further API-mocked checks run in the same spec:
|
||||
|
||||
```sh
|
||||
CONVIVO_BASE_URL=http://127.0.0.1:3000 npm test --prefix e2e -- convivo-admin-entry.spec.ts --project=chromium --grep 'Service agenda|Home session picks'
|
||||
```
|
||||
|
||||
- **Orphan service slot** — a `get_agenda` row whose slot is a
|
||||
`service_session` with a null session (the LEFT JOIN shape a slot with no
|
||||
session row produces) must render **no card at all**, so every service card
|
||||
consistently shows a header plus its session row. The rule lives in
|
||||
`groupAgenda`, so the list, the displayed slot count and Home's Now/Next all
|
||||
agree.
|
||||
- **Home session picks** — tapping a "My picks today" chip opens the shared
|
||||
`SessionDetail` sheet **over Home** (title, description, time/room/speaker,
|
||||
level pill, and the "Remove my pick" control) and leaves the active tab on
|
||||
Home; closing the sheet returns to the pick list. This replaces the old
|
||||
behavior of routing to the Agenda tab.
|
||||
|
||||
# Session Persistence Regression
|
||||
|
||||
Run the rollback-only fixture after applying
|
||||
|
||||
Reference in new issue
Block a user