From 3c74ce08477a1dced895d929ee7bec2518dfda5a Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Fri, 9 Oct 2026 07:47:53 -0700 Subject: [PATCH] fix: open the navigation picker among the current page's siblings Co-Authored-By: Claude Opus 5.5 (1M context) --- .../lib/components/BreadcrumbNavPicker.svelte | 7 +++---- .../sessions/PreviewRouterPicker.svelte | 17 ++++++++++------- .../lib/components/sessions/previewPaths.ts | 1 + .../lib/components/sessions/previewRouter.ts | 2 ++ .../src/lib/components/workspaceTree.test.ts | 13 ++++++++++++- frontend/src/lib/components/workspaceTree.ts | 19 ++++++++++--------- 6 files changed, 38 insertions(+), 21 deletions(-) diff --git a/frontend/src/lib/components/BreadcrumbNavPicker.svelte b/frontend/src/lib/components/BreadcrumbNavPicker.svelte index c12ee93a3b..7ceb380e44 100644 --- a/frontend/src/lib/components/BreadcrumbNavPicker.svelte +++ b/frontend/src/lib/components/BreadcrumbNavPicker.svelte @@ -4,8 +4,8 @@ The chevron after the breadcrumb's last segment: it opens the same picker a sess uses — the workspace pages, then the folders with their flows, scripts and apps — and picking a row navigates the app there. -It lands where the page is: an item's folder with the item highlighted, or a page highlighted at -the root, so moving to a sibling is one step rather than a drill from the top. +It lands among the current page's siblings: an item opens in its folder with the item +highlighted, a workspace page inside Pages with that page highlighted. -->