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:
1 parent
6d375d0413
commit
a81ec4b787
9 files changed
+217
-27
No files matched your search
@@ -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).
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user