Skip to content

Releases: victor-software-house/hunk-history

hunk-history 0.0.4

Choose a tag to compare

@any-victor any-victor released this 05 Sep 22:03

Files and History in one sidebar

  • Switch Files/History immediately using full-width, hover-highlighted tabs. Each tab remembers its scroll position.
  • s hides or shows the entire sidebar, preserving the active tab. h switches tabs without changing visibility.
  • Native-style file navigation preserves ordering, rename labels, status colors and stats, with a thinner half-cell selection marker.
  • Staged and unstaged changes use plain colored S / W status letters, not shortcut-style brackets.
  • Keep pagination feedback visible and show animated loading in a fixed status area.
  • Scroll complete commit bodies at the chosen pane height; selecting another commit no longer resizes the message pane.
  • Preserve immediate single clicks, remount-safe double-click ranges, live history and pinned comparisons.

The extension uses Hunk's published replacement-pane API. Hunk still owns diff rendering, file selection and comments. Native file navigation is vendored with MIT attribution and pinned provenance.

Install

hunk extension install victor-software-house/hunk-history@v0.0.4

Existing unpinned installations can use hunk extension update hunk-history. Restart existing Hunk windows after preserving review notes. Existing hunk-history.files mappings now toggle the whole sidebar, just like native s.

Verified against Hunk 0.21.1 / extension API 16: typecheck and 110 tests, including full-tab backgrounds and whitespace clicks at even and odd widths, selected-file alignment, scrolling, range gestures and live Git history.

hunk-history 0.0.3

Choose a tag to compare

@any-victor any-victor released this 05 Sep 19:18

Changes

  • Live, paginated history follows new commits independently of the selected comparison.
  • Immediate single clicks and double-click range selection preserved across reloads.
  • Compact staged and unstaged review rows.
  • hunk history instructions exposes the bundled skill with organized help and argument validation.
  • h restores Files only if Files was visible before History opened; otherwise it hides History without opening Files. Explicit Files and exclusive s behavior remain unchanged.

Compatibility

Targets Hunk 0.21.1 and requires extension API 16. Native session commands remain the review-control interface.

Verification

Typecheck, 82 Node tests, 16 rendered pane tests, and real-host toggle verification passed.

Retag notice

The v0.0.3 tag was moved from cc7b8f5 to include the Files-visibility correction, as requested. Existing 0.0.3 installations must update again to obtain this fix.

Install

hunk extension install victor-software-house/hunk-history@v0.0.3

Existing unpinned installs: hunk extension update hunk-history. Restart Hunk to load updated code, preserving review notes first.

hunk-history 0.0.2

Choose a tag to compare

@any-victor any-victor released this 05 Sep 05:13

Changes

  • Double-click either commit endpoint, then click the other to apply an inclusive range in either direction. Escape cancels.
  • Immediate selection feedback for normal clicks and range requests, with loading state kept separate from the loaded diff.
  • Compact single-sidebar layout, continuous range highlights, and hover feedback.
  • Exclusive Files/Commits shortcuts through the documented s keybinding override.
  • Explicit review scope, preserved full commit timestamps, and failed-load selection integrity.

Install or update

hunk extension install victor-software-house/hunk-history@v0.0.2
# Existing default-branch installations:
hunk extension update hunk-history

Restart Hunk after updating. Configure the Files shortcut as documented in the README to make h and s mutually exclusive.

Git-based distribution only; no npm package publication.

Verification

Typecheck, 81 unit tests, and 10 rendered pointer tests pass. The interaction was also checked in a live Hunk session.