c6f3f43
Fix mouse listeners' z-index for editor
Kirill Bulatov created
c6f3f43
Fix mouse listeners' z-index for editor
Kirill Bulatov created
ca7e504
titlebar: show "Share project" button only in local projects. (#3795)
Fixes '"Share" button is shown even for remote projects'. Release Notes: - N/A
Piotr Osiewicz created
1ebfafc
Map additional text colors from Zed1 themes (#3796)
This PR maps additional text colors from the Zed1 themes to the Zed2 themes. Release Notes: - N/A
Marshall Bowers created
9600337
Properly color file labels in project panel
Kirill Bulatov created
b501f4e
Begin porting Zed1 themes to Zed2 (#3793)
This PR is a first pass at porting the Zed1 themes to Zed2. For the initial release of Zed2 we'll be shipping just the themes that existed in Zed1, ported to Zed2. The new themes that were previously added just in Zed2 have been removed. Release Notes: - N/A
Marshall Bowers created
a1bd636
Fix multibuffer scroll by reordering z-index of its elements (#3792)
1. Blocks (with their headers) and mouse listeners should be drawn together otherwise either starts to loose mouse events. 2. Scrollbar should be above all to match zed1 look and avoid buffer headers popping slightly to the right of the scrollbar. Release Notes: - N/A
Kirill Bulatov created
764a275
Fix multibuffer scroll by reordering z-index of its elements
1. Blocks (with their headers) and mouse listeners should be drawn together otherwise either starts to loose mouse events. 2. Scrollbar should be above all to match zed1 look and avoid buffer headers popping slightly to the right of the scrollbar.
Kirill Bulatov created
dc64411
Extend `theme_importer` in preparation for importing Zed1 themes (#3791)
This PR extends the `theme_importer` with the overall structure required to support importing themes from Zed1. Release Notes: - N/A
Marshall Bowers created
c34a811
Fix panic when deploying emoji picker (character palette) (#3790)
The panic was caused by Cocoa synchronously invoking the `selected_text_range` method on the registered input handler while we already had a borrow of the app. This pull request fixes this issue by showing the character palette on the next tick of the loop (we've had this problem in other spots too and used the same technique). Release Notes: - N/A
Antonio Scandurra created
7ef2ddd
Disambiguate GPUI2 macOS class names (#3789)
This PR disambiguates the macOS class names used in GPUI2 from the ones used in GPUI1. Right now if you happen to end up with a copy of both `gpui` and `gpui2` in the dependency tree you get an unhelpful `unwrap` error when we try to build the class names. By giving them different names we are able to get to our more helpful error that informs you that both GPUI1 and GPUI2 are in the module tree. We can change these names back once we do the big "un-2-ing". Release Notes: - N/A
Marshall Bowers created
9a6688b
Fix panic when deploying emoji picker (character palette)
The panic was caused by Cocoa synchronously invoking the `selected_text_range` method on the registered input handler while we already had a borrow of the app. This commit fixes this issue by showing the character palette on the next tick of the loop (we've had this problem in other spots too and used the same technique).
Antonio Scandurra created
3034053
Prevent panels from getting so small they can't be resized (#3788)
This also switches to using `Pixels` instead of `f32` to store the panel size everywhere. Release Notes: - N/A
Antonio Scandurra created
961d833
Prevent panels from getting so small they can't be resized
Antonio Scandurra created
3715ddf
Use `Pixels` instead of `f32` for panel size
Antonio Scandurra created
25a5eda
picker: Reintroduce headers and footers (#3786)
Update VCS menu to match Zed1. <img width="444" alt="image" src="https://github.com/zed-industries/zed/assets/24362066/6cb27510-f501-46bc-862f-1fb78006b77c"> Release Notes: - N/A
Piotr Osiewicz created
87ff5f0
Fix resizing for bottom dock (#3787)
We were not using `flex` on the `PaneGroup`, which caused the bottom dock to be unable to satisfy the desired resize value. Release Notes: - N/A
Antonio Scandurra created
54e4530
Fix resizing for bottom dock
We were not using `flex` on the `PaneGroup`, which caused the bottom dock to be unable to satisfy the desired resize value.
Antonio Scandurra created
f3ab5ce
Fix enter, tab and shift-tab behavior in project search 2 (#3785)
Kirill Bulatov created
2f4cedb
Remove the old code
Kirill Bulatov created
a03306f
Fix enter, tab and shift-tab behavior in project search 2
Kirill Bulatov created
dc1ed3c
Titlebar project menu double click (#3784)
This addresses a bug where popover menus in the titlebar were rendered only after a 2nd click. The first click was creating the View which the second one then rendered. In addition to this, `PopoverMenu::menu` function argument can now return an `Option<View<T>>` instead of `View<T>` as the creation of the menu can fail (as it might in case of git popover). Release Notes: - N/A
Piotr Osiewicz created
5de32f7
Do not display a getting start message when the project is open
Kirill Bulatov created
172e434
Allow horizontal scrolling of tab bar on vertical mouse wheel (#3783)
Now, if we receive a scroll event for an axis, but that axis can't be scrolled (overflow != scroll), we will apply it to the opposite axis instead if that axis supports scrolling. Release Notes: - N/A
Antonio Scandurra created
dd09347
Allow horizontal scrolling of tab bar on vertical mouse wheel
Now, if we receive a scroll event for an axis, but that axis can't be scrolled (overflow != scroll), we will apply it to the opposite axis instead if that axis supports scrolling.
Antonio Scandurra created
15bf131
Dismiss mention notification when `x` icon is clicked (#3782)
We were emitting the wrong kind of event, which caused the workspace to never remove the notification. Release Notes: - N/A
Antonio Scandurra created
2f3b408
Dismiss mention notification when `x` icon is clicked
We were emitting the wrong kind of event, which caused the workspace to never remove the notification.
Antonio Scandurra created
bb93144
Reveal item even if project panel was closed while active entry changed (#3781)
The project panel was actually working just fine, the problem was due to `UniformList` not re-hydrating the element state's scroll offset when being rendered again. Release Notes: - N/A
Antonio Scandurra created
4e3337f
Restore zoom buttons in pane tab bars, fix + button in the terminal one (#3780)
Release Notes: - N/A
Kirill Bulatov created
68cf631
Reveal item even if project panel was closed while active entry changed
The project panel was actually working just fine, the problem was due to `UniformList` not re-hydrating the element state's scroll offset when being rendered again.
Antonio Scandurra created
420253a
Restore zoom buttons in pane tab bars, fix + button in the terminal one
Kirill Bulatov created
061bcf1
Fix dismissing context menu when clicking on an item dispatched action (#3779)
Release Notes: - N/A
Antonio Scandurra created
62aea41
Fix panic in completions menu (#3778)
We were shifting all the positions while keeping the original string, which caused problems later when combining highlighted ranges with matched indices. Release Notes: - N/A
Antonio Scandurra created
c1ad079
Fix dismissing context menu when clicking on an item dispatched action
Antonio Scandurra created
a551647
Fix panic in completions menu
We were shifting all the positions while keeping the original string, which caused problems later when combining highlighted ranges with matched indices.
Antonio Scandurra created
e3eafdb
Move multibuffer "go to file" button into the buffer header (#3777)
Release Notes: - N/A
Kirill Bulatov created
4d5ff77
Fix the tests
Kirill Bulatov created
169266b
Slow down sampling metric collection rate (#3775)
Release Notes: - N/A
Joseph T. Lyons created
d36ec81
Move multibuffer "go to file" button into the buffer header
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
fce31b7
Remove the warnings from element.rs
Kirill Bulatov created
41ff37d
Slow down sampling metric collection rate
Joseph T. Lyons created
854907d
Fix context menu in tab bar (#3776)
Release Notes: - N/A
Antonio Scandurra created
3de72f8
Fix context menu in tab bar
Antonio Scandurra created
6c46702
Highlight termina on external files drag and drop
Kirill Bulatov created
3d5b903
Optimize order rendering and border drawing (#3762)
Reverts zed-industries/zed#3761 There was a bug in the previous implementation of `BatchIterator` that was being masked by how we were using the BSP tree. The bug caused us to render primitives without honoring the `PrimitiveKind` implicit ordering.
Antonio Scandurra created
01ce204
Avoid painting a background quad if it is fully transparent
Antonio Scandurra created
2a516ec
Honor `PrimitiveKind` ordering when `order` is the same
This was a bug in the previous implementation that was being masked by how we were using BSP.
Antonio Scandurra created
48ad53b
Revert "Revert "Optimize order rendering and border drawing""
Antonio Scandurra created
2659b27
Add vertical padding to the picker empty state (#3774)
This PR adds vertical padding to the picker's empty state. This matches the styles added in #3769. Release Notes: - N/A
Marshall Bowers created
248458c
Indent contacts in collab panel (#3773)
This PR indents contacts in the collab panel. Release Notes: - N/A
Marshall Bowers created
cd91568
Increase the indent step size for the collab panel (#3772)
This PR increases the indent step size for the collab panel. This gives the channel list a clearer hierarchy for nested channels, as well as help align the disclosures with the parent channel's icon. Release Notes: - N/A
Marshall Bowers created