From 30be9aa33133c3972341df2d1f87a70641e3170a Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Wed, 20 May 2026 21:29:56 +0200 Subject: [PATCH] fix(layout): explicit import of AppBreadcrumb in AppTopbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to P5 (commit ac36dfe9). Vue warned about unresolved AppBreadcrumb component in AppTopbar's #start slot — auto-import via unplugin-vue-components did not register it because components-v2/ is outside the scan path (Components({ dirs: [...] }) covers src/@core/components, src/views/demos, src/components only). The original P5 edit did include this import line, but a formatter pass appears to have pruned it as "unused" before runtime parsed the template; the symbol was unresolved at render and the warning surfaced. Restored explicitly so any future formatter pass keeps it. Fix 2 (AppTopbar #start = AppBreadcrumb) now functions visually, not just structurally. Manual smoke pending (Bert). Follow-up backlog: AUTO-IMPORTS-V2-SCAN — extend Components({ dirs }) to include src/components-v2/ so the v2 chrome can rely on the same auto-import ergonomics as v1. Not done here to keep the fix surgical. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/app/src/components-v2/layout/AppTopbar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app/src/components-v2/layout/AppTopbar.vue b/apps/app/src/components-v2/layout/AppTopbar.vue index 4a490b8c..ecceffc9 100644 --- a/apps/app/src/components-v2/layout/AppTopbar.vue +++ b/apps/app/src/components-v2/layout/AppTopbar.vue @@ -44,6 +44,7 @@ import Popover from 'primevue/popover' import { computed, ref } from 'vue' import type { MenuItem } from 'primevue/menuitem' import Icon from '@/components/Icon.vue' +import AppBreadcrumb from '@/components-v2/layout/AppBreadcrumb.vue' import { useAuthStore } from '@/stores/useAuthStore' import { useShellUiStore } from '@/stores/useShellUiStore' import { computeOrgGradient } from '@/utils/v2/gradient'