refactor(site): demui create template gallery and form - #27788
Conversation
Migrate the create template gallery page and create template form off MUI and Emotion onto Tailwind and shared form/link primitives (`FormField`, `Textarea`, `Link`).
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 27b728b42b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <FormField | ||
| field={getFieldHelpers("name")} | ||
| label="Name" | ||
| disabled={isSubmitting} | ||
| onChange={onChangeTrimmed(form)} | ||
| fullWidth | ||
| required | ||
| label="Name" | ||
| className="w-full" | ||
| /> |
There was a problem hiding this comment.
Add interaction coverage for the migrated form fields
This replaces the name control with a new form primitive, but CreateTemplateForm.stories.tsx is unchanged and none of its existing play functions type into or validate these fields. A regression in the new FormField event or error wiring therefore has no interaction coverage; add a story whose play function enters values and exercises validation or submission.
AGENTS.md reference: site/AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
Migrate the create template gallery page and create template form off MUI and Emotion onto Tailwind and shared form/link primitives (
FormField,Textarea,Link).