-
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
[#3283] Remove oldstyle appointments flow #4872
[#3283] Remove oldstyle appointments flow #4872
Conversation
5768477
to
011defa
Compare
src/openforms/emails/templates/emails/templatetags/appointment_information.html
Outdated
Show resolved
Hide resolved
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.
OMG so much code being removed it's like it's almost Christmas!
011defa
to
3c36035
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.
and obviously the CI failures need to be looked into!
src/openforms/js/components/admin/form_design/form-creation-form.js
Outdated
Show resolved
Hide resolved
Legacy version of appointments used to allow changing and cancelling an appointment. Now only the latter one is allowed and implemented, so we get rid of the code/texts which have to do with changing one.
The appointments views used to have a deprecation warning which had to do with what we return to the frontend. Formio wasn't handling correctly the raised error of a serializer (serializer.is_valid(raise_exception=True)) so we had to return an empty list instead. Now, we have custome react code and we can make the API calls when we are ready so we avoid errors, but if any they will now be raised.
7361e15
to
28d6769
Compare
Deleted the tests which were refering to the old flow as well. The new appointments do not have summary or steps so no need to test with such a configuration.
28d6769
to
b956f22
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4872 +/- ##
==========================================
- Coverage 96.62% 96.57% -0.05%
==========================================
Files 757 757
Lines 25942 25731 -211
Branches 3417 3379 -38
==========================================
- Hits 25066 24850 -216
- Misses 613 616 +3
- Partials 263 265 +2 ☔ View full report in Codecov by Sentry. |
Closes #3283 partly
Changes
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