Gin Breadcrumb Region not showing on Entity.Canonical.Node pages

Created on 22 December 2022, over 1 year ago
Updated 10 July 2024, about 2 months ago

Problem/Motivation

Background: I'm using Gin as both my default and admin theme (as the website is being used as a backend for a headless website).

Goal: I want to display custom menu links in the secondary menu (e.g. the Tool menu) and have these links show on every page.

Problem: the breadcrumb region does not show {% if route_name == 'entity.node.canonical' %}.

This behaviour is due to line 51 of /templates/page/page.html.twig.

Steps to reproduce

  1. Enable Gin as the default theme.
  2. Add a block to the Breadcrumb region.
  3. View a node: notice the block is missing.
  4. Edit the node: notice the block is showing.

Proposed resolution

TBD

Remaining tasks

  1. Determine whether we want to support Gin as a default theme.
  2. Implement change to show breadcrumb region on all pages.

User interface changes

Breadcrumb region are shown on all pages.

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Closed: won't fix

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Nathan Tsai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

    Please reconsider?

    Even if Gin is admin only theme, it seems weird to have magic hidden settings that can't be accessed or edited from blocks UI.

    Since breadcrumbs are assigned via system block ui, why not implement this with block visibility settings, and allow users to override if they wish?

  • Status changed to Closed: won't fix about 2 months ago
  • πŸ‡¨πŸ‡­Switzerland saschaeggi Zurich

    Currently not in the scope or planned, sorry! I'm closing this again.

  • πŸ‡¨πŸ‡­Switzerland saschaeggi Zurich

    That being said, you could develop a small companion module which alters the behavior for breadcrumbs.

Production build 0.71.5 2024