diff --git a/apps/wing-console/console/ui/src/layout/default-layout.tsx b/apps/wing-console/console/ui/src/layout/default-layout.tsx index f3bf172c3db..950f48f0d66 100644 --- a/apps/wing-console/console/ui/src/layout/default-layout.tsx +++ b/apps/wing-console/console/ui/src/layout/default-layout.tsx @@ -306,54 +306,55 @@ export const DefaultLayout = ({ onSelectedEdgeIdChange={setSelectedEdgeId} /> - - -
-
- +
+
+ +
-
- {metadata.data && ( - - )} + {metadata.data && ( + + )} - {selectedEdgeId && edgeMetadata.data && ( - - )} -
- + {selectedEdgeId && edgeMetadata.data && ( + + )} +
+
+ )} diff --git a/apps/wing-console/console/ui/src/layout/layout-provider.tsx b/apps/wing-console/console/ui/src/layout/layout-provider.tsx index c963df9754b..54e507309fc 100644 --- a/apps/wing-console/console/ui/src/layout/layout-provider.tsx +++ b/apps/wing-console/console/ui/src/layout/layout-provider.tsx @@ -9,6 +9,7 @@ export enum LayoutType { Tutorial, Vscode, WingCloud, + Map, } export const LayoutContext = createContext(LayoutType.Default); @@ -94,6 +95,23 @@ export function LayoutProvider({ }; break; } + case LayoutType.Map: { + layoutConfig = { + leftPanel: { + hide: true, + }, + bottomPanel: { + hide: true, + }, + statusBar: { + hide: true, + }, + rightPanel: { + hide: true, + }, + }; + break; + } } return (