Skip to content

Draft: Render GlBreadcrumb based on JSON breadcrumb items

Thomas Hutterer requested to merge thutterer/vue-breadcrumbs-everywhere into master

What does this MR do and why?

This is a rough draft on how to continue the journey to Adjust the logic of the breadcrumb area to alig... (#358113).

The idea is to put the static breadcrumbs (that we today render with Haml) as JSON into the DOM and then init a GlBreadcrumb component with that. This is a bit more complex as it sounds, as this idea conflicts with the existing injectVueAppBreadcrumbs mechanism that is used on several pages.

But we are half way there 🤞

We repurpose the existing schema.org breadcrumbs.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports