Commit log

26fb67b chore: Remove 'db' dependency from recent_projects2 (#3740)

Click to expand commit body
It was pulling in gpui1 into zed2 build.

Release Notes:

- N/A

Piotr Osiewicz created

c1df27c Style notification panel (#3741)

Click to expand commit body
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.

Marshall Bowers created

4c0856e collab 0.32.0

Joseph T. Lyons created

b0b4610 Fix positioning of right items

Marshall Bowers created

fffb30a Add InteractiveElement::block_mouse which renders an "opaque" layer

Click to expand commit body
Co-Authored-By: Antonio <antonio@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Nathan Sobo , Antonio , and Max Brunsfeld created

73b13b7 v0.119.x dev

Joseph T. Lyons created

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.

Max Brunsfeld created

87f879b Add text wrapping to notifications

Marshall Bowers created

dc04743 Don't consider any element hovered when actively dragging

Click to expand commit body
Co-Authored-By: Antonio <antonio@zed.dev>

Nathan Sobo and Antonio created

9c4e869 Remove unneeded wrapping element

Marshall Bowers created

8f677cc Assign draw order to surfaces using plane splitter

Max Brunsfeld created

e1a4e8e Reintroduce LSP diagnostic/status message (#3728)

Click to expand commit body
Release Notes:

- N/A

Julia created

11140a1 Use ButtonLike rather than ad-hoc button

Click to expand commit body
Co-Authored-By: Marshall Bowers <marshall@zed.dev>

Julia and Marshall Bowers created

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

Marshall Bowers created

3886b19 Fix formatting breakage

Marshall Bowers created

e72f56c Port `language_tools` crate to gpui2 (#3673)

Click to expand commit body
Add back a way to show syntax trees and LSP logs in Zed.

Release Notes:

- N/A

Kirill Bulatov created

6e2346c Prevent `ArenaRef` from being cloned

Antonio Scandurra created

5840750 Avoid workspace use while leased

Julia created

fc923a2 Close syntax tree view menu on click too

Kirill Bulatov created

5145795 Adjust styles for notification panel container

Marshall Bowers created

331af82 Rework context menu's custom element API to handle clicks properly

Kirill Bulatov created

19d1568 Lsp log selector fixes

Kirill Bulatov created

fe40e39 Fix remaining z-index bugs

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

1474816 Syntax tree panel style fixes

Kirill Bulatov created

7b83d65 Remove temporary imports, fix syntax_tree_view

Kirill Bulatov created

6a90a76 Use stock gpui2 ui components

Kirill Bulatov created

3586bf8 Display something

Kirill Bulatov created

c1f8929 Add new panels into zed2

Kirill Bulatov created

7e6dac3 Uncomment tests

Kirill Bulatov created

8471a5f Finish all but the styling

Kirill Bulatov created

75074c3 Apply more fixes to the visual part

Kirill Bulatov created

676a072 First fixes

Kirill Bulatov created

6492523 Create a new crate

Kirill Bulatov created

229b5aa Style links in terminal (#3736)

Click to expand commit body
This PR styles links in the terminal using the colors from the theme.

Release Notes:

- N/A

Marshall Bowers created

57a372f Perform a bounds check when allocating in the arena (#3735)

Click to expand commit body
This ensures we don't invoke undefined behavior when overflowing.

Release Notes:

- N/A

Antonio Scandurra created

5b29c89 Clear pending click state when dragging

Click to expand commit body
Once a drag starts, we won't fire click listeners or style any elements
as active.

Co-Authored-By: Antonio <antonio@zed.dev>

Nathan Sobo and Antonio created

12bb13b Perform a bounds check when allocating in the arena

Click to expand commit body
This ensures we don't invoke undefined behavior when overflowing.

Co-Authored-By: Antonio <antonio@zed.dev>

Nathan Sobo and Antonio created

8f9e813 Show button as selected if screen sharing is on (#3734)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

53a1b26 Show a "disconnected overlay" when project becomes read-only (#3733)

Click to expand commit body
<img width="1136" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/9daaf21a-90d6-4074-9c65-360df5661221">


Release Notes:

- N/A

Antonio Scandurra created

6e1ba64 Show button as selected if screen sharing is on

Antonio Scandurra created

57f3a88 Render disconnected overlay when project becomes readonly

Antonio Scandurra created

390ccbc Disable focus when disconnecting from host

Antonio Scandurra created

8273865 Introduce `InteractiveElement::capture_any_mouse_{down,up}`

Antonio Scandurra created

5781cf6 Use `InteractiveBounds` everywhere we change the cursor style

Antonio Scandurra created

2f57a3c Popover buttons titlebar (#3732)

Click to expand commit body
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.

Antonio Scandurra created