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][WW] Display additional missed report details on confirmation page #5200

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

Conversation

nephila-nacrea
Copy link
Contributor

Similar to what we display in the emails.

For https://mysocietysupport.freshdesk.com/a/tickets/4606.

[skip changelog]

… page

Similar to what we display in the emails.
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.39%. Comparing base (a3b842d) to head (a9fb62b).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5200      +/-   ##
==========================================
- Coverage   82.41%   82.39%   -0.03%     
==========================================
  Files         407      408       +1     
  Lines       31789    32266     +477     
  Branches     5059     5081      +22     
==========================================
+ Hits        26199    26584     +385     
- Misses       4094     4186      +92     
  Partials     1496     1496              
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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.

Only one hook I don't think is needed, might be useful to have these for other cobrands as well and do the same thing potentially? Looks good :)

@@ -840,6 +840,9 @@ sub group_reports {
my $report = shift @reports;
if (@reports) {
$report->set_extra_metadata(grouped_ids => [ map { $_->id } @reports ]);
$report->set_extra_metadata(
grouped_titles => [ map { $_->title } @reports ] )
if $c->cobrand->call_hook('group_report_titles');
Copy link
Member

Choose a reason for hiding this comment

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

I'm happy not to have this hook, just set it always, doesn't matter :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I can remove this, makes the code simpler.

t/app/controller/waste_bexley.t Show resolved Hide resolved
@nephila-nacrea nephila-nacrea force-pushed the FD-4606-bexley-ww-missed-collection-confirmation branch from 47a38b5 to a9fb62b Compare October 3, 2024 18:26
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.

2 participants