fix(routing): split stack detail URL from compose editor URL (#1605)

Sidebar opens /stacks/:name (anatomy). Monaco uses /compose|/env|/files.
Refresh of a detail URL no longer opens the editor, and editor deep links
keep a hydration shell instead of flashing the dashboard.
This commit is contained in:
Anso
2026-07-09 12:05:36 -04:00
committed by GitHub
parent 7517a4f49c
commit 296ddff2a0
11 changed files with 216 additions and 28 deletions
+4
View File
@@ -349,6 +349,8 @@ export default function EditorLayout() {
isFileLoading,
activeTab,
setActiveTab,
editingCompose,
setEditingCompose,
selectedEnvFile,
envFiles,
loadFileForRoute: stackActions.loadFileForRoute,
@@ -843,6 +845,8 @@ export default function EditorLayout() {
onFleetActiveTabChange={setFleetActiveTab}
renderEditor={renderEditor}
stackUpdates={stackUpdates}
urlHydratingStack={urlHydratingStack}
isFileLoading={isFileLoading}
/>
</div>
);