Summary
FormDetailPage currently displays the attached entity (event/announcement/group) and offers a Detach action, but there's no UI to attach a form to an entity if it's currently unattached. v1 ships with admins setting entityType/entityId via the API.
Requirements
Context
Plan 4 noted this as deferred. Now that forms ship, the API path works but admins need the UI to use it.
Files
apps/admin/src/pages/forms/FormDetailPage.tsx (Identity tab)
- New helper:
apps/admin/src/hooks/useArtifactPicker.ts (consumes /admin/events, /admin/announcements, /admin/groups for typeahead)
Summary
FormDetailPagecurrently displays the attached entity (event/announcement/group) and offers a Detach action, but there's no UI to attach a form to an entity if it's currently unattached. v1 ships with admins settingentityType/entityIdvia the API.Requirements
/admin/forms/:idwith{ entityType, entityId }group, surface a warning when attaching to a non-group entityContext
Plan 4 noted this as deferred. Now that forms ship, the API path works but admins need the UI to use it.
Files
apps/admin/src/pages/forms/FormDetailPage.tsx(Identity tab)apps/admin/src/hooks/useArtifactPicker.ts(consumes /admin/events, /admin/announcements, /admin/groups for typeahead)