Skip to content

LG-14259 Update Report formatting#11166

Merged
MrNagoo merged 5 commits intomainfrom
LG-14259/reporting-update-lg-99
Sep 2, 2024
Merged

LG-14259 Update Report formatting#11166
MrNagoo merged 5 commits intomainfrom
LG-14259/reporting-update-lg-99

Conversation

@MrNagoo
Copy link
Contributor

@MrNagoo MrNagoo commented Aug 29, 2024

changelog: Internal, Reporting, Update LG-99 Report Layout

🎫 Ticket

Link to the relevant ticket:
LG-14259

🛠 Summary of changes

Broke the LG-99 csv/tables into 3 sections

LG-99
Suspension
Reinstatement

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • await daily report and verify

👀 Screen Shots

Before:
image

After:
image

ReportMailer.tables_report(
email: email_addresses,
subject: "Fraud Metrics Report - #{date.to_date}",
subject: "Fraud Metrics Report - #{report_date.to_date}",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

using the accessor.

@MrNagoo MrNagoo marked this pull request as ready for review August 29, 2024 20:12
@MrNagoo MrNagoo requested a review from a team August 29, 2024 20:12
@zachmargolis
Copy link
Contributor

Can we please add some before/after screenshots to help add context to the changes?

Comment on lines 53 to -54
def as_emailable_reports
Reporting::EmailableReport.new(
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm glad this plural method name is now actually returning an array

@MrNagoo
Copy link
Contributor Author

MrNagoo commented Aug 30, 2024

Pics added. Thanks!

]
end

def to_csvs
Copy link
Contributor

Choose a reason for hiding this comment

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

this method is unused now, right? let's remove it entirely

]
end

def as_tables
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto, this is unused too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, done. If we ever want to mimic some of the other reporting then we can just add it back.

@MrNagoo MrNagoo merged commit 641185a into main Sep 2, 2024
@MrNagoo MrNagoo deleted the LG-14259/reporting-update-lg-99 branch September 2, 2024 14:07
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