buzz
buzz copied to clipboard
fix(desktop): switch to existing community on buzz://connect deep links
Summary
- Handle
buzz://connect?relay=…by switching to an already-configured community instead of restarting onboarding - Match relay URLs canonically (case, trailing slash, and loopback host spellings like
localhostvs127.0.0.1) - Clear stale connect onboarding transactions so profile setup is not shown again for existing communities
Test plan
- [x]
pnpm test -- src/features/communities/communityStorage.test.mjs - [x]
pnpm test -- src/features/onboarding/communityOnboarding.test.mjs - [x]
./desktop/src-tauri/target/debug/buzz-desktop 'buzz://connect?relay=ws%3A%2F%2Flocalhost%3A3000'switches to the configured local community without profile onboarding - [x]
pnpm exec playwright test tests/e2e/deep-link-invite.spec.ts -g "connect deep link switches"
Made with Cursor