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. 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:
1 parent
25df5b3abc
commit
2aa2b894e4
4 files changed
+63
-8
No files matched your search
@@ -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