From 339ca2d4c2590f3df34820a78b8004036da503f0 Mon Sep 17 00:00:00 2001 From: tristantr Date: Mon, 8 Jun 2026 17:56:27 +0200 Subject: [PATCH] fix(deploy-to-hub): use ?tab query param to link to the Apps settings tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Edit in Workspace settings → Apps" link set window.location.hash, but the settings page derives the active tab from ?tab=..., so the link was a dead affordance. Navigate with goto('?tab=default_app') instead. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/lib/components/workspaceSettings/DeployToHub.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/workspaceSettings/DeployToHub.svelte b/frontend/src/lib/components/workspaceSettings/DeployToHub.svelte index 920e5c6488..c818cfe447 100644 --- a/frontend/src/lib/components/workspaceSettings/DeployToHub.svelte +++ b/frontend/src/lib/components/workspaceSettings/DeployToHub.svelte @@ -28,6 +28,7 @@ ScheduleService } from '$lib/gen' import { workspaceStore } from '$lib/stores' + import { goto } from '$app/navigation' import { computeSecretUrl } from '$lib/components/apps/editor/appDeploy.svelte' import { buildProjectBundle, @@ -1924,12 +1925,12 @@ {/if} { e.preventDefault() publishDrawer?.closeDrawer() - window.location.hash = 'default_app' + goto('?tab=default_app') }} > Edit in Workspace settings → Apps