User Invite Modal
Component Detail
User Interface
medium complexity
frontend
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Modal dialog for inviting new peer mentors or coordinators by email. Captures initial role, local association context, and sends a tokenized invitation email via the notification infrastructure. Validates email uniqueness within the organization scope before submission.
user-invite-modal
Responsibilities
- Collect invitee email, initial role, and local association
- Validate email format and uniqueness within org scope
- Submit invitation request and display confirmation or error state
Interfaces
open(orgId: string): void
onSubmit(invite: UserInviteRequest): Promise<void>
onClose(): void