-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the user experience of the form variable select/dropdown #4730
Improve the user experience of the form variable select/dropdown #4730
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4730 +/- ##
=======================================
Coverage 96.56% 96.56%
=======================================
Files 746 746
Lines 25191 25191
Branches 3313 3313
=======================================
Hits 24325 24325
Misses 602 602
Partials 264 264 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robinmolen I've cleaned up the commit history since it went a bit wrong in #4675 😬
src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.stories.js
Outdated
Show resolved
Hide resolved
src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.stories.js
Outdated
Show resolved
Hide resolved
src/openforms/js/components/admin/form_design/variables/constants.js
Outdated
Show resolved
Hide resolved
c611cef
to
1b1d542
Compare
5aa0e67
to
7fc696a
Compare
489f3c1
to
3937b7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robinmolen I did some final polishing so we can finally wrap up this feature :)
Marked SelectWithoutFormik as deprecated
Added sources and formDefinitions. This allows for the testing of the new VariableSelection react-select grouping + fixed the stories broken by the switch to react-select
3937b7e
to
cf881a6
Compare
* Ensure the variabels editor tabs and groups in variable dropdown use the same literals for component/user defined/static variables * Switched markup/styling to CSS grid for better visual appearance when labels wrap * Added stories for visual edge cases so that we have visual regression testing * Re-organized the React component code a bit to avoid defining inline components
Attempted to make the code a bit easier/simpler, and clean up the test helpers to use accessible queries.
cf881a6
to
72859d8
Compare
Closes #4524
Closes #4675
I've cleaned up the commit history from the original PR
Changes
The variable dropdown now uses the react-select component. Allowing for searching within the options
Checklist
Check off the items that are completed or not relevant.
Impact on features
Release management
I have updated the translations assets (you do NOT need to provide translations)
./bin/makemessages_js.sh
./bin/compilemessages_js.sh
Commit hygiene