mdn / yari

The platform code behind MDN Web Docs
Mozilla Public License 2.0
1.19k stars 501 forks source link

Breadcrumbs are too readily collapsed #8627

Open wbamberg opened 1 year ago

wbamberg commented 1 year ago

Summary

Even when there is space for intermediate breadcrumbs, they are often not shown, making them effectively useless.

URL

https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/guides/making_pwas_installable

Reproduction steps

Load the page with a browser window <1200 px wide.

Expected behavior

Usable breadcrumbs, that give me a complete path, or at least that enable me to get to the parent page, like:

Screen Shot 2023-04-12 at 10 59 56 AM

Actual behavior

Only the root page and the current page are shown, and then lots of empty space:

Screen Shot 2023-04-12 at 10 59 43 AM

This makes it impossible to use the breadcrumbs (I never want to go from this page to the top level).

Device

Laptop

Browser

Firefox

Browser version

Pre-release (e.g. Beta, Nightly or Canary)

Operating system

Mac OS

Screenshot

No response

Anything else?

Screen Shot 2023-04-12 at 11 07 10 AM

Validations

mirunacurtean commented 1 year ago

I think this is connected to the already existing ticket https://github.com/mdn/yari/issues/5384.

wbamberg commented 1 year ago

It is the same as the comment: https://github.com/mdn/yari/issues/5384#issuecomment-1058290475 but not the original issue.

caugner commented 6 months ago

FWIW This has been improved with https://github.com/mdn/yari/pull/10315, because now the parent breadcrumb is shown instead of the root breadcrumb:

image