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

fix: [Filing home] Update layout design #533

Merged
merged 12 commits into from
May 24, 2024

Conversation

meissadia
Copy link
Collaborator

Part of #492

Changes

  • Updates page spacing and updates non-Institution card content

Screenshots

screencapture-localhost-8899-filing-2024-05-16-14_42_21

@meissadia meissadia linked an issue May 16, 2024 that may be closed by this pull request
src/components/CrumbTrail.tsx Outdated Show resolved Hide resolved
src/pages/Filing/FilingApp/FilingOverviewPage.tsx Outdated Show resolved Hide resolved
@shindigira
Copy link
Contributor

shindigira commented May 20, 2024

Eventually, responsiveness should be addressed:
Screenshot 2024-05-20 at 9 54 28 AM

Error conditions too:
Screenshot 2024-05-20 at 9 55 59 AM

@meissadia
Copy link
Collaborator Author

meissadia commented May 20, 2024

Eventually, responsiveness should be addressed:

Error conditions too:

Added post-mvp tickets:

@meissadia meissadia requested a review from shindigira May 20, 2024 19:10
@meissadia meissadia dismissed shindigira’s stale review May 20, 2024 19:10

Changes addressed

return <LoadingContent />;

// TODO: Implement logic to derive current filing period based on current date
// https://github.com/cfpb/sbl-frontend/issues/546
Copy link
Contributor

Choose a reason for hiding this comment

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

import { DateTime } from 'luxon';
// Formatting: https://github.com/moment/luxon/blob/master/docs/formatting.md
const currentYear = DateTime.now().toFormat('y');

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@shindigira The filing periods endpoint includes start/end/due dates for each filing period, so it may not be as simple as just "the current year"...or it might be, we'll need to check with the Regs folks.

On HMDA they also have Quarterly filing periods, which I don't think applies to SBL but is another item to verify with the Regs folks.

[
  {
    "code": "string",
    "description": "string",
    "start_period": "2024-05-21T20:49:34.045Z",
    "end_period": "2024-05-21T20:49:34.045Z",
    "due": "2024-05-21T20:49:34.045Z",
    "filing_type": "ANNUAL"
  }
]

}
/>
<DisplayErrors
errors={!!associatedInstitutionsError || !!filingPeriodsError}
Copy link
Contributor

Choose a reason for hiding this comment

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

Not critical but maybe you want to change the prop's name to "boolean language" such as hasErrors.

@shindigira
Copy link
Contributor

shindigira commented May 21, 2024

Approved; only have non-critical nit feedback. Did not review content and styling.

Copy link
Contributor

@billhimmelsbach billhimmelsbach left a comment

Choose a reason for hiding this comment

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

The content will be good after all these get merged, so this one is good!

@meissadia meissadia merged commit 8cfa773 into main May 24, 2024
3 checks passed
@meissadia meissadia deleted the 492-filing-home__design-updates branch May 24, 2024 17:21
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.

[Filing] Home - Updated design
3 participants