-
Notifications
You must be signed in to change notification settings - Fork 187
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 World Location News and Topical Events templates #6147
Conversation
b203771
to
4a0c79b
Compare
b2381a4
to
c6e2372
Compare
d780940
to
bc78522
Compare
c2f96fc
to
e988a87
Compare
5deb838
to
ffbd4b6
Compare
1fd5497
to
777b30f
Compare
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.
A few comments. Glad to see this out the door finally!
The PR has been added to so I'm withdrawing my approval until it's ready again
cf0fc29
to
e549539
Compare
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.
Some final comments. We're real close 👍
e2bb853
to
f436862
Compare
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.
🚀
- Convert bespoke UI elements within "world-location" to use the component gem, applying Design System when appropriate including the layout. - Remove some redundant CSS - Semi-maintain shared elements that appear elsewhere - Include horizontal rule as part heading - Update testing Eg page: /world/organisations/british-embassy-moscow/about/recruitment /world/falkland-islands/news "document_list" & "translation_nav" swaps omitted (from this PR)
Altering shared files that generate document lists to align with an updated design Remove top margin
Improving nested headings within document lists
52b1114
to
e91c93c
Compare
Cheers Owen! Could I ask you to hit the merge button for me too 👍 (I've rebased the branch just now) |
Temporarily reverting as merge impacts "http://www.gov.uk/world/uk-and-the-commonwealth"
Temporarily reverting as merge impacts "http://www.gov.uk/world/uk-and-the-commonwealth"
What
Update World location news template to use components / the Design System
Why
On-going a11y work, to swap components, align architecture and, in turn, improve accessibility.
Visuals
Note (local "after" screenshots have missing images due to local data - this won't be an exact replica)
How to test
Only some pages have "statistics documents" one example can be found below:
/world/falkland-islands/news
Other example URLs:
/world/france/news
/world/new-zealand/news
Anything else
[DO NOT MERGE]
There are multiple files with
/app/views/shared
that require updating across all templates in useeg:
recently_updated
appears on /world/uk-and-the-commonwealthSwapping
document_list
andtranslation_nav
proved problematic, this has been omitted from this PR to be raised separately.There are known logical heading order issues on these pages. This should be addressed in the
document_list
swapDuring this work I faced some local development issues, I've updated the README with some troubleshooting notes.