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

+6 -1
View File
@@ -275,9 +275,14 @@ export function Home({ go, onEventFeedback, openFeedback }: { go: (tab: string)
<button
key={s.id}
className="pick-chip"
data-testid={`pending-material-${s.id}`}
onClick={() => {
// Open this session's detail sheet directly — the same sheet
// "My picks today" opens — instead of dropping the speaker on
// the Agenda and making them hunt for the very talk they were
// just told about. The detail sheet carries the upload form.
setMaterialSheetOpen(false);
go('agenda');
setSelected(s);
}}
>
<span className="t">{slot ? fmtRange(slot) : ''}</span>