Marshall Bowers
bfcf2ff2d0
Inline buttons
2023-12-20 17:31:36 -05:00
Marshall Bowers
143ef14117
Style replace input
2023-12-20 17:25:38 -05:00
Marshall Bowers
9b7d6cd4f6
Improve spacing of items in buffer search bar
2023-12-20 17:10:27 -05:00
Marshall Bowers
8a0c95d729
Increase toolbar padding
2023-12-20 17:03:44 -05:00
Marshall Bowers
7346ed8a43
Don't apply the gap when we don't have any items in the first row
2023-12-20 17:02:15 -05:00
Marshall Bowers
28942699d0
Tighten up project share notifications
2023-12-20 16:06:59 -05:00
Marshall Bowers
2990c17cb1
Style incoming call notifications
2023-12-20 15:59:01 -05:00
Piotr Osiewicz
469d82beec
chore: Remove 'db' dependency from recent_projects2 ( #3740 )
...
It was pulling in gpui1 into zed2 build.
Release Notes:
- N/A
2023-12-20 20:38:37 +01:00
Marshall Bowers
31c90694c5
Style notification panel ( #3741 )
...
This PR makes a first pass at styling the notification panel.
#### Signed out
<img width="381" alt="Screenshot 2023-12-20 at 11 41 25 AM"
src="https://github.com/zed-industries/zed/assets/1486634/f045fa17-4ebc-437f-a25b-d7695d47f18b ">
#### No notifications
<img width="380" alt="Screenshot 2023-12-20 at 11 44 23 AM"
src="https://github.com/zed-industries/zed/assets/1486634/3a7543f2-8cd8-4788-8059-d5663f5f6b4c ">
#### Notifications
<img width="386" alt="Screenshot 2023-12-20 at 1 27 08 PM"
src="https://github.com/zed-industries/zed/assets/1486634/13b81722-c47a-4c06-b37d-e6515cbfdb9d ">
Release Notes:
- N/A
2023-12-20 14:06:33 -05:00
Marshall Bowers
0172f5c5fb
Fix text wrapping issues with overflow_hidden
...
This seems to influence sizing calculations in ways I don't fully understand.
2023-12-20 13:25:17 -05:00
Joseph T. Lyons
2eb5620acf
collab 0.32.0
2023-12-20 13:15:44 -05:00
Marshall Bowers
78bf2f1dc3
Fix positioning of right items
2023-12-20 13:05:21 -05:00
Joseph T. Lyons
a7310e1854
v0.119.x dev
2023-12-20 13:00:01 -05:00
Max Brunsfeld
97a2a84b3d
Assign draw order to surfaces using plane splitter ( #3739 )
...
It looks like we neglected to incorporate surfaces into the
plane-splitting code path, which assigns each graphics primitive's draw
order.
This fixes an issue where screensharing frames were not visible when the
screenshare tab was zoomed.
2023-12-20 09:54:03 -08:00
Marshall Bowers
6da1ec85f8
Add text wrapping to notifications
2023-12-20 12:48:30 -05:00
Marshall Bowers
db25c34997
Remove unneeded wrapping element
2023-12-20 12:45:18 -05:00
Max Brunsfeld
8d05a82864
Assign draw order to surfaces using plane splitter
2023-12-20 09:43:04 -08:00
Julia
b1430c8cd7
Reintroduce LSP diagnostic/status message ( #3728 )
...
Release Notes:
- N/A
2023-12-20 12:23:36 -05:00
Julia and Marshall Bowers
7b01ac9c2b
Use ButtonLike rather than ad-hoc button
...
Co-Authored-By: Marshall Bowers <marshall@zed.dev >
2023-12-20 12:15:13 -05:00
Antonio Scandurra
b545b0e7fa
Prevent ArenaRef from being cloned ( #3738 )
...
This could cause multiple mutable references to be acquired for the same
arena element, which is unsafe. I didn't see it cause problems in
practice, but I realized this could have been a problem and fixed it
before it bit us.
Release Notes:
- N/A
2023-12-20 17:52:16 +01:00
Marshall Bowers
e9c8cb033b
Style signed-out and empty states for the notification panel
2023-12-20 11:45:18 -05:00
Marshall Bowers
6d5851e3cc
Fix formatting breakage
2023-12-20 11:41:51 -05:00
Antonio Scandurra
0c0a6ee574
Prevent ArenaRef from being cloned
2023-12-20 17:32:59 +01:00
Julia
1373ddbce4
Avoid workspace use while leased
2023-12-20 11:28:56 -05:00
Kirill Bulatov
5519557944
Close syntax tree view menu on click too
2023-12-20 18:28:32 +02:00
Marshall Bowers
2c6416234e
Adjust styles for notification panel container
2023-12-20 11:27:28 -05:00
Kirill Bulatov
12688b6f59
Rework context menu's custom element API to handle clicks properly
2023-12-20 18:23:09 +02:00
Kirill Bulatov
ee49603e93
Lsp log selector fixes
2023-12-20 18:23:09 +02:00
Kirill Bulatov and Antonio Scandurra
9a3c097636
Fix remaining z-index bugs
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2023-12-20 18:23:09 +02:00
Kirill Bulatov
7b0bd1aa28
Syntax tree panel style fixes
2023-12-20 18:23:08 +02:00
Kirill Bulatov
d7baad214a
Remove temporary imports, fix syntax_tree_view
2023-12-20 18:23:08 +02:00
Kirill Bulatov
d9bce6d75b
Use stock gpui2 ui components
2023-12-20 18:23:08 +02:00
Kirill Bulatov
a3573d9b4c
Display something
2023-12-20 18:23:08 +02:00
Kirill Bulatov
cff6dd2450
Add new panels into zed2
2023-12-20 18:23:08 +02:00
Kirill Bulatov
6afd8661c0
Uncomment tests
2023-12-20 18:23:08 +02:00
Kirill Bulatov
8147706439
Finish all but the styling
2023-12-20 18:23:08 +02:00
Kirill Bulatov
da8c4e8ae3
Apply more fixes to the visual part
2023-12-20 18:23:08 +02:00
Kirill Bulatov
8b78f3b3f0
First fixes
2023-12-20 18:23:08 +02:00
Kirill Bulatov
401c06935e
Create a new crate
2023-12-20 18:23:08 +02:00
Marshall Bowers
04bfd3f7fe
Style links in terminal ( #3736 )
...
This PR styles links in the terminal using the colors from the theme.
Release Notes:
- N/A
2023-12-20 10:57:15 -05:00
Nathan Sobo and Antonio
d53458ed58
Perform a bounds check when allocating in the arena
...
This ensures we don't invoke undefined behavior when overflowing.
Co-Authored-By: Antonio <antonio@zed.dev >
2023-12-20 08:20:00 -07:00
Antonio Scandurra
98eae94aa2
Show button as selected if screen sharing is on
2023-12-20 14:17:15 +01:00
Antonio Scandurra
7043312451
Render disconnected overlay when project becomes readonly
2023-12-20 14:10:59 +01:00
Antonio Scandurra
41b1b8c2ac
Disable focus when disconnecting from host
2023-12-20 14:10:56 +01:00
Antonio Scandurra
a191e527bf
Introduce InteractiveElement::capture_any_mouse_{down,up}
2023-12-20 14:00:12 +01:00
Antonio Scandurra
d80c00a981
Use InteractiveBounds everywhere we change the cursor style
2023-12-20 13:59:52 +01:00
Piotr Osiewicz
f1d3cab4be
Popover buttons titlebar ( #3732 )
...
Migrate project picker/vcs menu to use popover_menu.
Release Notes:
- N/A
2023-12-20 12:47:53 +01:00
Antonio Scandurra
4a9545870f
Fix sluggish experience when dragging tabs
...
The problem was caused by a missing call to `WindowContext::notify` when
moving the mouse. Actually, we *did* notify as part of a `MouseMoveEvent`
listener registered in `Interactivity` but that code path was never
exercised because we were clearing the `pending_mouse_down`.
This commit fixes the issue by automatically redrawing the window in gpui
when there is an active drag and the mouse moves.
2023-12-20 11:21:55 +01:00
Max Brunsfeld
a4122f387c
Ensure that new view observers are called by WindowContext::replace_root_view
2023-12-19 17:04:42 -08:00
Max Brunsfeld
a321beb15e
Fix layout of diagnostic blocks ( #3729 )
...
Previously, all of the lines in a multi-line error message were painted
on top of each other. I also simplified the logic for highlighting
backtick-enclosed ranges in a diagnostic message.
2023-12-19 15:49:56 -08:00