ZIm/crates/gpui/src
Mikayla Maki ec5e7a2653
Change the default staging and unstaging state display (#26299)
This adds a setting for the "border" hunk display mode, as discussed,
and makes it the default.

Here's how it looks in light mode:

<img width="1512" alt="Screenshot 2025-03-07 at 11 39 25 AM"
src="https://github.com/user-attachments/assets/a934faa3-ec69-47e1-ad46-535e48b98e9f"
/>

And dark mode: 

<img width="1511" alt="Screenshot 2025-03-07 at 11 39 56 AM"
src="https://github.com/user-attachments/assets/43c9afd1-22bb-4bd8-96ce-82702a6cbc80"
/>


Release Notes:

- Git Beta: Adjusted the default hunk styling for staged and unstaged
changes

Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Nate <nate@zed.dev>
2025-03-07 19:56:24 +00:00
..
app Synchronize modal commit editor with panel editor (#26068) 2025-03-04 21:58:26 +00:00
elements Add StatusToast & the ToastLayer (#26232) 2025-03-06 20:37:54 +00:00
keymap Use Vec for KeyContext instead of SmallVec (#24916) 2025-02-17 12:43:28 -07:00
platform windows: Dock menu impl 2 (#26010) 2025-03-06 12:40:34 +00:00
text_system Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
window gpui: Rename rounded_sm to rounded_xs (#26221) 2025-03-06 16:08:19 +00:00
action.rs Support hunk-wise StageAndNext and UnstageAndNext (#25845) 2025-03-01 02:39:08 +00:00
app.rs windows: Dock menu impl 2 (#26010) 2025-03-06 12:40:34 +00:00
arena.rs Track caller on <usize as ToOffset>::to_offset (#24503) 2025-02-08 15:29:29 +00:00
asset_cache.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
assets.rs repl: Set up a way to copy output from the REPL (#16649) 2024-08-22 15:03:42 -07:00
bounds_tree.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
color.rs Change the default staging and unstaging state display (#26299) 2025-03-07 19:56:24 +00:00
element.rs gpui: Update docs to reflect removal of View, ViewContext, WindowContext (#24008) 2025-01-31 11:40:42 -08:00
executor.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
geometry.rs Fix some visual bugs w/ edit predictions (#24591) 2025-02-10 23:49:08 +00:00
global.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
gpui.rs Revert "Revert recent anti-aliasing improvements (#24289)" and fix selection top right corner radius issue (#24342) 2025-02-06 11:03:23 +02:00
input.rs Implement character index for point (#23989) 2025-02-04 20:15:43 +00:00
interactive.rs Use click event to determine modifier keys (#22988) 2025-01-30 16:40:20 -08:00
key_dispatch.rs Replace Window::parent_view_id() with Window::current_view() (#24212) 2025-02-04 18:50:21 +00:00
keymap.rs Centralize logic around which keybind to display (#25215) 2025-02-20 09:08:12 -05:00
path_builder.rs Revert "Revert recent anti-aliasing improvements (#24289)" and fix selection top right corner radius issue (#24342) 2025-02-06 11:03:23 +02:00
platform.rs windows: Dock menu impl 2 (#26010) 2025-03-06 12:40:34 +00:00
prelude.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
scene.rs Revert "Revert recent anti-aliasing improvements (#24289)" and fix selection top right corner radius issue (#24342) 2025-02-06 11:03:23 +02:00
shared_string.rs Solve 50+ cargo doc warnings (#24071) 2025-02-01 06:19:29 +00:00
shared_uri.rs Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
style.rs gpui: Add restrict_scroll_to_axis to match web scrolling behavior (#25963) 2025-03-03 17:32:08 -05:00
styled.rs gpui: Add underline style method (#24784) 2025-02-24 12:58:20 -05:00
subscription.rs Synchronize modal commit editor with panel editor (#26068) 2025-03-04 21:58:26 +00:00
svg_renderer.rs gpui: Render SVGs at 2x size when rendered in an img (#24332) 2025-02-06 01:05:43 +00:00
taffy.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
test.rs gpui: Update docs to reflect removal of View, ViewContext, WindowContext (#24008) 2025-01-31 11:40:42 -08:00
text_system.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
util.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
view.rs Add more view tracking (#24683) 2025-02-11 19:18:54 +00:00
window.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00