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:
1 parent
1e3c969365
commit
6bde90aac1
9 files changed
+217
-27
No files matched your search
+15
-1
@@ -177,7 +177,7 @@ 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:
|
||||
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'
|
||||
@@ -198,6 +198,20 @@ CONVIVO_BASE_URL=http://127.0.0.1:3000 npm test --prefix e2e -- convivo-admin-en
|
||||
concurrent list must **not** show "No pick yet — tap a session in the Agenda
|
||||
to choose."; with no picks at all the nudge is still shown. Asserted per card
|
||||
(`.now-card`), since Now and Next each render their own copy.
|
||||
- **Service session feedback suppression** — a staff contact who is an assigned
|
||||
speaker of a finished service slot opens its sheet and must see **no** "Your
|
||||
session feedback" block, **no** `give-feedback` button and **no** "You weren't
|
||||
checked in" note (the sheet still shows the title and "No pick needed for this
|
||||
slot.").
|
||||
- **Multi-line description** — a `get_agenda` description containing `\n\n`
|
||||
renders in `#sd-desc` with `white-space: pre-line`; the raw newlines stay in
|
||||
the DOM and the block measures taller than the same text with collapsed
|
||||
whitespace.
|
||||
- **No demo-clock badge** — each "Event demo clock" scenario also opens Home and
|
||||
asserts "Demo clock" is absent, in both simulated and real-time mode.
|
||||
|
||||
The last three cases come from the 2026-10-18 feedback polish; see the
|
||||
[release record](../releases/2026-10-18.md).
|
||||
|
||||
# Session Persistence Regression
|
||||
|
||||
|
||||
Reference in new issue
Block a user