-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
[Bromley] Create 'Investigation Required' events for comments on closed Echo-backed reports. #4869
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4869 +/- ##
==========================================
+ Coverage 82.66% 83.90% +1.24%
==========================================
Files 404 408 +4
Lines 31462 35508 +4046
Branches 4988 6157 +1169
==========================================
+ Hits 26008 29793 +3785
- Misses 3975 4168 +193
- Partials 1479 1547 +68
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6c83b37
to
e4abf0c
Compare
88652a0
to
63ed4e0
Compare
63ed4e0
to
bc42be7
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.
Looks good. I'm just tidying it up now with my phase2 thing and will then try and put on staging. I think for my phase2 I changed the category rather than use a hidden one as you have here, your way might be preferable depending on how it looks, but can see during testing I guess!
bc42be7
to
845bac1
Compare
315bc42
to
5b8f3af
Compare
60f8b62
to
359d970
Compare
When adding the comment data to the notes field include the user details with the comment in the format requested mysociety/societyworks#4232
Ingore any updates from Echo that aren't New/Completed and don't have a resolution code.
Without doing this, if the Echo report is closed again with the same resolution code (which maps to external status code), the response template is not located because that only looks for external status code templates if the external status code has changed.
Using the same handover_notes as Echo to Bromley means that they will be automatically added to the detail when sent, and included in the Notes, as well as the report details.
bdc15c0
to
e3bf28d
Compare
Both the parent and client event updates are coming through to us on the same report, as they have the same client reference, and the parent event GUID is the one stored on the report, but we need to look up the child event when we receive an update on the child.
[skip changelog]
closes https://github.com/mysociety/societyworks/issues/3267
Example on staging: https://staging.fixmystreet.com/admin/report_edit/23736