mirror of
https://github.com/langgenius/dify.git
synced 2026-09-05 08:48:10 +08:00
| .. | ||
| __tests__ | ||
| email-recipients-field.tsx | ||
| email-recipients.ts | ||
| index.tsx | ||
| invite-error.ts | ||
| README.md | ||
| role-selector.tsx | ||
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.