Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

neprune
Copy link
Contributor

@neprune neprune commented Mar 7, 2024

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

Attention: Patch coverage is 92.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 82.71%. Comparing base (8664dc6) to head (bdc15c0).
Report is 4 commits behind head on master.

Files Patch % Lines
perllib/FixMyStreet/Cobrand/Bromley.pm 92.18% 0 Missing and 5 partials ⚠️
perllib/FixMyStreet/App/Controller/Waste/Echo.pm 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4869      +/-   ##
==========================================
+ Coverage   82.60%   82.71%   +0.10%     
==========================================
  Files         393      393              
  Lines       30752    30996     +244     
  Branches     4877     4950      +73     
==========================================
+ Hits        25404    25639     +235     
- Misses       3896     3899       +3     
- Partials     1452     1458       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@neprune neprune changed the title [Bromley] Resend echo-backed reports that are reopened. [Bromley] Create 'Investigation Required' events for comments on closed Echo-backed reports. Mar 7, 2024
@neprune neprune force-pushed the bromley-echo-reopen branch 2 times, most recently from 88652a0 to 63ed4e0 Compare March 7, 2024 16:05
@neprune neprune requested a review from dracos March 7, 2024 16:27
Copy link
Member

@dracos dracos left a 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!

perllib/FixMyStreet/Cobrand/Bromley.pm Outdated Show resolved Hide resolved
perllib/FixMyStreet/Cobrand/Bromley.pm Outdated Show resolved Hide resolved
dracos and others added 4 commits June 4, 2024 13:36
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants