feat: merge accepted frontend design updates

This commit is contained in:
2026-09-12 18:12:25 +08:00
parent cde8f377e2
commit 4fd6d66c0e
9 changed files with 560 additions and 94 deletions
+10
View File
@@ -0,0 +1,10 @@
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import test from 'node:test';
test('dock preview is mounted in the workspace rather than inside the moving panel', async () => {
const source = await readFile(new URL('../src/components/FloatingPanel.tsx', import.meta.url), 'utf8');
assert.match(source, /createPortal\(/);
assert.match(source, /workspaceNodeRef\.current,\s*\n\s*\)/);
});