-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add data attributes to summary cards and lists #4331
Add data attributes to summary cards and lists #4331
Conversation
bd2ce37
to
9b2379f
Compare
9b2379f
to
762080b
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.
Code looks good 👍 However we don't do releases within the same pull request. Our process is separate release PRs, and we usually give other devs a heads up in the #govuk-frontenders Slack channel first, in case anyone else wants their changes included in a release.
Therefore, could you rename your changelog entry heading to Unreleased
, and remove the Gemfile.lock
and version.rb
changes?
Thanks 👍
See release docs: https://github.com/alphagov/govuk_publishing_components/blob/main/docs/publishing-to-rubygems.md#publishing-to-rubygems
And an example release PR:
#4338
This allows users to add data attributes (for example, when initialising Javascript modules) to individual rows
This allows users to add data attributes (for example, when initialising Javascript modules) to individual rows
762080b
to
5e3c2e4
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.
LGTM 👍
What
This allows data attributes to be added to summary card and summary list rows
Why
This will allow developers to add Javascript interactivity to individual rows via module initialisation.