Skip to content

Use GPUI Kit diff component for checkout review - #33

Merged
domenkozar merged 1 commit into
mainfrom
feat/gpui-kit-diff
Oct 13, 2026
Merged

domenkozar merged 1 commit into
mainfrom
feat/gpui-kit-diff

Conversation

@domenkozar

Copy link
Copy Markdown
Member

Replace the local checkout diff renderer with GPUI Kit 0.7.3's read-only Diff component. Code text is selectable, Unified keeps horizontal scrolling, and Split wraps long lines so both sources stay visible in narrow panels.

Files start collapsed. Clicking the filename, change counts, or blank header space expands or collapses the file, and the chevron still toggles exactly once. Colored + and - counts follow each filename. Refreshes preserve file expansion choices and leave unchanged content untouched; binary and empty-file notes remain visible.

Update native-theme-gpui to 0.6.1 for the new icon variants and restore workspace focus when switching to an empty view so global shortcuts continue working. Update the Unreleased changelog.

Validation:

  • Formatting checks for the workspace, Web Connect, protocol crate, and reqwest compatibility crate.
  • cargo clippy --workspace --locked --all-targets -- -D warnings.
  • cargo test --workspace --locked: 138 passed, 1 ignored. Includes headless layout and click checks in both modes, refresh state preservation, and patch conversion with quoted paths and multiple hunks.
  • cargo publish --workspace --dry-run --locked: both crates package and verify successfully; nothing published.

Known upstream behavior: installing changed patch content resets scroll and selection. Unchanged refreshes preserve them.

Prepared with Codex assistance.

@domenkozar
domenkozar merged commit 0a69be7 into main Oct 13, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant