Work / Scrvio / Wiki / Surfaces
invite-member
Surfacecanonicalverified 2026-10-04
SURFACE.WEB.INVITE-MEMBERSummary
The Invite Team Member modal over the members list.
Raw wireframe
- .context/designs/web/workspace/invite-member.html
Why it is drawn this way
Email only. The form sends organizationId and email. There is no role field; the server defaults an invite to MEMBER.
The real error is hidden. The catch discards the server error and always toasts Failed to send invitation. An empty field toasts Email is required.
The list does not refresh. Success toasts Invitation sent to <email> and closes the modal. Unlike remove and change-role, it does not call refetch.
The note is inline. The blue box about accepting the invitation is part of the modal body, not a toast or a helper under the field.
Send is the grey button. Send Invitation uses the default variant; Cancel is outline.
Related
Sources
- apps/website/src/app/workspace/[id]/members/page.tsx
- apps/server/src/api/02-organization/org-member/org-member.service.ts
- packages/ui/src/components/ui/modal.tsx