Files
Convivo/docs/releases/2026-10-18.md
T
0f3720d48a docs: record attendee feedback-polish deployment (a81ec4b, attendee-only)
Live bundle index-DRSsD1hj.js / index-4X1LaDjo.css byte-identical to a clean
local build of a81ec4b; previous index-CRttiV1E.js now 404. Drift guard passed
against the 6d375d0 baseline, backup + rollback tag
convivo-app:rollback-fbpolish-a81ec4b-20261018T162520Z, only convivo-app
recreated, unrelated containers unchanged, 45/45 mocked checks vs production.

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]>
2026-10-18 18:27:49 +02:00

5.3 KiB

Attendee Feedback Polish (2026-10-18)

Three fixes requested by Sabrina after hands-on testing of convivo.appe.at. All presentation-layer (attendee app only) — no migration, no RPC, no admin or sidecar change.

1. Session description collapsed into one block

Symptom. The session detail sheet rendered multi-paragraph descriptions as a single unreadable wall of text.

Root cause. The feed carries real line breaks: the sidecar passes Sessionize s.description through untouched (apps/sidecar/src/server.js), so the DB holds \n / \n\n (19 of the 33 seeded local sessions are multi-line). The sheet's description <div> used a plain inline style, and default CSS collapses newlines into spaces.

Fix. New .sd-desc class (apps/convivo/src/styles.css): white-space: pre-line; line-height: 1.55; overflow-wrap: anywhere, applied to the #sd-desc block in apps/convivo/src/components/SessionDetail.tsx. The AI feedback summary got the same treatment via .feedback-review .fr-text. No markdown parser added — the feed is plain text.

2. "Your session feedback" shown on service sessions

Symptom. Staff opened a Break/Lunch card and saw the speaker feedback review ("⭐ Your session feedback", stars, AI summary) — nonsense on a break.

Root cause. _assign_service_session_speakers links every staff registration as a speaker of every service slot (by design, so service sessions have a speaker set). SessionDetail showed the review whenever isSpeaker && status === 'done', so any staff member hit it on every finished service card. Attendees can't check in to service sessions, so the "You weren't checked in" note was equally noise there.

Fix. const showFeedback = !isService; in SessionDetail.tsx; all three feedback surfaces (review block, Give feedback ⭐ button, "not checked in" note) are gated on it. The sheet itself stays — service cards remain openable (title, time, room, "No pick needed for this slot.").

3. "🎬 Demo clock" badge removed from Home

The simulated clock (use_realtime_clock = false, the default) is an internal demo aid; attendees were never meant to see it. The badge is gone from the Home header (apps/convivo/src/screens/Home.tsx, clockMode dropped from the useEvent() destructure — noUnusedLocals requires it). useEvent() still exposes clockMode; the admin Events toggle is unchanged.

Already fixed before this round (no code change)

  • Pick → detail instead of routing to Agenda and duplicated "Slot" time — shipped in ef0446d, live since the 2026-10-16 deploy.
  • Filters keep service sessions — on purpose (confirmed with the user): Level/Area filters apply to talks; service slots always show. Documented in screens.md.
  • "No picks" text next to existing picks — shipped in 999527b, live since 2026-10-17 (verified present in the served bundle index-CRttiV1E.js). The screenshot predates that deploy; index.html is served no-cache and there is no service worker, so a reload picks it up.

Verification

  • convivo-admin-entry.spec.ts: three new API-mocked cases — service session detail shows no feedback UI for a staff speaker, keeps the paragraph breaks of a multi-line description (asserts white-space: pre-line, exact textContent newlines preserved, and that the block renders taller than the same text with collapsed whitespace — toHaveText normalises whitespace and would pass trivially), and a no-"Demo clock"-badge assertion appended to each existing demo-clock scenario. 45/45 against the local dev server (:3000).
  • npm run build --prefix apps/convivo clean; bundle grep confirms Demo clock absent and .sd-desc/.fr-text in the CSS.
  • Docs synced in the same commit: screens.md, app-structure.md, tests.md, next-steps.md.

Deployment (2026-10-18)

Attendee-only deploy of commit 6bde90a — three files (SessionDetail.tsx, Home.tsx, styles.css). No migration, no admin/sidecar/DB change, no data touched.

  • Drift guard: all three prod files matched the 1e3c969 baseline exactly (caecaf06…, 15f5059f…, 5b2f531a…) → whole-file copy from HEAD was safe; applied files matched 6bde90a (1e03aa2e…, a46cb004…, 88ff0b55…).
  • Backup /home/APPE/convivo-backups/fbpolish-6bde90a-20261018T162520Z (baseline source, payload, before/after sha, container inventory, build log) + rollback tag convivo-app:rollback-fbpolish-6bde90a-20261018T162520Z.
  • Build-before-up; only convivo-app recreated (new container 48d7c1c024b5). UNRELATED_CONTAINERS_UNCHANGED — admin, sidecar and every supabase_* container kept their IDs. nginx -t ok; both apps HTTPS 200.
  • Live bundle index-DRSsD1hj.js / index-4X1LaDjo.css — byte-identical to a clean local build of 6bde90a (sha256 07723429… / 82324185…), proving a faithful production build. The previous bundle index-CRttiV1E.js now 404s. Note: assets are served gzip'd by nginx, so compare with curl --compressed.
  • Markers: .sd-desc and .fr-text present in the served CSS, Demo clock absent from the served JS, give-feedback still present (non-service path).
  • 45/45 mocked Playwright checks against https://convivo.appe.at.