Skip to content

Commit 6cc78b3

Browse files
hide wip features
1 parent 58939bf commit 6cc78b3

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

editor-packages/editor-dashboard/scaffold/editor-dashboard.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ function DashboardItemCard(
334334
const scene_card_context_menu_items = [
335335
{ title: "View on Canvas", value: "focus" },
336336
{ title: "View Details", value: "isolate" },
337-
{ title: "Open in Diff View", value: "diff" },
337+
// { title: "Open in Diff View", value: "diff" },
338338
{ title: "Open in Figma", value: "open-in-figma" },
339339
] as const;
340340

@@ -399,9 +399,9 @@ function SceneCard(
399399
}
400400
break;
401401
}
402-
case "diff": {
403-
// todo
404-
}
402+
// case "diff": {
403+
// // todo
404+
// }
405405
default: {
406406
throw new Error(`Unknown context menu item ${value}`);
407407
}

editor-packages/editor-isolated-inspection/scaffold/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import useMeasure from "react-use-measure";
77
import { cursors } from "@code-editor/ui";
88
import assert from "assert";
99
import { Navigation } from "./navigation";
10-
import { Toolbar } from "./toolbar";
10+
// import { Toolbar } from "./toolbar";
1111
import { findUnder } from "../utils/find-under";
1212
import { useRenderItemWithPreference } from "editor/scaffolds/canvas/hooks";
1313

@@ -20,7 +20,8 @@ export function EditorIsolatedInspection() {
2020
display: "flex",
2121
}}
2222
>
23-
<Toolbar />
23+
{/* TODO: Add toolbar */}
24+
{/* <Toolbar /> */}
2425
<Navigation />
2526
<VisualContentArea />
2627
</div>

0 commit comments

Comments
 (0)