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

Fix bug in summary list link text #1978

Merged
merged 1 commit into from
Mar 16, 2021
Merged

Fix bug in summary list link text #1978

merged 1 commit into from
Mar 16, 2021

Conversation

andysellick
Copy link
Contributor

What

  • link_text_no_enhance for row links was being checked against the overall links for the component, so passing the parameter for the row when not passing it for the overall links had no effect
  • tests were not specific enough to spot this
  • now corrected

Why

It weren't working.

Visual Changes

None.

@andysellick andysellick requested a review from danacotoran March 16, 2021 14:07
@bevanloon bevanloon temporarily deployed to govuk-publis-fix-summar-afk3s6 March 16, 2021 14:07 Inactive
@bevanloon bevanloon temporarily deployed to govuk-publis-fix-summar-afk3s6 March 16, 2021 14:12 Inactive
Copy link
Contributor

@danacotoran danacotoran left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this and making the tests more specific. And sorry I missed it in the previous review 🤦🏻‍♀️

Might be good to amend the second commit to reflect that it's updating the changelog.

- link_text_no_enhance for row links was being checked against the overall links for the component
- tests were not specific enough to spot this
- now corrected
@andysellick andysellick force-pushed the fix-summary-list-bug branch from 786cff4 to 624ee5a Compare March 16, 2021 14:44
@bevanloon bevanloon temporarily deployed to govuk-publis-fix-summar-afk3s6 March 16, 2021 14:44 Inactive
@andysellick
Copy link
Contributor Author

Whoops, meant to squash those commits. Done, thanks!

@andysellick andysellick merged commit 350cd96 into master Mar 16, 2021
@andysellick andysellick deleted the fix-summary-list-bug branch March 16, 2021 14:47
@andysellick andysellick mentioned this pull request Mar 16, 2021
This was referenced Mar 16, 2021
This was referenced Mar 17, 2021
alex-ju added a commit that referenced this pull request Mar 19, 2021
* Add GOVUK Frontend Details module to GOVUK Modules and amend `modules.js` start function ([PR #1985](#1985))
* Rescope Brexit CTA to en/cy locale only ([PR #1984](#1984))
* Add JavaScript tests for accordion component ([PR #1977](#1977))
* Fix search component label background ([PR #1983](#1983))
* Allow emergency banner and global bar in public layout component ([PR #1978](#1915))
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