buzz icon indicating copy to clipboard operation
buzz copied to clipboard

fix(desktop): switch to existing community on buzz://connect deep links

Open dophsquare opened this issue 4 months ago • 0 comments

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 localhost vs 127.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

dophsquare avatar Jul 23 '26 18:07 dophsquare