Commit log

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

dfed171 Ensure that new view observers are called by WindowContext::replace_root_view (#3730)

Click to expand commit body
This fixes a bug where the window got into a bad, non-interactive state
when opening a project from an empty window.

Max Brunsfeld created

c81e89a Ensure that new view observers are called by WindowContext::replace_root_view

Max Brunsfeld created

71d17e2 Fix layout of diagnostic blocks (#3729)

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

Max Brunsfeld created

305cd9b Style go-to-definition links (#3727)

Click to expand commit body
This PR styles go-to-definition links using the link color from the
theme.

Release Notes:

- N/A

Marshall Bowers created

3fccc64 Fix layout of diagnostic blocks

Max Brunsfeld created

0390fb1 Reintroduce LSP diagnostic/status message

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

Julia and Antonio Scandurra created

afcf6c6 Map `textLink.activeForeground` from VS Code to `link_text_hover`

Marshall Bowers created

a0224b9 Use `link_text_hover` for go-to-definition links

Marshall Bowers created

53b76e3 Style pane drop targets (#3726)

Click to expand commit body
This PR styles the pane drop targets using the `drop_target_background`
color from the theme.

We do have to adjust the alpha channel of the color so that it doesn't
obscure the contents of the buffer.

Release Notes:

- N/A

Marshall Bowers created

547ad77 Style tab drop targets for project entries (#3725)

Click to expand commit body
This PR styles the drop targets when dragging a project entry onto a tab
or the tab bar.

I also adjusted the existing tab drop targets to use the
`drop_target_background` from the theme.

Release Notes:

- N/A

Marshall Bowers created

599ec5c Make collab panel usable from the keyboard, add missing styling (#3724)

Click to expand commit body
* allow confirming all items via the keyboard
* allow deploying the channel context menu via the keyboard
* add missing selected styling for list items

Max Brunsfeld created

afd3bf7 Add missing selected state and keyboard action for some collab panel items

Max Brunsfeld created

901795b Don't reset the collab panel when it loses focus

Max Brunsfeld created

1b09862 Restrcit context for some editor bindings that don't apply to single-line editors

Max Brunsfeld created

acbb3f3 Better display items from different sources with different z-indices in the same place (#3723)

Kirill Bulatov created

cf12d62 Tidy up z-index handling

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

Kirill Bulatov and Antonio Scandurra created

097640e Fix typo in `ButtonCommon` doc comment (#3722)

Click to expand commit body
This PR fixes a small typo in the doc comments for `ButtonCommon`.

Was waiting to roll this up into another PR, but it never ended up
happening.

Release Notes:

- N/A

Marshall Bowers created

f6d3191 Optimize stack id in-memory layout

Kirill Bulatov created

8f1c537 Fix more z-index and rendering issues

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

Kirill Bulatov and Antonio Scandurra created

825a8f0 Initial fix of the z-index

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

Kirill Bulatov , Antonio Scandurra , and Nathan Sobo created

a9fe108 Fix typo in "Quote Selection" tooltip (#3721)

Click to expand commit body
This PR fixes a typo in the "Quote Selection" tooltip.

Release Notes:

- N/A

Marshall Bowers created

7bc9319 Apply padding at the toolbar level (#3720)

Click to expand commit body
This PR adjusts the padding in the toolbar to be applied within the
toolbar itself.

Previously the different elements within the toolbar were applying their
own padding, which led to inconsistencies.

Release Notes:

- N/A

Marshall Bowers created