Skip to content

feat: general invite link per stack + remove member - #161

Open
brendaasfjnso wants to merge 1 commit into
developmentfrom
feat/general-invite
Open

feat: general invite link per stack + remove member#161
brendaasfjnso wants to merge 1 commit into
developmentfrom
feat/general-invite

Conversation

@brendaasfjnso

Copy link
Copy Markdown

Summary

  • General invite link: Stack creation modal now shows ONE shareable invite link instead of N-1 individual links. Anyone with the link can join — the backend serves available nonces from a new /api/stacks/invite/claim endpoint.
  • Remove member button: Stack page now shows a "Remove" button beside each member (owner only, pre-launch stacks). Triggers a confirmation modal warning that removal decommissions the stack.
  • Updated UX copy: Highlights that the link can invite any member and that users can manage/remove members before launching.

Changed files

  • src/components/modal/modals/stack-result.tsx — Single invite link generation + updated copy
  • src/app/api/stacks/invite/claim/route.ts — New API to claim available nonce for general links
  • src/app/stacks/join/_components/accept-invite.tsx — Handles general links without nonce/signature
  • src/app/stacks/join/page.tsx — Detects general vs direct invite links
  • src/app/stacks/[id]/_components/members-info.tsx — Remove button per member
  • src/app/stacks/[id]/_components/members.tsx — General invite link display + isOwner prop
  • src/components/modal/modals/remove-member-warning.tsx — Confirmation modal for removal
  • src/components/modal/context.tsx + presenter.tsx — REMOVE_MEMBER_WARNING modal type

Test plan

  • Create a new stack and verify ONE invite link appears in the success modal
  • Copy the general invite link and open it in another browser/wallet — verify it claims a nonce and allows joining
  • Visit the stack page as owner and verify the invite link is shown in the members section
  • Verify "Remove" button appears beside non-owner members when stack is pending-start
  • Click Remove and verify the confirmation modal appears with decommission warning
  • Verify old direct invite links (with nonce/signature) still work for backwards compatibility

🤖 Generated with Claude Code

…nk per stack

- Stack creation modal now shows ONE shareable invite link instead of N-1 individual links
- New /api/stacks/invite/claim endpoint serves available nonces to general link visitors
- Join page handles general links (no nonce/signature in URL) by claiming from API
- Added "Remove" button beside each member on the stack page (owner only, pre-launch)
- Remove triggers decommission with a confirmation warning modal
- Updated UX copy to highlight link sharing and member management before launch

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify

netlify Bot commented Jul 21, 2026

Copy link
Copy Markdown

Deploy Preview for app-stacks ready!

Name Link
🔨 Latest commit e836eee
🔍 Latest deploy log https://app.netlify.com/projects/app-stacks/deploys/6a5f2c0f1d8b4f0009484268
😎 Deploy Preview https://deploy-preview-161--app-stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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