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

Remove Advisory component #357

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Remove Advisory component #357

merged 2 commits into from
Jan 8, 2025

Conversation

catalinailie
Copy link
Contributor

The advisory component has been earmarked for removal. It does not pull in styles from the design system and so has to be manually updated if it needs changing.
Its uses will be replaced with information callouts.

Trello card: https://trello.com/c/Z26fvy04/2957-work-out-how-to-retire-advisory-from-govspeak-gem

Copy link
Contributor

@JonathanHallam JonathanHallam left a comment

Choose a reason for hiding this comment

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

Really happy with the changes. Before we merge this though can we get an idea of how many documents are using the advisory extension because they'll need updating

@beccapearce beccapearce force-pushed the remove-advisory branch 3 times, most recently from 2fd2e6f to eb11238 Compare December 31, 2024 11:05
@beccapearce
Copy link
Contributor

To summarise our slack conversation for ease of following, there are around 30 published editions that use the advisory component. We have a rake task we are planning to run in whitehall to remove them all. We will then check again to see if there are any instances of advisory we have missed before we merge in this PR and the related PR in govuk_publishing_components

@beccapearce
Copy link
Contributor

The whitehall rake task was sucessfully run and there are no instances of advisory that are currently published. So this PR is all good to merge.

@beccapearce beccapearce marked this pull request as ready for review January 7, 2025 13:21
The advisory component has been earmarked for removal.
It does not pull in styles from the design system and so has to be
manually updated if it needs changing.
'Information callouts' will be used instead.
Copy link
Contributor

@JonathanHallam JonathanHallam left a comment

Choose a reason for hiding this comment

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

nice one thanks :)

@beccapearce beccapearce merged commit c702004 into main Jan 8, 2025
9 checks passed
@beccapearce beccapearce deleted the remove-advisory branch January 8, 2025 14:18
@beccapearce beccapearce mentioned this pull request Jan 8, 2025
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.

3 participants