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
Marshall Bowers
created
15f16f0
Move application of content mask and z-index into Interactivity::paint
Click to expand commit body
This allows the content mask to correctly apply to bounds used in event handlers,
which prevents content under opaque borders from being hovered in overflow hidden
containers.
Co-Authored-By: Antonio <antonio@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Nathan Sobo
,
Antonio
, and
Max Brunsfeld
created
da34dd4
Fix text wrapping issues with `overflow_hidden`
Click to expand commit body
This seems to influence sizing calculations in ways I don't fully understand.
a125610
Assign draw order to surfaces using plane splitter (#3739)
Click to expand commit body
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.
90db278
Prevent `ArenaRef` from being cloned (#3738)
Click to expand commit body
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
Antonio Scandurra
created
636c12e
Style signed-out and empty states for the notification panel
Migrate project picker/vcs menu to use popover_menu.
Release Notes:
- N/A
Piotr Osiewicz
created
ed5a9eb
Fix sluggish experience when dragging tabs (#3731)
Click to expand commit body
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 pull request fixes the issue by automatically redrawing the window
in gpui when there is an active drag and the mouse moves.
Release Notes:
- N/A
Antonio Scandurra
created
00927db
Fix sluggish experience when dragging tabs
Click to expand commit body
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.