-
-
Notifications
You must be signed in to change notification settings - Fork 272
[Hackney] Route tree reports based on asset owner attribute #5726
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5726 +/- ##
==========================================
- Coverage 82.60% 82.57% -0.03%
==========================================
Files 455 455
Lines 35401 35423 +22
Branches 5751 5759 +8
==========================================
+ Hits 29242 29251 +9
- Misses 4477 4486 +9
- Partials 1682 1686 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c40f899 to
21d65d2
Compare
dracos
left a comment
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.
This all looks good, nice solution; couple of tiny suggestions is all
Add tree-aware email routing for Hackney that directs tree reports to different departments based on the tree asset owner (Housing, Highways, Parks, etc.). Introduces a generic split email parser that handles both the existing park/estate/other format and new tree owner formats. Refactors _split_emails to use the new generic _parse_split_emails method while maintaining backwards compatibility. Updates validate_contact_email to support both routing formats.
5041128 to
3d8e62f
Compare
Add tree-aware email routing for Hackney that directs tree reports to different departments based on the tree asset owner (Housing, Highways, Parks, etc.). Introduces a generic split email parser that handles both the existing park/estate/other format and new tree owner formats.
Refactors _split_emails to use the new generic _parse_split_emails method while maintaining backwards compatibility. Updates validate_contact_email to support both routing formats.
Fixes https://github.com/mysociety/societyworks/issues/5163