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

include FY/CY details for annual reports #160

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

nichelle-hall
Copy link
Contributor

@nichelle-hall nichelle-hall commented Nov 15, 2022

Description of the change

This PR adds details about if the annual report represents a calendar or fiscal year in the reports overview page.

Screen Shot 2022-11-15 at 1 29 26 PM

Related issues

Related to #16219

Checklists

Development

This box MUST be checked by the submitter prior to merging:

  • Double- and triple-checked that there is no Personally Identifiable Information (PII) being mistakenly added in this pull request

These boxes should be checked by the submitter prior to merging:

  • Tests have been written to cover the code changed/added as part of this pull request

Code review

These boxes should be checked by reviewers prior to merging:

  • This pull request has a descriptive title and information useful to a reviewer
  • This pull request has been moved out of a Draft state, has no "Work In Progress" label, and has assigned reviewers
  • Potential security implications or infrastructural changes have been considered, if relevant

@nichelle-hall nichelle-hall force-pushed the nichelle-hall/update-report-names branch 3 times, most recently from 05029d9 to ae843cc Compare November 15, 2022 19:41
@@ -44,21 +44,41 @@ export const printDateAsMonthYear = (month: number, year: number): string => {
};

/**
* @returns either "Annual Report [YEAR]" or "[MONTH] [YEAR]" as a string depending on frequency
* @example "Annual Report 2022" or "March 2022"
* @returns either "Annual Report CY[YEAR]", "Annual Report FY[YEAR]-[YEAR+2]" or "[MONTH] [YEAR]"
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I would add a simple note about CY being Calendar Year and FY being Fiscal Year.
nit: [YEAR+2] should this be [YEAR+1] (I think so, right?)

Copy link
Contributor

@mxosman mxosman left a comment

Choose a reason for hiding this comment

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

This is awesome, Nichelle! Thanks for the screenshot and all the comments. Just had a couple of nits - but everything else looks good to me!

@nichelle-hall nichelle-hall force-pushed the nichelle-hall/update-report-names branch from ae843cc to 83d7147 Compare November 16, 2022 00:00
@nichelle-hall nichelle-hall merged commit 7495ea3 into main Nov 16, 2022
Copy link
Collaborator

@lilidworkin lilidworkin left a comment

Choose a reason for hiding this comment

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

This looks awesome @nichelle-hall ! Thanks for tackling this frontend change!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants