User Edit Dialog
Component Detail
User Interface
low complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Modal dialog for updating an existing user's profile fields (name, email) within the admin's organization. Loads current values on open and submits a PATCH request on save, reflecting corrections without requiring Norse staff involvement.
user-edit-dialog
Sources & reasoning
The feature description explicitly states org admins must be able to correct data errors without external help, requiring a dedicated edit dialog separate from the deactivation flow.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Load and pre-populate existing user data for editing
- Validate and submit updated user fields
- Surface API validation errors inline on fields
Interfaces
open(userId: string): Promise<void>
save(userId: string, patch: Partial<User>): Promise<void>
close(): void