-
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
UX improvements: modal registration forms for email and stuf #4742
UX improvements: modal registration forms for email and stuf #4742
Conversation
9c246fe
to
7ab8561
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4742 +/- ##
=========================================
Coverage ? 96.55%
=========================================
Files ? 748
Lines ? 25410
Branches ? 3358
=========================================
Hits ? 24535
Misses ? 610
Partials ? 265 ☔ View full report in Codecov by Sentry. |
Otherwise it would be too easy for form designers to miss the option, let's make it clear that at least one email address must be entered.
Similar to the case properties, we can put the payment update mappings in a separate tab to de-clutter the UI. Next commit will then use the existing VariableMapping component to manage the actual mappings.
…ping Some code repetition, but at least we are now using consistent UI components for mapping from/to form variables in various places.
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 nice work! I did some minor tweaks w/r to the layout and organization of elements, and one big rework for the StUF payment variable mappings - that one has been rewritten using the existing VariableMapping
component UX. Please review that commit to see the changes :)
Created a generic component for the button-that-opens-modal with error icon next to it, which renders the plugin-specific configuration form inside. This puts the less elegant code in a nice isolated box instead of spreading across the code base.
…correct wrong texts
Closes #4686
Changes
The registration forms for Email and StUF-ZDS now use React components, instead of react-json-schema-form generated forms. This allows us to share styling and keep the styling uniform across forms. These changes also improve the user experience, by providing a simular form layout/logic as the other registration inline forms.
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