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

Replace context link with breadcrumb #2117

Merged
merged 1 commit into from
Jul 15, 2021
Merged

Replace context link with breadcrumb #2117

merged 1 commit into from
Jul 15, 2021

Conversation

maxgds
Copy link
Contributor

@maxgds maxgds commented May 25, 2021

What

https://trello.com/c/3ENWcE93/729-confusing-contextual-link-on-some-pages
Remove the link from the context text on the main heading, add breadcrumb to replace it.

Why

The styling of the contextual text in the component doesn't indicate in any way that it is a link without user interaction. We plan to remove the ability to add links from the components gem. We decided to preserve the linking back to the History page by adding a breadcrumb. The wording there more explicitly describes where the link goes.

Screenshots

Before

Screenshot 2021-05-25 at 15 44 16

After

Screenshot 2021-05-25 at 15 43 10

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

@bevanloon bevanloon temporarily deployed to government-f-link-fix-maayby57 May 25, 2021 14:45 Inactive
@chris-gds
Copy link

All looks good to me

},
{
title: "History of the UK Government",
url: "/government/history",

Choose a reason for hiding this comment

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

I do wonder if there's a way to automate these for breadcrumbs so no matter where it appears on the site - via the gem - it's pre-populated.

@maxgds maxgds merged commit fa5ff2b into main Jul 15, 2021
@maxgds maxgds deleted the link-fix branch July 15, 2021 07:58
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