react-jsonschema-form
react-jsonschema-form copied to clipboard
Feature/Enhance the color widget
Reasons for making this change
Currently, the color widget is not responsive enough for user interaction, it doesn't show the color code until the user clicks to open the palette color. The new UI allows users to look and feel the interaction.
UI Before:
UI After:
- User can view, edit, or paste color code directly without open palette color.
- User can open palette color to pick a color and the value will display on the text box
Checklist
- [x] I'm updating documentation
- [x] I've checked the rendering of the Markdown text I've added
- [x] I'm adding or updating code
- [x] I'm adding a new feature
- [ ] I've updated the playground with an example use of the feature
@nathanNguyenQ1 Can you rebase and deal with conflicts?
Hi @epicfaace and @heath-freenome I have rebased and fix conflict in merge request. Could you please review it. Thank you.
@nathanNguyenQ1 If you revert all of the package*.json
changes (when we release we'll do all that) and deal with the conversion of ColorWidget
to typescript, I'm willing to add this to the v5 beta
@nathanNguyenQ1 You'll have to update the snapshots for many of the theme tests. Also, Please update the CHANGELOG.md
for the next, unpublished beta release
@nathanNguyenQ1 You'll have to update the snapshots for many of the theme tests. Also, Please update the
CHANGELOG.md
for the next, unpublished beta release
Hi @heath-freenome, I updated the snapshots and CHANGELOG.md
.
@nathanNguyenQ1 I just tried this with the other themes and most of them do not look so good. I'm leaning towards reverting this PR until the other themes are fixed up as well. Is that something you are willing to do?
@nathanNguyenQ1 After sleeping on it, I am definitely going to revert this. I can help you understand what needs to be done to get things working on the other themes if you'd like. Reach out on the discord channel