diffhub@0.2.0
Minor Changes
-
975bef7: Migrate the diff viewer to the virtualization-first
CodeViewcomponent from
@pierre/diffs(upgraded to 1.2.4). The entire change set now renders in a
single virtualized surface that scales to thousands of files, replacing the
per-filePatchDiffloop and the hand-rolled scale layer (scroll anchoring,
min-heightpinning, IntersectionObserver activation, and deferred-render
placeholders) — all of whichCodeViewnow owns natively. Comments, split/
unified layout, theming, collapse/expand, and sidebar navigation are preserved. -
43a7524: Migrate the file-tree sidebar to the virtualization-first
FileTreefrom
@pierre/trees, replacing the hand-rolled tree (manual tree-building, folder
compaction, and per-row rendering) with a single virtualized surface that scales
to thousands of files. Git-status colouring, VS Code-style folder compaction,
comment-count badges, filter search, and scroll-driven active-file sync are
preserved and mapped onto the package's native model API.The sidebar is rebuilt to full "Diffs and Trees" parity: a toolbar (file
tree / comments-only / search), collapsible Diff Stats (F2) and System
Monitor (F3) panels driven by the existing diff stats and file-watcher status,
and a "Powered by Diffs and Trees" footer.
Patch Changes
- 1f65c95: Refine the diff toolbar: merge the "Live" status pill and refresh button into a
single status dot that doubles as force-refresh (showing a spinner while
updating), use action-convention icons for the collapse/expand and split/unified
toggles so each icon matches its tooltip, and default the sidebar to expanded on
launch.