Kirill Bulatov
fce31b7ddf
Remove the warnings from element.rs
2023-12-22 12:02:44 +02:00
Antonio Scandurra
854907d721
Fix context menu in tab bar ( #3776 )
...
Release Notes:
- N/A
2023-12-22 10:35:05 +01:00
Antonio Scandurra
3de72f8366
Fix context menu in tab bar
2023-12-22 10:23:27 +01:00
Kirill Bulatov
6c4670287d
Highlight termina on external files drag and drop
2023-12-22 10:45:51 +02:00
Antonio Scandurra
3d5b903f78
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.
2023-12-22 09:40:54 +01:00
Antonio Scandurra
01ce204491
Avoid painting a background quad if it is fully transparent
2023-12-22 09:29:56 +01:00
Antonio Scandurra
2a516ec1e0
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.
2023-12-22 09:24:01 +01:00
Antonio Scandurra
48ad53badd
Revert "Revert "Optimize order rendering and border drawing""
2023-12-22 09:12:18 +01:00
Marshall Bowers
2659b2744a
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
2023-12-21 23:41:24 -05:00
Marshall Bowers
248458cef5
Indent contacts in collab panel ( #3773 )
...
This PR indents contacts in the collab panel.
Release Notes:
- N/A
2023-12-21 23:35:50 -05:00
Marshall Bowers
cd9156886f
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
2023-12-21 23:22:22 -05:00
Marshall Bowers
80143b2571
Fix names for Rosé Pine themes ( #3771 )
...
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
2023-12-21 22:45:29 -05:00
Marshall Bowers
94e22ae515
Fix typo in "Noctis Hibernus" theme name ( #3770 )
...
This PR fixes a typo in the name of the "Noctis Hibernus" theme.
Release Notes:
- N/A
2023-12-21 22:36:40 -05:00
Marshall Bowers
4fb12cb348
Add vertical padding to the picker entry list ( #3769 )
...
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
2023-12-21 22:36:15 -05:00
Marshall Bowers
5307b75b2f
Add more left padding to title bar ( #3768 )
...
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
2023-12-21 22:29:30 -05:00
Julia
051bad734e
Some terminal bugs ( #3767 )
...
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
2023-12-21 18:05:14 -05:00
Julia
f3fda8018f
Prevent drag-dropping non-terminal item into terminal pane
2023-12-21 17:52:29 -05:00
Marshall Bowers
3d1e52297e
Scale down status bar items ( #3766 )
...
This PR scales down the sizes of items in the status bar.
This brings us more in line with Zed1.
Release Notes:
- N/A
2023-12-21 17:42:54 -05:00
Marshall Bowers
e2c36633ea
Align Picker
editor with entries ( #3765 )
...
This PR re-aligns the `Picker` editor with the entries after the changes
in #3764 .
Release Notes:
- N/A
2023-12-21 17:03:57 -05:00
Marshall Bowers
be08a0b2fd
Increase spacing of ListItem
s inside Picker
s ( #3764 )
...
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
2023-12-21 16:43:38 -05:00
Marshall Bowers
71a222abcb
Use sparse spacing for ListItem
s in Picker
s
2023-12-21 16:33:41 -05:00
Marshall Bowers
dc09dbc98c
Use a ListItem
as the empty state for Picker
s
2023-12-21 16:17:04 -05:00
Marshall Bowers
a773a3cb92
Increase horizontal padding for inset ListItem
s
2023-12-21 16:07:55 -05:00
Marshall Bowers
dabc98690c
Use small labels for title bar buttons ( #3763 )
...
This PR adjusts the sizing of the labels in the buttons in the title bar
to use the small label size.
This should bring them more in line with how things looked in Zed1.
Release Notes:
- N/A
2023-12-21 15:48:37 -05:00
Antonio Scandurra
a1fe514411
Revert "Optimize order rendering and border drawing" ( #3761 )
...
Reverts zed-industries/zed#3759
It seems like this is not quite right yet. Reverting until we figure out
what's wrong.
2023-12-21 19:48:59 +01:00
Antonio Scandurra
7cfea09019
Revert "Optimize order rendering and border drawing"
2023-12-21 19:40:03 +01:00
Julia
9efe5a30aa
Fix pane drag target not appearing over terminal element
2023-12-21 13:08:48 -05:00
Julia
31e47f9b52
Prevent panic dragging tab into terminal panel
2023-12-21 12:56:30 -05:00
Joseph T. Lyons
b385373367
Bump tree-sitter-nu rev id ( #3760 )
2023-12-21 12:29:49 -05:00
Antonio Scandurra
cbb2219c4a
Optimize order rendering and border drawing ( #3759 )
...
This fixes the slowdowns we were observing when opening the saved
assistant conversations.
Release Notes:
- N/A
2023-12-21 18:19:39 +01:00
Joseph T. Lyons
38a8aa2d04
Bump tree-sitter-nu rev id
2023-12-21 12:15:27 -05:00
Marshall Bowers
824b68788f
Improve chat panel styling ( #3758 )
...
This PR improves the chat panel styling, especially with regards to the
spacing.
Release Notes:
- N/A
2023-12-21 12:15:11 -05:00
Antonio Scandurra
53a4b711dd
Delete stray comment
2023-12-21 17:55:26 +01:00
Antonio Scandurra
c03c0d50d5
Use smaller quads to draw borders
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-12-21 17:54:13 +01:00
Antonio Scandurra
67f76468f1
Replace BspSplitter
with brute-force sorting of primitives
2023-12-21 16:58:36 +01:00
Marshall Bowers
7a9c4057a7
Increase inline assistant editor's line height ( #3757 )
...
This PR increases the line height for the inline assistant editor.
This fixes an issue where descenders were being clipped.
Release Notes:
- N/A
2023-12-21 10:56:52 -05:00
Antonio Scandurra
a516c3be05
Allow scrolling of saved conversations ( #3756 )
...
Release Notes:
- N/A
2023-12-21 15:42:38 +01:00
Antonio Scandurra
01947ed730
Use existing AnyElement::draw
2023-12-21 15:32:05 +01:00
Antonio Scandurra
5e4557ed16
Fix warnings
2023-12-21 15:27:08 +01:00
Antonio Scandurra
176a022b10
Correctly clamp scroll offset vertically
2023-12-21 15:23:16 +01:00
Antonio Scandurra
e2a4474200
Allow scrolling saved conversations
2023-12-21 15:22:49 +01:00
Joseph T. Lyons
73b527ec8f
Store email address on modal close
2023-12-21 09:04:54 -05:00
Antonio Scandurra
f83d156d7b
Fix clicking on "+" button not working when a tab was underneath ( #3755 )
...
We were mistakenly pushing an opaque layer without intersecting it with
the content mask. Also, we were pushing two opaque layers for the same
div unnecessarily.
Release Notes:
- N/A
2023-12-21 14:57:52 +01:00
Antonio Scandurra
b0ee7b2fb9
Fix clicking on "+" button not working when a tab was underneath
...
We were mistakenly pushing an opaque layer without intersecting it
with the content mask. Also, we were pushing two opaque layers for
the same div unnecessarily.
2023-12-21 14:28:06 +01:00
Kirill Bulatov
8dc691fd6f
Fix Zed2 cli actions: opening notes and joining calls ( #3754 )
...
Release Notes:
- N/A
2023-12-21 14:34:14 +02:00
Kirill Bulatov
b14c07ca54
Fix Zed cli actions: opening notes and joining calls
2023-12-21 14:27:13 +02:00
Antonio Scandurra
ff845cf829
Fix stale scroll position in tab bar ( #3753 )
...
Release Notes:
- N/A
2023-12-21 10:12:45 +01:00
Antonio Scandurra
b38a09526c
Fix stale scroll position in tab bar
2023-12-21 10:03:15 +01:00
Antonio Scandurra
e4904e049f
Fix WindowContext::available_actions
missing some actions ( #3752 )
...
This pull request also allows turning an `ArenaBox` into an `ArenaRef`
when non-mutable access is required, which makes `ArenaRef: Clone`. This
fixes a bug that prevented the command palette from reading all the
available actions while the `command_palette::Toggle` action was being
dispatched.
Release Notes:
- N/A
2023-12-21 09:53:34 +01:00
Antonio Scandurra
c7933a6ad8
Remove stray dbg
2023-12-21 09:44:54 +01:00