fix(convivo): readable descriptions, no feedback UI on service sessions, no demo-clock badge

Three attendee-app polish items from hands-on testing (Sabrina). All
presentation-layer: no migration, no RPC, no admin/sidecar change.

- Session detail collapsed multi-paragraph descriptions into one block. The
  feed carries real newlines (the sidecar passes Sessionize description through
  untouched), so this was pure CSS: new .sd-desc uses white-space: pre-line.
  The AI feedback summary gets the same via .feedback-review .fr-text.
- Staff saw "Your session feedback" on Break/Lunch cards, because
  _assign_service_session_speakers makes every staff member a speaker of every
  service slot. showFeedback = !isService now gates all three feedback surfaces
  (review block, Give-feedback button, "not checked in" note). The sheet itself
  stays openable for service sessions.
- Removed the "Demo clock" badge from the Home header. The simulated clock is an
  internal demo aid; attendees were never meant to see it. useEvent() still
  exposes clockMode and the admin toggle is unchanged.

Tests: three new API-mocked cases in convivo-admin-entry.spec.ts (service
feedback suppression, multi-line description via pre-line CSS + exact textContent
+ rendered-height comparison, no demo-clock badge per clock mode). 45/45 green
against the local dev server; attendee build clean.

Docs synced: screens.md, app-structure.md, backend/tests.md, next-steps.md, plus
a release record at docs/releases/2026-10-18.md noting that items 1/3/7 of the
report were already shipped (ef0446d, 999527b) and that this change is not yet
deployed.
This commit is contained in:
Lago committed 2026-10-18 18:20:16 +02:00
1 parent 1e3c969365
commit 6bde90aac1
9 files changed
+217 -27

No files matched your search

+11 -6
View File
@@ -98,9 +98,9 @@ const clockMode: 'simulated' | 'realtime' = event?.use_realtime_clock ? 'realtim
const now = clockMode === 'simulated' && event ? demoNow(event.start_date) : new Date();
```
The Home header shows a **🎬 Demo clock** indicator only when the simulated
clock is active — when the real clock is on, nothing is shown (a real clock is
the expected state, so it needs no badge).
The simulated clock is an **internal demo aid with no UI surface**: the Home
header never advertises it (no badge in either mode). `useEvent()` still exposes
`clockMode` for the screens that need to know which clock is driving slot status.
### How "Live" / "Up next" / "Done" is decided
@@ -210,6 +210,11 @@ opens the session in place instead of routing to the Agenda). It receives the
`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.
auto-named "Slot 10:15–11:00" never repeats the time range), description
(`.sd-desc`, `white-space: pre-line` — the line breaks carried by the
Sessionize/Excel feed are preserved), 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. For a **service session** every feedback surface is
suppressed (review, Give-feedback, and the "not checked in" note) — see
[screens.md](./screens.md#agenda).