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

Update cookie macros about links styled as buttons #2168

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

EoinShaughnessy
Copy link
Contributor

No description provided.

@EoinShaughnessy EoinShaughnessy added the documentation User requests new documentation or improvements to existing documentation label Mar 9, 2021
@EoinShaughnessy EoinShaughnessy self-assigned this Mar 9, 2021
@EoinShaughnessy EoinShaughnessy linked an issue Mar 9, 2021 that may be closed by this pull request
4 tasks
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-2168 March 9, 2021 14:50 Inactive
Copy link
Contributor

@vanitabarrett vanitabarrett 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 to me, but I'll let @hannalaakso take a final look as she's been working on those changes

@EoinShaughnessy
Copy link
Contributor Author

👍 Looks good to me, but I'll let @hannalaakso take a final look as she's been working on those changes

@vanitabarrett Thanks! Yeah, got the nod from @hannalaakso earlier.

Copy link
Contributor

@TechPunk316 TechPunk316 left a comment

Choose a reason for hiding this comment

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

Looks ok to me

@EoinShaughnessy
Copy link
Contributor Author

This content has passed 2i.

@EoinShaughnessy EoinShaughnessy added the 🕔 hours A well understood issue which we expect to take less than a day to resolve. label Mar 10, 2021
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-2168 March 12, 2021 10:58 Inactive
@EoinShaughnessy
Copy link
Contributor Author

EoinShaughnessy commented Mar 12, 2021

@hannalaakso I've added the Changelog update to this PR. Should I squash the 2 commits here, or would it be better to leave them be, because they represent changes to 2 different docs (the cookie macros and the Changelog)?

Also - do we have to merge this PR before we add any other updates to the Changelog? Or are we also going to use this PR for those updates?

CHANGELOG.md Outdated Show resolved Hide resolved
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-2168 March 16, 2021 12:08 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-2168 March 16, 2021 12:09 Inactive
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-2168 March 16, 2021 12:10 Inactive
CHANGELOG.md Outdated
You can now add links styled as buttons to cookie banners.

Use this feature only if you need to. For example, you can set the **Hide** button to be a link styled as a button that reloads the page. You might want to do this if the cookie banner needs to work without JavaScript and the **Hide** button does not need to set a cookie, as the user has already accepted or rejected cookies.
- the user has already accepted or rejected cookies - so, when they press **Hide** and the page reloads, the banner is hidden
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
- the user has already accepted or rejected cookies - so, when they press **Hide** and the page reloads, the banner is hidden

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-2168 March 16, 2021 12:10 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-2168 March 16, 2021 12:36 Inactive
@EoinShaughnessy
Copy link
Contributor Author

@hannalaakso I've reduced the commits to 2 (1 for the Changelog update, 1 for the macros update). Can I get a review? :)

Copy link
Member

@hannalaakso hannalaakso left a comment

Choose a reason for hiding this comment

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

Looks great, thanks @EoinShaughnessy 👍

@EoinShaughnessy EoinShaughnessy merged commit c4fbe3d into master Mar 16, 2021
@EoinShaughnessy EoinShaughnessy deleted the button-links-content branch March 16, 2021 13:35
@hannalaakso hannalaakso added this to the v3.12.0 milestone Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation User requests new documentation or improvements to existing documentation 🕔 hours A well understood issue which we expect to take less than a day to resolve.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add info about links styled as buttons to cookie macros
6 participants