# Group Invite Code Modal ## Focus Show invite code in a modal immediately after group creation. After closing, invite code is only accessible via future group settings. ## Goals - Display invite code once on group creation. - Avoid re-exposing invite code elsewhere in UI. - Keep UX minimal and consistent with existing navbar dropdown. ## Planned changes ### Frontend - Update `apps/web/components/navbar.tsx`: - Track `inviteCode` and `showInviteModal` state. - On successful create-group response, open modal and display invite code. - Closing modal clears invite code state. - Add copy-to-clipboard button (optional). - Add note: “You can view this later in group settings.” ### Backend - No API changes needed (create group already returns `inviteCode`). ## Files impacted - `apps/web/components/navbar.tsx` ## Status - Implemented