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]>
48 lines
2.1 KiB
Markdown
48 lines
2.1 KiB
Markdown
# Home Pick Nudge Fix (2026-10-17)
|
|
|
|
## Symptom
|
|
|
|
On the attendee Home tab, the Next card listed the concurrent sessions and then
|
|
showed **"No pick yet — tap a session in the Agenda to choose."** even though
|
|
the user clearly had picks — the "My picks today" list directly below proved it.
|
|
|
|
## Root cause
|
|
|
|
The Now/Next cards fall back to `ConcurrentList` whenever the user has no pick
|
|
**for that specific slot**. That component unconditionally appended the
|
|
"No pick yet" hint, so a pick on any *other* slot still triggered the nudge and
|
|
contradicted the picks list.
|
|
|
|
## Fix
|
|
|
|
`ConcurrentList` (`apps/convivo/src/screens/Home.tsx`) takes a `hasPicks` prop
|
|
and renders the hint only while the user has **no picks at all**. Both call
|
|
sites pass `picks.length > 0`. Presentation-only — no data, API or schema
|
|
change.
|
|
|
|
## Verification
|
|
|
|
- `convivo-admin-entry.spec.ts`: two new "Home session picks" cases — the hint
|
|
is absent when the only pick sits on the other slot, and still present with no
|
|
picks (asserted per card, since Now and Next each render their own copy).
|
|
**43/43** locally and **43/43** against `https://convivo.appe.at`.
|
|
- Docs synced: `docs/frontend/screens.md` (nudge rule on the Now/Next cards),
|
|
`docs/backend/tests.md` (regression note).
|
|
|
|
## Deployment (2026-10-17)
|
|
|
|
Attendee-only deploy of commit `999527b` (single file `Home.tsx`; no migrations,
|
|
no admin/sidecar/DB changes). Production was at the parity baseline, so the
|
|
whole file copied cleanly.
|
|
|
|
- Drift guard: prod `Home.tsx` sha256 matched the expected `7733af7` baseline
|
|
(`b931701a…`) before applying; applied file matched HEAD (`15f5059f…`).
|
|
- Backup `/home/APPE/convivo-backups/homepicks-999527b-20261017T083729Z`
|
|
(before/after source, payload, baseline sha, container inventory) + rollback
|
|
tag `convivo-app:rollback-homepicks-999527b-20261017T083729Z`.
|
|
- Build-before-`up`; only `convivo-app` recreated. Live bundle
|
|
`index-CRttiV1E.js` — identical to the local HEAD build, proving a faithful
|
|
production build.
|
|
- `nginx -t` ok; attendee + admin HTTPS 200; admin and sidecar containers
|
|
untouched (`UNRELATED_CONTAINERS_UNCHANGED`).
|