Refactor dynamic form for accessibility and reliability #8

Open
JamesonRGrieve wants to merge 1 commit from codex/perform-comprehensive-code-review into main
JamesonRGrieve commented 2025-10-24 15:35:34 +00:00 (Migrated from github.com)

Summary

  • refactor DynamicForm around a reusable state hook, locale-aware labels, and accessible UI primitives
  • remove unused dependencies while documenting usage, release guidance, and licensing obligations
  • add a Vitest configuration with integration coverage for validation and submission flows

Testing

  • npm run test (fails: vitest binary is unavailable in the execution environment)

https://chatgpt.com/codex/tasks/task_e_68fb9249d89c832e8558fbaf208bb6e3

## Summary - refactor `DynamicForm` around a reusable state hook, locale-aware labels, and accessible UI primitives - remove unused dependencies while documenting usage, release guidance, and licensing obligations - add a Vitest configuration with integration coverage for validation and submission flows ## Testing - npm run test *(fails: vitest binary is unavailable in the execution environment)* ------ https://chatgpt.com/codex/tasks/task_e_68fb9249d89c832e8558fbaf208bb6e3
This pull request has changes conflicting with the target branch.
  • README.md
  • package.json
  • src/CheckField.tsx
  • src/DynamicForm.tsx
  • src/Field.tsx
  • src/PasswordField.tsx
  • src/RadioField.tsx
  • src/SelectField.tsx
  • src/TextField.tsx
  • src/index.ts
  • src/types.ts
  • tsconfig.json
  • vitest.config.ts
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin codex/perform-comprehensive-code-review:codex/perform-comprehensive-code-review
git switch codex/perform-comprehensive-code-review

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff codex/perform-comprehensive-code-review
git switch codex/perform-comprehensive-code-review
git rebase main
git switch main
git merge --ff-only codex/perform-comprehensive-code-review
git switch codex/perform-comprehensive-code-review
git rebase main
git switch main
git merge --no-ff codex/perform-comprehensive-code-review
git switch main
git merge --squash codex/perform-comprehensive-code-review
git switch main
git merge --ff-only codex/perform-comprehensive-code-review
git switch main
git merge codex/perform-comprehensive-code-review
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JamesonRGrieve/dynamic-form!8
No description provided.