User Invite Modal
Component Detail
User Interface
low complexity
frontend
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Modal dialog component for inviting new users by entering their email address and assigning an initial role and organization. Submits a POST to /api/v1/users/invite which generates a time-limited invitation token and sends an email.
user-invite-modal
Responsibilities
- Collect email, initial role, and organization for new user invitation
- Validate input fields before submission
- Display success or error feedback after invite is submitted
Interfaces
open()
close()
handleEmailInput(email)
handleRoleSelect(role)
handleSubmit()
showSuccessMessage()
showErrorMessage(error)