dify/web/app/components/header/account-setting/members-page/invite-modal
2026-08-22 23:54:08 +00:00
..
__tests__ refactor(dify-ui): simplify overlay content APIs (#41098) 2026-08-22 23:54:08 +00:00
email-recipients-field.tsx feat(dify-ui): add input group composition (#40890) 2026-08-18 02:14:39 +00:00
email-recipients.ts fix: align member invitation flow and API contracts (#38856) 2026-07-13 15:16:23 +00:00
index.tsx refactor(dify-ui): compose dialog close controls (#41064) 2026-08-21 10:21:43 +00:00
invite-error.ts fix: align member invitation state and errors (#38885) 2026-07-14 03:05:44 +00:00
README.md docs(web): consolidate maintainer guidance (#40758) 2026-08-14 03:40:05 +00:00
role-selector.tsx refactor(dify-ui): simplify overlay content APIs (#41098) 2026-08-22 23:54:08 +00:00

Member Invitations

This module owns the workspace member invitation form: recipient composition, role selection, field and form errors, request state, and the successful invitation result.

Base UI Form owns registration, validation, external field errors, and invalid-field focus. TanStack Query owns feature and role queries, the invitation mutation, and cache invalidation. Seat availability comes from consoleQuery.features.get; the feature does not mirror it in local or provider state.

InviteForm owns the email draft, parsed recipients, and current submission error. Colocated presentation components may own their transient interaction state; dialog visibility remains caller-owned.