feat: group invitation flow with shareable links#85
Open
opensecretsauce wants to merge 2 commits intosorosave-protocol:mainfrom
Open
feat: group invitation flow with shareable links#85opensecretsauce wants to merge 2 commits intosorosave-protocol:mainfrom
opensecretsauce wants to merge 2 commits intosorosave-protocol:mainfrom
Conversation
- Add WalletAdapter interface (src/lib/wallets/index.ts) - Add FreighterAdapter, xBullAdapter, AlbedoAdapter - Refactor providers.tsx to support multiple wallets + localStorage persistence - Update ConnectWallet.tsx with wallet selection modal - Create src/lib/sdk.ts as local stub for @sorosave/sdk - Create src/lib/wallet.ts with multi-wallet signTransaction routing - Fix all @sorosave/sdk missing module errors — build passes clean
- InviteButton component: copy-to-clipboard + Web Share API fallback - Invite code: base64 encoded groupId:name (no server needed) - /invite/[code] landing page with group details + join CTA - States: loading, wallet not connected, already member, group full, success - Auto-redirect to group page on successful join - Full dark mode support
Author
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.
Closes #48
Changes
InviteButtoncomponent — generates base64-encoded invite URL, copy-to-clipboard with checkmark feedback, Web Share API on mobile/invite/[code]landing page — decodes invite, shows group details (contribution, cycle, spots left), handles all states:Build
pnpm build✅ — /invite/[code] renders as dynamic route