Skip to content

Conversation

@frankieroberto
Copy link
Contributor

The param name uses ellpisis (singular) but the class name uses ellipses (plural), which is a bit confusing as there’s only one ellipsis within the list item? (At least, it confused me).

This switches to using the singular for both, but also supports the plural for backwards-compatibility (could be dropped in next major release?)

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-5882 October 6, 2025 15:10 Inactive
@romaricpascal
Copy link
Member

@frankieroberto Going to close and re-open the PR to see if it gives me the UI to run the checks 😊

@frankieroberto
Copy link
Contributor Author

@romaricpascal did it work?

@romaricpascal
Copy link
Member

@frankieroberto Not automatically, but @domoscargin saved the day 🙌🏻

Copy link
Member

@romaricpascal romaricpascal left a comment

Choose a reason for hiding this comment

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

Singular makes more sense indeed, especially as it relates to a particular item of the pagination rather than the pagination (which may have multiple items with ellipsis).

Code change looks good, but I think we'll need a little CHANGELOG entry ("Recommended change", I think) to let people know we're moving from .govuk-pagination__item--ellipses to .govuk-pagination__item--ellipsis and they should update their code. Would you be alright drafting it @frankieroberto or would you prefer we do it?

@romaricpascal romaricpascal added this to the v5.13.0 milestone Oct 6, 2025
@frankieroberto
Copy link
Contributor Author

@romaricpascal added a changelog entry. Let me know if you’d like to make any tweaks (or feel free to push directly to this branch).

Looks like you'll need to approve the workflows again to allow them to be re-run.

Copy link
Contributor

@domoscargin domoscargin left a comment

Choose a reason for hiding this comment

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

Thanks, @frankieroberto - this looks good to me

@domoscargin
Copy link
Contributor

@frankieroberto There's a small formatting error on the CHANGELOG - I think if you just move "Recommended changes" above Fixes it sorts itself out - tried pushing it myself but I don't have access.

@frankieroberto
Copy link
Contributor Author

@domoscargin thanks, I think I’ve fixed that. Can you re-approve again please? I've also given you write access to our fork, I think (not sure if you have to accept the invite first).

The param name uses `ellpisis` (singular) but the class name uses `ellipses` (plural), which is a bit confusing?

This switches to using the singular for both, but also supports the plural for backwards-compatibility (could be dropped in next major release?)
@domoscargin domoscargin force-pushed the rename-ellipses-to-ellipsis branch from 114680f to ad4a266 Compare October 7, 2025 10:54
@domoscargin
Copy link
Contributor

Oh, Prettier, you cheeky scamp.

I've edited the changelog again - should hopefully be good to go now, will just wait for the checks to complete.

@domoscargin domoscargin merged commit 93f95dc into alphagov:main Oct 7, 2025
45 checks passed
@frankieroberto frankieroberto deleted the rename-ellipses-to-ellipsis branch October 7, 2025 13:35
@frankieroberto
Copy link
Contributor Author

@domoscargin @romaricpascal thanks both! This now means our new Pagination component in NHS frontend will use the exact same HTML and classes (with a different prefix) as the GOVUK one... 😄

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