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

Refactor report base class #466

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Refactor report base class #466

wants to merge 1 commit into from

Conversation

sravfeyn
Copy link
Member

Product Description

This refactor is already PRed in another larger PR. This refactor helps write more DRYer reports. Taking this out of larger PR, so that it doesn't need to wait for it to be merged.

Technical Summary

Safety Assurance

Safety story

This is a simple refactor and I have tested that the refactored report works okay.

Automated test coverage

QA Plan

NA

Labels & Review

  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@sravfeyn
Copy link
Member Author

@calellowitz

Copy link
Contributor

@pxwxnvermx pxwxnvermx left a comment

Choose a reason for hiding this comment

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

LGTM. Just one small nit/query.

@@ -5,7 +5,7 @@
{% load crispy_forms_tags %}

{% block content %}
<h1>Delivery Stats Report</h1>
<h1>{{ report_title }}</h1>
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can we add a check to remove this section when the report_title variable is not set in reports?

@sravfeyn
Copy link
Member Author

@calellowitz Bumping

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