3034053
Prevent panels from getting so small they can't be resized (#3788)
Click to expand commit body
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)
Click to expand commit body
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
a03306f
Fix enter, tab and shift-tab behavior in project search 2
Kirill Bulatov
created
dc1ed3c
Titlebar project menu double click (#3784)
Click to expand commit body
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)
Click to expand commit body
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
Click to expand commit body
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)
Click to expand commit body
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
Click to expand commit body
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)
Click to expand commit body
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)
Click to expand commit body
Release Notes:
- N/A
Kirill Bulatov
created
68cf631
Reveal item even if project panel was closed while active entry changed
Click to expand commit body
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)
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
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)
6c46702
Highlight termina on external files drag and drop
Kirill Bulatov
created
3d5b903
Optimize order rendering and border drawing (#3762)
Click to expand commit body
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
Click to expand commit body
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)
Click to expand commit body
This PR adds vertical padding to the picker's empty state.
This matches the styles added in #3769.
Release Notes:
- N/A
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)
Click to expand commit body
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
This PR fixes the names of the Rosé Pine themes.
We want to keep the Unicode "é" in the theme name, both because this is
the actual name of the theme, and also to maintain parity with Zed1.
Release Notes:
- N/A
Marshall Bowers
created
94e22ae
Fix typo in "Noctis Hibernus" theme name (#3770)
Click to expand commit body
This PR fixes a typo in the name of the "Noctis Hibernus" theme.
Release Notes:
- N/A
Marshall Bowers
created
4fb12cb
Add vertical padding to the picker entry list (#3769)
Click to expand commit body
This PR adds vertical padding to the list of picker entries.
This prevents us from ending up with entries squished against the edges
of the picker.
Release Notes:
- N/A
Marshall Bowers
created
5307b75
Add more left padding to title bar (#3768)
Click to expand commit body
This PR adds more left padding to the title bar to achieve the same
positioning of the title bar items that we have in Zed1.
Release Notes:
- N/A
Fixes:
- drag and drop into terminal element does not change its style
- drag and drop terminal tab into main pane then back panics
- can drop non-terminal items into the terminal pane
Release Notes:
- N/A
Julia
created
f3fda80
Prevent drag-dropping non-terminal item into terminal pane
This PR scales down the sizes of items in the status bar.
This brings us more in line with Zed1.
Release Notes:
- N/A
Marshall Bowers
created
e2c3663
Align `Picker` editor with entries (#3765)
Click to expand commit body
This PR re-aligns the `Picker` editor with the entries after the changes
in #3764.
Release Notes:
- N/A
Marshall Bowers
created
be08a0b
Increase spacing of `ListItem`s inside `Picker`s (#3764)
Click to expand commit body
This PR increases the spacing of `ListItem`s inside of `Picker`s to give
the UI some more breathing room.
#### Before
<img width="584" alt="Screenshot 2023-12-21 at 4 36 21 PM"
src="https://github.com/zed-industries/zed/assets/1486634/ed324c0d-e606-4844-b30a-7d5b8b8c9e47">
#### After
<img width="592" alt="Screenshot 2023-12-21 at 4 36 31 PM"
src="https://github.com/zed-industries/zed/assets/1486634/fbbcb230-0048-4310-8e06-07943af6a38e">
Release Notes:
- N/A
Marshall Bowers
created
71a222a
Use sparse spacing for `ListItem`s in `Picker`s
Marshall Bowers
created
dc09dbc
Use a `ListItem` as the empty state for `Picker`s