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: mobile navigation should show deepest breadcrumb instead of outermost #1493

Merged
merged 1 commit into from
May 19, 2019

Conversation

hong4rc
Copy link
Contributor

@hong4rc hong4rc commented May 19, 2019

Motivation

Fixed #1338

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Test with testing-library's website.
Live preview in https://hongarc.github.io/testing-library-docs/

Before:
image

After:
It shows subcategory's title if it is a subcategory
image

and keep category's title if it is a category
image

@hong4rc hong4rc requested a review from endiliey as a code owner May 19, 2019 03:34
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label May 19, 2019
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit 0c61eee

https://deploy-preview-1493--docusaurus-2.netlify.com

@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit 0c61eee

https://deploy-preview-1493--docusaurus-preview.netlify.com

@hong4rc hong4rc changed the title Show subcategory if it is exist for title of nav fix: show subcategory if it is exist for title of nav May 19, 2019
Copy link
Contributor

@endiliey endiliey left a comment

Choose a reason for hiding this comment

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

🚀 Ship it ....

shipit

@endiliey endiliey merged commit 382b88b into facebook:master May 19, 2019
@endiliey endiliey changed the title fix: show subcategory if it is exist for title of nav fix: mobile navigation should show deepest breadcrumb instead of outermost May 19, 2019
@hong4rc hong4rc deleted the subcategory branch May 25, 2019 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mobile navigation should show deepest breadcrumb instead of outermost
4 participants