-
Notifications
You must be signed in to change notification settings - Fork 17
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
Use devolved nations component in place of important metadata component on publication page #2220
Use devolved nations component in place of important metadata component on publication page #2220
Conversation
d9c136e
to
5124724
Compare
3463491
to
1bbbdb9
Compare
Can you explain to me how you identified the formats that are using the important metadata for rendering devolved nations info? I can see that it's used across a number of formats and while I can see some are clearly using it for a different purpose (eg the Fatality notices: https://www.gov.uk/government/fatalities/sergeant-eddie-collins-killed-in-iraq) I can't see how/where it's used on the likes of document collections: https://www.gov.uk/government/collections/severn-tidal-power-feasibility-study-conclusions I'm intrigued by the "temp" commit that seems to be doing the sort of stuff I'd expect to be handled by dependabot PRs. I think I saw a reference to it needing to be deleted at one point on this PR? Finally (for now!) a couple of minor points on the PR detail -
|
Yep, so I've gone about this in two ways -
|
1bbbdb9
to
437565e
Compare
Ah I'd added this as a temporary way to test the new component (prior to the dependabot merge) and forgot to go back and remove it once the version had been bumped! I've now removed the extra commit. |
I've deleted from the 'Why' section - 'Currently, this "component" isn't accessible to screen-reader users.' so it's hopefully now clearer that the fail is related to the hyperlink context rather than the actual component itself.
Trello link now included in the description. |
Great, that makes sense and I can't see any gaps after looking through the list. If it turns out there are it'll be easy enough to update further template types. |
I notice you've added a json lockfile in the root that wasn't there before. I assume that's an error, can you remove it (or justify its presence)? |
437565e
to
6ff3812
Compare
6ff3812
to
64fa451
Compare
Apologies that's a mistake - i've now removed it. |
64fa451
to
acabc7f
Compare
What
https://trello.com/c/WVrZ35zt/793-dev-implementation-of-devolved-nations-task
Replace uses of 'Metadata block component' for new 'Devolved Nations component' for linking to guidance for other nations.
This change takes effect on the following page types -
When no advice is available the component is not rendered e.g. https://www.gov.uk/government/publications/foi-release-technology-and-outserviced-contracts
Why
Visual changes
Anything else