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

content modelling/876 style pension view #9902

Merged
merged 5 commits into from
Feb 6, 2025

Conversation

Harriethw
Copy link
Contributor

@Harriethw Harriethw commented Feb 5, 2025

https://trello.com/c/oqYRwyZu/876-create-pension-block-w-o-rates

Some tweaks to the view screen of a Block

  • re-organisaing the header
  • adding a summary card instead of summary list
  • re-styling the banner

Screenshot 2025-02-05 at 17 02 51

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

Follow these steps if you are doing a Rails upgrade.

this will replace the edit action in the summary list
with the new designs, we are using the card on the view page.
so that it doesn't bleed over the edge of the full column width.
@@ -45,7 +45,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<%= render(
ContentBlockManager::ContentBlock::Document::Show::SummaryListComponent.new(
ContentBlockManager::ContentBlock::Document::Show::SummaryCardComponent.new(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not yet deleting the SummaryListComponent in Show because the SummaryCardComponent in Index inherits from it and there's a fair bit to unpick - think that makes sense to do when we go to re-design the Index view, but could pick it up here if we think we need to.

@Harriethw Harriethw marked this pull request as ready for review February 5, 2025 17:12
@Harriethw Harriethw requested a review from pezholio February 5, 2025 17:12
Copy link
Contributor

@pezholio pezholio left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Harriethw Harriethw merged commit 9c15cde into main Feb 6, 2025
20 checks passed
@Harriethw Harriethw deleted the content-modelling/876-style-pension-view branch February 6, 2025 09:24
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