ui: formBuilder - split to a standalone library
Closed this issue · 1 comments
pamfilos commented
ui: formBuilder - split to a standalone library
miguelgrc commented
The basic functionality is now implemented in https://github.com/miguelgrc/cap-moses
Remaining TODOs:
- Fix schema settings (cog icon)
- Fix TabField (usage of draftItem.formErrors)
- Update RJSF (especially @rjsf/antd) from 5.10 to 5.13 (they bump antd from v4 to v5, it might solve some theming issues for which we had to add a workaround)
- Change required fields logic, stop propagating up
- Fix recurrent issue with URI fields becoming text fields in the schema tree (it happened also in the past)
- Add again the text field autofill functionality (see how to handle the formData in the store)
- Migrate changes in CAP from the last few weeks so the library is up to date
- Set up testing tools (vitest, cypress...) and write some initial tests
- Test that everything works when importing the library in CAP
- Export our own Form for users to import for basic use cases where they don't need to touch RJSF
- Choose a name for the library and create the official repo
- Configure CI and publish to NPM
- Check if it's possible to use React versions below 18 to increase compatibility and add the corresponding React version as peerDependency