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 PriorityList from Govspeak #249

Merged
merged 2 commits into from
Aug 18, 2022
Merged

Remove PriorityList from Govspeak #249

merged 2 commits into from
Aug 18, 2022

Conversation

MartinJJones
Copy link
Contributor

@MartinJJones MartinJJones commented Jul 22, 2022

What

Remove PriorityList, including related tests and documentation.

Why

Priority List is no longer required as the Primary Links JS module used to render the list on the frontend it to be removed from govuk-publishing-components.

Visual Changes

Before After
before after

Trello: https://trello.com/c/nezjGrzF/1388-investigate-and-potentially-fix-primary-links-module

@MartinJJones MartinJJones marked this pull request as ready for review July 25, 2022 08:45
Copy link

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@BeckaL BeckaL left a comment

Choose a reason for hiding this comment

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

Looks good, and always nice to remove code! Small nitpick, could you squash the last two commits that bump the version into one? Would be nice if the bump to 6.9 doesn't appear in the git history since we decided to go with a major bump in the following commit (which absolutely seems the correct call to me 😄 )

@MartinJJones MartinJJones force-pushed the remove-priority-list branch from ce4e080 to 8daca08 Compare July 26, 2022 13:27
@MartinJJones
Copy link
Contributor Author

Thanks @BeckaL, good point!, I've squashed the last 2 commits as recommended 👍

Copy link
Contributor

@BeckaL BeckaL left a comment

Choose a reason for hiding this comment

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

Nice, LGTM!

@kevindew
Copy link
Member

I'm a bit worried that prior to merging this we'll need to adapt content of anything that uses this and update guidance. I wrote more on the components issue

@MartinJJones MartinJJones changed the title [DO NOT MERGE] Remove PriorityList Remove PriorityList from Govspeak Aug 18, 2022
Priority List is no longer required as the Primary Links JS module used to render the list on the frontend it to be removed from govuk-publishing-components.
Updated the change log to make it clear that the removal of `PriorityList` is a breaking change and set the version number to be the next major version.
@MartinJJones
Copy link
Contributor Author

Latest update rebased main to resolve merge conflicts

@MartinJJones MartinJJones merged commit e656e93 into main Aug 18, 2022
@MartinJJones MartinJJones deleted the remove-priority-list branch August 18, 2022 08:56
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.

4 participants