mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-26 02:06:49 +00:00
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:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user