Skip to content

refactor(invite): centralize invite path helpers and fix bare-path query parsing#563

Open
0xB19 wants to merge 2 commits intodevfrom
chore/centralize-invite-url-helpers
Open

refactor(invite): centralize invite path helpers and fix bare-path query parsing#563
0xB19 wants to merge 2 commits intodevfrom
chore/centralize-invite-url-helpers

Conversation

@0xB19
Copy link
Copy Markdown
Collaborator

@0xB19 0xB19 commented Apr 2, 2026

No description provided.

…ery parsing

- Add buildInvitePath and toGossipInviteHref in inviteUrl.ts
- Export invite utilities from utils/invite barrel
- Strip ?query from bare /invite/ paths in extractInvitePath so parseInvite works with ?name=
- Add tryParseInvite and use it in AppUrlListener with explicit error log
- Extend unit tests for new helpers and parseInvite edge case
@0xB19 0xB19 force-pushed the chore/centralize-invite-url-helpers branch from 69fc746 to ca65314 Compare April 2, 2026 11:25
Use importOriginal so buildInvitePath/toGossipInviteHref remain available
to utils/invite re-exports; only stub generateDeepLinkUrl for stable URLs.
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