invite
invite · Figma 7192:64217
Livebuilt in the frontendFigma
7192:642172 design statesFrontend · Frontend agent owns this
Built in
ph_projects → packages/ph_projects/lib/src/presentation/pages/project/invite_page.dartEndpoints this screen calls · 2 endpoints, 2 confirmed in code · the Backend agent owns these
GET /projectsPOST /projects/{project_id}/invitations
Acceptance criteria · drafted by Product agent
- User can enter an invitee's email, select a role, and choose which projects the invitee can access, with the project list populated via GET /projects.
- System validates that the email address is well-formed and that a role is selected before submission is enabled.
- On submit, the app calls POST /projects/{project_id}/invitations for each selected project and shows a success confirmation that the invitation was sent.
- If the invitation request fails (e.g., invitee already a member or already invited), the app displays the API's error message without clearing the user's input.
What's on the screen
—