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(breadcrumbs): use short-title for parents #11180

Merged
merged 1 commit into from
May 31, 2024

Conversation

caugner
Copy link
Contributor

@caugner caugner commented May 23, 2024

Summary

Problem

The breadcrumbs are inconsistent in their usage of the short-title attribute, which is used for the current item, but not for the parent item:

image image

Solution

Use the short-title for the breadcrumb parents, where available.


Screenshots

Before/After
image

How did you test this change?

Ran yarn dev and opened http://localhost:3000/en-US/docs/Glossary/Abstraction locally.

@caugner caugner requested a review from a team as a code owner May 23, 2024 21:21
@caugner caugner requested a review from fiji-flo May 29, 2024 10:03
@caugner caugner removed the request for review from fiji-flo May 31, 2024 14:42
@caugner caugner merged commit 978dabf into main May 31, 2024
12 checks passed
@caugner caugner deleted the use-short-title-for-breadcrumb-parents branch May 31, 2024 14:43
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.

2 participants