riptano / docs-ui

The UI and theme for DataStax Docs.
https://riptano.github.io/docs-ui/
Mozilla Public License 2.0
2 stars 0 forks source link

Breadcrumb not honoring navigation hierarchy #158

Open eric-schneider opened 2 months ago

eric-schneider commented 2 months ago

Breadcrumbs only seem to contain the component title and the page title, but nothing in between.

Take the following page for example: https://docs.datastax.com/en/mission-control/secure/database/authn.html The page hierarchy is Mission Control => Security => Authentication, but the resulting breadcrumb is just Mission Control / Authentication.

image

It could be that our UI specifically discard segments of the breadcrumb that aren’t page links. If so, then our current strategy of preventing parent nav items from being links has effectively broken the breadcrumb.

Regardless, we should have the full breadcrumb trail even if a segment of it, "Security" in this case, isn't a link.

KimberlyFields commented 1 week ago

@colegoldsmith and @eric-schneider now the breadcrumbs only show the first and second level. We've lost the page title in the breadcrumbs. In Eric's example of Mission Control => Security => Authentication, the resulting breadcrumb is now just Mission Control / Security.