Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e6bab11
docs(diff): specify a GitHub-style diff view
LeadcodeDev Aug 29, 2026
3e4a194
docs(diff): correct the spec where the selection API contradicts it
LeadcodeDev Aug 29, 2026
f25ae54
docs(diff): plan the GitHub-style diff view
LeadcodeDev Aug 29, 2026
03c78c3
feat(diff): derive a flat row model from a patch
LeadcodeDev Aug 29, 2026
a711991
fix(diff): restore original doc comments and use single mod-level dea…
LeadcodeDev Aug 29, 2026
1bfdb16
feat(diff): pair deletions with additions for a side-by-side view
LeadcodeDev Aug 29, 2026
1b287a0
feat(diff): give rows their own palette, carrying the contrast reason…
LeadcodeDev Aug 29, 2026
996cf6f
feat(diff): render the diff as rows with selectable code
LeadcodeDev Aug 29, 2026
7ffbcac
perf(diff): lay out only the rows on screen
LeadcodeDev Aug 29, 2026
0073631
fix(diff): skip the shaper for a row the selection covers whole
LeadcodeDev Aug 29, 2026
6dafce9
feat(diff): persist the chosen diff view mode
LeadcodeDev Aug 29, 2026
cc9665f
refactor(diff): remove doc comments from diff view mode functions
LeadcodeDev Aug 29, 2026
9cffd4a
feat(diff): add a side-by-side view behind a persisted toggle
LeadcodeDev Aug 29, 2026
3e8b697
fix(diff): clear the selection when the diff underneath it changes
LeadcodeDev Aug 29, 2026
3fac490
perf(diff): derive the row model once per patch rather than once per …
LeadcodeDev Aug 29, 2026
1e71f41
fix(diff): restore copying and selecting a whole diff
LeadcodeDev Aug 29, 2026
2cf4eeb
fix(diff): tint the markers by origin and measure the plates against …
LeadcodeDev Aug 29, 2026
e298303
docs(detail): drop the last references to the diff editor
LeadcodeDev Aug 29, 2026
0aecff1
docs(diff): bring the design note in line with what was built
LeadcodeDev Aug 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ gpui = { git = "https://github.com/zed-industries/zed" }
gpui_platform = { git = "https://github.com/zed-industries/zed", features = ["font-kit"] }
gpui-component = { git = "https://github.com/longbridge/gpui-component", features = ["tree-sitter", "tree-sitter-diff", "tree-sitter-rust"] }
gpui-component-assets = { git = "https://github.com/longbridge/gpui-component" }
gpui-base = { git = "https://github.com/longbridge/gpui-component" }

gix = "0.86"
notify = "8.2"
Expand Down
1 change: 1 addition & 0 deletions crates/ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ graph.workspace = true
vcs.workspace = true
gpui.workspace = true
gpui-component.workspace = true
gpui-base.workspace = true
anyhow.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand Down
138 changes: 0 additions & 138 deletions crates/ui/src/detail/decorations.rs

This file was deleted.

49 changes: 0 additions & 49 deletions crates/ui/src/detail/diff.rs

This file was deleted.

Loading
Loading