perf(ui): smoother editor scrolling, tab switching and first file open (#4633)

Removes selectors that restyled whole subtrees on every inserted editor line or focus change (CodeMirror via a pnpm patch; selectorCost.test.ts guards them), measures space width once per font, shares one tooltip host, builds tab menus lazily, caches parsed SVG icons, prewarms an off-screen editor at idle, stats project-tree entries in parallel, and keeps the Git tool window at its size during a live window resize. Verified with full vitest, typecheck, ide-vfs cargo test and clippy, gitLog e2e, and a window resize in the app.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-20 09:13:29 +08:00
1 джерело 737afc6a8d
коміт f4a7a7bafb
33 files changed
+614 -167

No files matched your search

+1 -1
Переглянути файл
@@ -37,7 +37,7 @@
flex: none;
align-items: center;
}
.stack > * + * {
.stack > :where(:not(:first-child)) {
margin-left: calc(var(--overlap) * -1);
}
.stack > .ringed + .ringed {