diff --git a/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte b/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte index 7f5522bc56..9bf35711a6 100644 --- a/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte +++ b/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte @@ -943,7 +943,14 @@ ` placeholder, and the trail would name that instead of the path Deploy + // will create. Same chain the rename sites read, and what the editor's own bar showed. + kind: 'app', + path: newEditedPath || $appPath || newPath || undefined, + summaryContent: appSummary + }} actions={appHeaderActions} contexts={headerContexts} /> @@ -979,16 +986,19 @@ {#snippet appSummary()} - ($summary = v.trim())} - textClass="text-xs font-medium text-emphasis leading-tight" - class="max-w-full min-w-0" - /> + breadcrumb, which this editor renames from its deploy drawer. `title` so a summary the + band truncates can still be read, the way the editor's own bar did it. --> +
+ ($summary = v.trim())} + textClass="text-xs font-medium text-emphasis leading-tight" + class="max-w-full min-w-0" + /> +
{/snippet} {#snippet appHeaderActions()} @@ -1213,11 +1223,10 @@ - -
- -
+ - - - - + + {#if !phoneTopbar} {#snippet fallback()} diff --git a/frontend/src/lib/components/sidebar/navPages.ts b/frontend/src/lib/components/sidebar/navPages.ts index 1c4668a229..b9dc2eff63 100644 --- a/frontend/src/lib/components/sidebar/navPages.ts +++ b/frontend/src/lib/components/sidebar/navPages.ts @@ -17,10 +17,11 @@ import type { OperatorPageKey } from './operatorRoutes' * The names the page header's breadcrumb gives the workspace's own pages, and the rows the * sidebar's main group is built from. * - * Every entry names a page for the breadcrumb. Only the entries `SidebarContent`'s - * `MAIN_MENU_EXTRAS` also lists become sidebar links from here — Schedules, HTTP routes, Workers - * and Audit logs are grouped differently there and carry their own row, so for those four the - * `icon` and `operatorKey` below go unread. Keep the labels in step with those rows by hand. + * Every entry names a page for the breadcrumb, and its `icon` goes there too. Only the entries + * `SidebarContent`'s `MAIN_MENU_EXTRAS` also lists become sidebar links from here — Schedules, + * HTTP routes, Workers and Audit logs are grouped differently there and carry their own row, so + * for those four the `operatorKey` below goes unread. Keep the labels in step with those rows by + * hand. */ export type NavPage = { label: string