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

[Bexley] Add a "Glass" red tag prefix for GL- services #4985

Merged

Conversation

chrismytton
Copy link
Member

Splits out the services with a GL- prefix into a separate "Glass" prefix for red tags. Also adds a missing GL-240 container type.

For https://3.basecamp.com/4020879/buckets/35109031/todos/7465218614#__recording_7468587102

Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.59%. Comparing base (244931d) to head (a4fa3d2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4985   +/-   ##
=======================================
  Coverage   82.59%   82.59%           
=======================================
  Files         393      393           
  Lines       30764    30764           
  Branches     4880     4880           
=======================================
  Hits        25411    25411           
  Misses       3901     3901           
  Partials     1452     1452           

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

@@ -1081,7 +1081,8 @@ sub in_cab_logs_reason_prefixes {
'Paper & Card' => ['PA-1100', 'PA-1280', 'PA-140', 'PA-240', 'PA-55', 'PA-660', 'PA-940', 'PC-180', 'PC-55'],
'Food' => ['FO-140', 'FO-23'],
'Garden' => ['GA-140', 'GA-240'],
'Plastics & Glass' => ['GL-1100', 'GL-1280', 'GL-55', 'GL-660', 'PG-1100', 'PG-1280', 'PG-240', 'PG-360', 'PG-55', 'PG-660', 'PG-940', 'PL-1100', 'PL-1280', 'PL-140', 'PL-55', 'PL-660', 'PL-940'],
'Plastics & Glass' => ['PG-1100', 'PG-1280', 'PG-240', 'PG-360', 'PG-55', 'PG-660', 'PG-940', 'PL-1100', 'PL-1280', 'PL-140', 'PL-55', 'PL-660', 'PL-940'],
'Glass' => ['GL-1100', 'GL-1280', 'GL-55', 'GL-660', 'GL-240'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If GL-240 is added here, I think it needs to be added to image_for_unit() and _containers too.

I think what has caused confusion, for me at least, is that the spreadsheet (and surrounding conversation) mention 'No longer needed' services - which include GL-240, GL-140, and GL-Node (out of the GL-* types).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good catch! I've removed GL-240 in a fixup commit, seemed easiest for the time being. I'll let them know about the "No longer needed" services and see what they say.

@mysociety-pusher mysociety-pusher force-pushed the bexley-wasteworks-add-more-red-tag-prefixes branch 2 times, most recently from c29e7c2 to a4fa3d2 Compare June 11, 2024 08:54
The glass containers are being phased out soon in favour of the combined
glass and plastic ones, but in the meantime there is a red tag prefix of
"Glass" for the older glass-only containers.
@mysociety-pusher mysociety-pusher force-pushed the bexley-wasteworks-add-more-red-tag-prefixes branch from a4fa3d2 to 129329c Compare June 11, 2024 20:56
@mysociety-pusher mysociety-pusher merged commit 129329c into master Jun 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants