Skip to content

fix(home): make first-run feed peek reachable#295

Merged
KishParikh13 merged 1 commit into
v2from
fix/home-first-run-peek-reachable
May 28, 2026
Merged

fix(home): make first-run feed peek reachable#295
KishParikh13 merged 1 commit into
v2from
fix/home-first-run-peek-reachable

Conversation

@KishParikh13

Copy link
Copy Markdown
Collaborator

Follow-up to #294.

The first-run overview gated isNewUser on boardPeek.length === 0, but the overview's "Latest on your board" peek only renders when posts exist. Net result: the peek was dead code — the instant a post existed, isNewUser went false and the whole overview disappeared (showing the normal home's boards section instead).

Fix: define "new user" by discovery state — hasn't joined an event yet (signedUpEvents.length === 0), independent of posts. Now a member with no joined events sees the tour + their center + a live peek of their board, and it self-resolves once they RSVP. Members with joined events keep the normal home (which has its own #293 boards peek).

Verification: seeded a post on the local center board (local D1, --local — no prod/preview writes) and confirmed the peek renders inside the overview. npm run test:frontend → 187 pass.

🤖 Generated with Claude Code

The first-run overview (#294) gated on `boardPeek.length === 0`, but the
overview's "Latest on your board" peek renders only when posts exist — so the
peek could never show: the moment a post existed, isNewUser flipped false and
the overview disappeared.

Base "new user" on discovery state instead: hasn't joined an event yet
(`signedUpEvents.length === 0`), independent of posts. Now a member who has
joined no events still sees the tour + their center + a live peek of their
board's activity, and it self-resolves once they RSVP. Returning members with
joined events keep the normal home (which carries its own #293 boards peek).

Verified on web: seeded a post on the local center board and confirmed the
peek renders inside the overview. frontend tests: 187 pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@KishParikh13 KishParikh13 merged commit 02cb980 into v2 May 28, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant