feat(convivo): pending-material chip opens the session detail directly

Tapping a session in the red-clip popup only did go('agenda'), leaving the
speaker to hunt for the talk the popup had just named. It now opens the same
SessionDetail sheet "My picks today" uses -- the upload form is inside it, so
one tap reaches the action.

CONV-MATERIAL-005 provisions its own speaker fixture (the old demo speaker died
with the pretix-import reseed), drives the real QR login, and asserts the
upload notice is visible with the home tab still active; mutation-checked by
restoring go('agenda') -- the test fails on the old behavior.

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-19 21:40:56 +02:00
1 parent 23af4f3930
commit 9cd2f0b957
4 files changed
+93 -4

No files matched your search

+5 -1
View File
@@ -100,7 +100,11 @@ The landing screen. Shows:
- **Greeting + pills** — "Good morning, Ana 👋" and, to the right, a **red
material pill** `📎 {n}` (only for speakers who have one or more of their
**non-service** sessions without material — tapping it opens a popup listing
the pending sessions) and the **points pill** `⚡ {points}` (tapping opens the
the pending sessions; **tapping a session in that popup opens its detail sheet
directly**, the same one "My picks today" opens, *not* the Agenda tab — the
detail sheet is where the upload control lives, so the speaker lands on the
thing they can act on, not on a list they must search) and the **points pill**
`⚡ {points}` (tapping opens the
Leaderboard). The event name (`event.name`) is shown under the greeting.
- **Pending-feedback pill** — a full-width **"⭐ Rate your last session"** (or
"Rate N sessions") button, shown only when the user is checked into one or more
+20
View File
@@ -639,3 +639,23 @@ transform — JS owns the final coordinates. All 6 call sites benefit.
answering with an array silently drops the app to the login screen, which
looks exactly like a broken tooltip.
- Full serial e2e: **211 passed, 0 failed.**
## Speaker flow: pending-material chip now opens the session itself
The red 📎 pill opened its popup, but tapping a session in it only did
`go('agenda')` — dropping the speaker on the Agenda list to hunt for the very
talk the popup had just named. It now sets `selected` and opens the same
`SessionDetail` sheet "My picks today" already uses; the upload form lives in
that sheet, so one tap reaches the action.
- `CONV-MATERIAL-005` (in `speaker-material.spec.ts`) drives the real backend:
provisions its own speaker on a real session without material, logs in through
the QR flow, clicks 📎 -> the session -> asserts `material-upload-notice` +
`material-upload` are visible and the **home tab is still active** (proving it
did not navigate away). **Validated by mutation: putting `go('agenda')` back
makes the test fail.**
- It is deliberately **self-contained** — the §27/§28 demo speaker
(`duncanboyne@hotmail.co.uk`) belongs to the old seed and no longer exists
since the pretix import, so the rest of that spec family only passes when an
earlier spec happens to provision the seed; the fixture-provisioning pattern
from `checkin-points.spec.ts` is the one that survives data changes.