Skip to content

diffhub@0.2.0

Choose a tag to compare

@github-actions github-actions released this 30 May 23:16
· 124 commits to main since this release
7f91b49

Minor Changes

  • 975bef7: Migrate the diff viewer to the virtualization-first CodeView component 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-file PatchDiff loop and the hand-rolled scale layer (scroll anchoring,
    min-height pinning, IntersectionObserver activation, and deferred-render
    placeholders) — all of which CodeView now owns natively. Comments, split/
    unified layout, theming, collapse/expand, and sidebar navigation are preserved.

  • 43a7524: Migrate the file-tree sidebar to the virtualization-first FileTree from
    @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.