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

Migrate the Reports page to GOV.UK Design System #2026

Closed

Conversation

patrickpatrickpatrick
Copy link
Contributor

  • Adds use of the Page Title component to app/views/layouts/design_system.html.erb to ensure transitioned pages use consistent formatting for the page title.
  • Updates the reports index view to use the Document List component.
  • Improves the test coverage around the reports controller.

Since the transitioned design splits the generated message into two
separate pieces of metadata (one for the time and one for the date),
there will now be twice the calls to S3 to fetch that data. This could
be optimised if it becomes a problem, but this page is not used much so
that is left as a potential future optimisation.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

@patrickpatrickpatrick patrickpatrickpatrick force-pushed the transition-reports-page-to-design-system branch from b3ba7c0 to a9b4f12 Compare January 29, 2024 11:09
- Adds use of the
  [Page Title](https://components.publishing.service.gov.uk/component-guide/title)
  component to `app/views/layouts/design_system.html.erb` to ensure
  transitioned pages use consistent formatting for the page title.
- Updates the reports index view to use the
  [Document List](https://components.publishing.service.gov.uk/component-guide/document_list)
  component.
- Improves the test coverage around the reports controller.

Since the transitioned design splits the generated message into two
 separate pieces of metadata (one for the time and one for the date),
 there will now be twice the calls to S3 to fetch that data. This could
 be optimised if it becomes a problem, but this page is not used much so
 that is left as a potential future optimisation.
@patrickpatrickpatrick patrickpatrickpatrick force-pushed the transition-reports-page-to-design-system branch from a9b4f12 to 4e3608e Compare January 29, 2024 11:10
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