feat(desktop): first-run onboarding flow + Lilac accent#386
Merged
Conversation
Blocks the shell behind a two-page wizard (profile + notifications/ACP) until a fresh identity has a display name and a recorded completion flag. Finishing the wizard best-effort auto-joins the #general channel so new users land with at least one stream populated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Collaborator
Author
…ntity logic The onboarding PR refactored toRawChannel's is_member check to use the dynamic current pubkey instead of hardcoded dual-pubkey matching, but the DM channel mock data still used DEFAULT_REAL_IDENTITY.pubkey as a member. In mock mode the current user is MOCK_IDENTITY_PUBKEY, so DMs showed is_member: false and disappeared from the sidebar. Also restores the original feed item IDs that existing smoke tests assert against. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
sprout-onboarding-complete.v1localStorage flag.#general(best-effort; silent if no such channel exists on the relay).#c0a2f1) to the theme accent palette.Test plan
pnpm check— biome + file-sizepnpm tsc --noEmitpnpm buildpnpm playwright test tests/e2e/onboarding.spec.ts --project=integration— 8/8 pass (including fresh-user auto-join of#generaland the avatar URL path rendering at 80×80)pnpm playwright test --project=integration— no regressions in the broader suite (2 relay-seed env failures are unrelated and preexisting locally)#generalin the sidebar🤖 Generated with Claude Code