完善客户端模块与工作区能力
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-08-13 19:45:30 +08:00
parent 0148b91a15
commit 22add3f01f
97 changed files with 4756 additions and 3226 deletions

View File

@@ -54,6 +54,14 @@ describe('light visual system', () => {
expect(uiSource).not.toMatch(/#3A5578|#F2F5F8|#4b6385|bg-sky-500/i);
});
it('does not reserve synthetic height for chat transcript message wrappers', () => {
const globalsSource = readSource('styles/globals.css');
const transcriptRule = globalsSource.match(/\.chat-transcript-message\s*\{[^}]*\}/)?.[0] ?? '';
expect(transcriptRule).not.toContain('content-visibility');
expect(transcriptRule).not.toContain('contain-intrinsic-size');
});
it('uses bundled mixed-script typography with language-aware fallbacks', () => {
const globalsSource = readSource('styles/globals.css');
const tailwindSource = readFileSync(join(process.cwd(), 'tailwind.config.js'), 'utf8');