Files
Convivo/docs/releases/2026-10-16.md
T

4.3 KiB
Raw Blame History

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").

Deployment (2026-10-16)

Attendee-only deploy of commit ef0446d (no migrations, no admin/sidecar/DB changes). The production attendee source is older than the repository (it predates the Networking quick-action, getTalkCohort and the composite accept_connection contract), so whole-file copies were not safe for App.tsx, api.ts and Home.tsx: the deploy applied a scoped overlay — the fetched production baseline plus exactly the three fixes above — while Agenda.tsx (byte-identical baseline) and the new SessionDetail.tsx copied whole. The overlay was built and verified locally first: faithful production build (npm ci + build, bundle index-G1Q9cL31.js) and 41/41 mocked browser tests against it.

  • Backup /home/APPE/convivo-backups/appfix-ef0446d-20261016T142042Z (runtime source baseline, sha256 drift-guard check, payload, container inventory) + rollback tag convivo-app:rollback-appfix-ef0446d-….
  • Drift guard passed against the pristine fetched baseline before overlaying.
  • Live production bundle index-G1Q9cL31.js (identical to the locally tested staging build) contains the feature markers and none of the repo-only features absent from production (get_talk_cohort, Networking quick action).
  • nginx -t ok; attendee + admin HTTP/HTTPS 200; only convivo-app recreated; all unrelated container IDs preserved.
  • 41/41 mocked browser tests pass against https://convivo.appe.at.