-
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
Mobile breadcrumb update guidance #1298
Conversation
app/views/govuk_publishing_components/components/docs/breadcrumbs.yml
Outdated
Show resolved
Hide resolved
1dfc217
to
22c0408
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.
The logic which handles this flag is still present and needs to be removed, e.g: https://github.com/alphagov/govuk_publishing_components/blob/master/lib/govuk_publishing_components/presenters/breadcrumbs.rb#L46
We should double check we're not using this flag anywhere before removing it.
5be30a3
to
341f002
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.
There is still some code in the breadcrumbs.rb checking for is_current_page
https://github.com/alphagov/govuk_publishing_components/blob/master/lib/govuk_publishing_components/presenters/breadcrumbs.rb#L85
af6e283
to
c35bc61
Compare
d565589
to
0b009ce
Compare
c9029ce
to
167e8ce
Compare
@RobBond-GDS Looks good, but not sure why there's a merge commit here - can we rebase to remove it? |
- Added instructions to specify behaviour on devices less than "tablet" width - Removed Collapse on Mobile, Highlight current page and last breadcrumb - Removed is_current_page flag - Removed all reference to request_path - Update change log
b3bcc97
to
acd01cc
Compare
Have rebased as requested
…On Wed, 19 Feb 2020 at 09:43, Vanita Barrett ***@***.***> wrote:
@RobBond-GDS <https://github.com/RobBond-GDS> Looks good, but not sure
why there's a merge commit here - can we rebase to remove it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1298?email_source=notifications&email_token=ANAYF7G4KQPG4FPHV7T5VWLRDT5NBA5CNFSM4KWPEZH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMHB3JQ#issuecomment-588127654>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANAYF7FW6NKXQBULWO2SKM3RDT5NBANCNFSM4KWPEZHQ>
.
|
On mobile devices update breadcrumb behaviour as per :
https://trello.com/c/YuObLgSq/10-fix-breadcrumbs-on-mobile
What
Update guidance documentation to remove patterns with "is_current_page"
Why
When a breadcrumb on a mobile device is collapsed, if last item is set as "is_current_page" then it is not possible to navigate to parent items. To eliminate the inconsistency, this option has been removed