refactor(*): 代码质量 - 优化前后端实现并完善协议与画布验证

This commit is contained in:
ddcat666 committed 2026-10-08 19:38:57 +08:00
1 parent 9be3aa8235
commit 87ecb3000c
724 files changed
+3045 -3884

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ test("editor rail and expanded panel share one restrained glass surface without
const page = readFileSync(new URL("../src/pages/canvas/project.tsx", import.meta.url), "utf8");
const panel = component("canvas-workspace-panel.tsx");
const styles = component("canvas-workspace-panel.css");
expect(page).toContain('<InfiniteCanvas');
expect(page).toContain('<CanvasViewport');
expect(page).not.toContain("canvas-workspace-backdrop");
expect(page).toContain("canvas-main-with-workspace");
expect(styles).toContain(".canvas-main-with-workspace .canvas-editor-shell {\n z-index: 0;");