-
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
[#4518] Add log entries for prefill to Submission #5092
base: master
Are you sure you want to change the base?
[#4518] Add log entries for prefill to Submission #5092
Conversation
def appointment_update_start(appointment: AppointmentInfo, plugin): | ||
_create_log( | ||
appointment.submission, | ||
"appointment_update_start", | ||
plugin=plugin, | ||
) | ||
|
||
|
||
def appointment_update_success(appointment: AppointmentInfo, plugin): | ||
_create_log( | ||
appointment.submission, | ||
"appointment_update_success", | ||
plugin=plugin, | ||
) | ||
|
||
|
||
def appointment_update_failure(appointment: AppointmentInfo, plugin, error): | ||
_create_log( | ||
appointment.submission, | ||
"appointment_update_failure", | ||
plugin=plugin, | ||
error=error, |
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.
Removed this since we do not support update in the new appointments flow (have to cancel first and create a new one).
Some AVG logs are needed in the submission admin inline logging so decided to return a queryset based on the included tags and not the other way around. This let us have events with multiple tags and choose which ones we need according to the context.
ef91e13
to
9613293
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5092 +/- ##
==========================================
- Coverage 96.74% 96.74% -0.01%
==========================================
Files 771 771
Lines 26636 26631 -5
Branches 3467 3467
==========================================
- Hits 25770 25765 -5
+ Misses 605 604 -1
- Partials 261 262 +1 ☔ View full report in Codecov by Sentry. |
Closes #4518
Changes
Some AVG logs are needed in the submission admin inline logging so decided to return a queryset based on the included tags and not the other way around. This let us have events with multiple tags and choose which ones we need according to the context.
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
Dockerfile/scripts
./bin
folderCommit hygiene