-
Notifications
You must be signed in to change notification settings - Fork 193
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
Update past prime ministers #6236
Conversation
7aef397
to
e4e059a
Compare
7fb92d3
to
8b0f4cb
Compare
a5716f1
to
d50a235
Compare
5799412
to
d804e48
Compare
Looks fine to me - although it looks there is one error with one of the tests (otherwise all good!) |
fb6c70b
to
1589989
Compare
74c0aef
to
889148a
Compare
c0b347e
to
7cbffb1
Compare
a24ea0d
to
d48b5f6
Compare
Testing issues, currently, believed not be related |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look sound, page rendered fine on integration when I pushed it there, with the exception of linked dates. I noted the dependabot update so have merged that which should solve that issue.
@chris-gds Before we merge this could you rebase against master and push to integration to ensure the gem change is being picked up as we'd expect? |
- Remove Duplicate Header - Update to use image card component[1] - Restructure groupings of people into 21st, 20th + 18/19th Centuries. - Apply Design system - Restructure render so grouping is via column-quarters / grid system[2] - Add breadcrumb link due to current IA of site. "The breadcrumb should start with your ‘home’ page and end with the parent section of the current page."[3] Page: /government/history/past-prime-ministers [1] https://components.publishing.service.gov.uk/component-guide/image_card [2] https://design-system.service.gov.uk/styles/layout/ [3] https://design-system.service.gov.uk/components/breadcrumbs/
- Update with ID as Whitehall testing requires require res unique ID on element - Update to use image coming from database (placeholder used for local dev) PR a
To match Design[1] - Add spacing between sections on larger screens - Overwrite image card styling for "years of service" Content [1]https://www.figma.com/file/UjCeRTxle1bLQv3VFNz9Wt/Redesign-of-history-pages?node-id=11%3A138
…ntries Previously individuals who had held the same appointment multiple times would appear in the list for each occurance. This change ensures that only the most recent appointment is displayed, with the past apppointment dates listed for the same entry.
Integrate "extra_links" from updated image_card changes so item displays: [party] [year] [party] [year] [party] [year] as text only.
d48b5f6
to
d923291
Compare
Course, as merged integration - looks as expected, will just be sharing with Design before merging |
|
Moving into draft as combined PR raised: #6264 |
What
Update Past Prime Minster's page to apply new Design + Design system + use Components
Why
On-going work to align architecture, have pages benefit from Accessibility improvements
Visuals
Anything else
image_card
was extended to factor in a new Design andimage_card
as this maintains existing performance benefits.Discussion around Design System layout + lists can be found here, an issue capturing the concerns can be found here
Grouped related PRs
#6236
#6243
#6241
Done when
loading="lazy"
to image card withingovuk_publishing_gem
PR: Add lazy loading govuk_publishing_components#2270
loading="lazy"
updateimage_card
to give more options to match DesignPR: Add text list to image card govuk_publishing_components#2286