diff --git a/apps/app/auto-imports.d.ts b/apps/app/auto-imports.d.ts index 8881070e..3666f9c9 100644 --- a/apps/app/auto-imports.d.ts +++ b/apps/app/auto-imports.d.ts @@ -550,12 +550,10 @@ declare module 'vue' { readonly templateRef: UnwrapRef readonly throttledRef: UnwrapRef readonly throttledWatch: UnwrapRef - readonly toBreadcrumbItems: UnwrapRef readonly toRaw: UnwrapRef readonly toReactive: UnwrapRef readonly toRef: UnwrapRef readonly toRefs: UnwrapRef - readonly toV2NavGroups: UnwrapRef readonly toValue: UnwrapRef readonly triggerRef: UnwrapRef readonly tryOnBeforeMount: UnwrapRef @@ -670,7 +668,6 @@ declare module 'vue' { readonly useMouseInElement: UnwrapRef readonly useMousePressed: UnwrapRef readonly useMutationObserver: UnwrapRef - readonly useNavBreadcrumb: UnwrapRef readonly useNavigatorLanguage: UnwrapRef readonly useNetwork: UnwrapRef readonly useNow: UnwrapRef @@ -743,7 +740,6 @@ declare module 'vue' { readonly useTrunc: UnwrapRef readonly useUrlSearchParams: UnwrapRef readonly useUserMedia: UnwrapRef - readonly useV2Nav: UnwrapRef readonly useVModel: UnwrapRef readonly useVModels: UnwrapRef readonly useVibrate: UnwrapRef diff --git a/apps/app/src/components-v2/layout/AppBreadcrumb.vue b/apps/app/src/components-v2/layout/AppBreadcrumb.vue index 26af0ab0..fac871cf 100644 --- a/apps/app/src/components-v2/layout/AppBreadcrumb.vue +++ b/apps/app/src/components-v2/layout/AppBreadcrumb.vue @@ -2,21 +2,16 @@ /** * AppBreadcrumb — layout primitive per RFC-WS-PRIMEVUE-PLAN-2-5 AD-2.5-B1. * - * Consumes `useNavBreadcrumb` (registry-driven; data derives from + * Consumes `useBreadcrumb` (registry-driven; data derives from * APP_NAVIGATION + the current route name). Wired into AppTopbar in P5 - * (RFC §5.2 Fix 2) — standalone in P1. - * - * Naming note: imports `useNavBreadcrumb` (not the literal `useBreadcrumb` - * the AD specifies) because the legacy meta-based `useBreadcrumb` is still - * consumed by AppTopbar; P1 may not touch AppTopbar (P4–P6 scope). P4 - * retires the legacy API and renames `useNavBreadcrumb` → `useBreadcrumb`. + * (RFC §5.2 Fix 2). */ import { computed } from 'vue' import Breadcrumb from 'primevue/breadcrumb' -import { useNavBreadcrumb } from '@/composables/useBreadcrumb' +import { useBreadcrumb } from '@/composables/useBreadcrumb' -const crumbs = useNavBreadcrumb() +const crumbs = useBreadcrumb() const items = computed(() => crumbs.value.map(c => ({ diff --git a/apps/app/src/components-v2/layout/AppSidebar.vue b/apps/app/src/components-v2/layout/AppSidebar.vue index 355a2c92..5607e1a3 100644 --- a/apps/app/src/components-v2/layout/AppSidebar.vue +++ b/apps/app/src/components-v2/layout/AppSidebar.vue @@ -25,6 +25,13 @@ * source), but @/config/navigation is the unclassified central registry * and is consumed in-place by SidebarNav. * + * Vertical order (Plan 2.5 P5 Fix 3): SidebarHeader → SidebarNav → + * WorkspaceSwitcher (bottom-anchored). The bottom anchoring is achieved + * by SidebarNav's root