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 (84d3922, 2aa2b89) and that this change is not yet
deployed.

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]>
This commit is contained in:
committed 2026-10-18 18:20:16 +02:00
1 parent 6d375d0413
commit a81ec4b787
9 files changed
+217 -27

No files matched your search

+15 -5
View File
@@ -173,7 +173,12 @@ differently:
- the **🎤 mic emoji is never shown** (neither the "🎤 you" tag nor the mic in
the speaker pill) — service sessions have no individual speaker;
- they have **no material requirement** (the pending-material notice never
applies to them).
applies to them);
- they have **no feedback UI of any kind** — neither "Give feedback ⭐" nor the
speaker's "⭐ Your session feedback" review nor the "You weren't checked in"
note. Attendees cannot check in to a service session, and **every staff
member is auto-assigned as its speaker**, so without this guard staff would
see a feedback review block on a break/lunch card.
A **service slot with no session behind it** (an orphan left over from an
earlier feed or a manual edit) is **hidden entirely** by `groupAgenda`, exactly
@@ -186,11 +191,16 @@ the agenda list, its slot count, and Home's Now/Next cards all agree.
speakers, room, capacity, checked-in state) and actions. The subtitle shows
**time · room**, prefixed with the **slot name only when it adds
information** — auto-named talk slots ("Slot 10:15–11:00") and service slots
named like their session are not repeated:
named like their session are not repeated. The **description keeps the line
breaks** carried by the Sessionize/Excel feed (`.sd-desc` uses
`white-space: pre-line`), so multi-paragraph text stays readable instead of
collapsing into one block:
- **Give feedback ⭐** — only when the session is *done* **and** the user is
checked in. Opens the Feedback takeover (`openFeedback(sessionId)`).
- **Speaker feedback review** — when the user is a **speaker** of the session
**and** the session is *done*, a **"⭐ Your session feedback"** block shows the
checked in **and** it is not a service session. Opens the Feedback takeover
(`openFeedback(sessionId)`).
- **Speaker feedback review** — when the user is a **speaker** of a
**non-service** session **and** the session is *done*, a **"⭐ Your session
feedback"** block shows the
session's **average rating** (stars + number) and the **AI-generated summary**
(`ai_generated_feedback`). It is **never shown while the session is still
running** — only after it's over.