fix(home): hide the 'No pick yet' nudge once the user has any pick
The Now/Next cards fall back to a concurrent-session list when the user has no pick for that specific slot, and always appended a 'No pick yet — tap a session in the Agenda to choose.' hint. With picks on other slots this contradicted the 'My picks today' list right below (screenshot). ConcurrentList now takes hasPicks and renders the hint only while the user has no picks at all. e2e: two new 'Home session picks' cases (hint hidden with a pick on the other slot; still shown with none, asserted per card). 43/43 local. Docs: screens.md nudge rule, tests.md regression note.
This commit is contained in:
1 parent
7733af7625
commit
999527b188
4 files changed
+63
-8
No files matched your search
@@ -194,6 +194,10 @@ CONVIVO_BASE_URL=http://127.0.0.1:3000 npm test --prefix e2e -- convivo-admin-en
|
||||
level pill, and the "Remove my pick" control) and leaves the active tab on
|
||||
Home; closing the sheet returns to the pick list. This replaces the old
|
||||
behavior of routing to the Agenda tab.
|
||||
- **Pick nudge suppression** — with a pick on the *other* slot, the Now card's
|
||||
concurrent list must **not** show "No pick yet — tap a session in the Agenda
|
||||
to choose."; with no picks at all the nudge is still shown. Asserted per card
|
||||
(`.now-card`), since Now and Next each render their own copy.
|
||||
|
||||
# Session Persistence Regression
|
||||
|
||||
|
||||
@@ -114,8 +114,13 @@ The landing screen. Shows:
|
||||
running** — one clean sub-section per concurrent session (title + room +
|
||||
speaker), so a slot with 1, 2, or 3 sessions renders 1, 2, or 3 sub-sections.
|
||||
If the slot has no sessions at all, a "Nothing scheduled right now." line.
|
||||
Under the concurrent list a "No pick yet — tap a session in the Agenda to
|
||||
choose." nudge appears **only while the user has no picks at all**; once they
|
||||
have any pick it is hidden, because it would contradict the "My picks today"
|
||||
list below.
|
||||
- **Next card** — **always shown** for the next slot (same pick / concurrent-list
|
||||
logic as the Now card, without the check-in pill).
|
||||
logic as the Now card, without the check-in pill, and with the same nudge
|
||||
rule).
|
||||
- **My picks today** — one row per pick the user has made **today** (in slot
|
||||
order), each showing the slot time + session title + room. Tapping a row
|
||||
opens the **same session detail sheet the Agenda shows** (description,
|
||||
|
||||
Reference in new issue
Block a user