Commit log

02bcc7b Add release channel to zed2 collab server

Joseph T. Lyons created

488073d Unbork project search focus (#3691)

Click to expand commit body
I got a little too clever for my own good with these focus handles
originally lol

Release Notes:

- N/A

Julia created

b4042fe Unbork project search focus

Julia created

11e6578 Fix worktree panic for out-of-worktree files being opened (#3690)

Click to expand commit body
Fixes
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1702865855729989

Release Notes:

- Fixed certain files excluded from worktrees causing panics when being
opened

Kirill Bulatov created

7e21e0f Do not panic on non-worktree file indexing

Kirill Bulatov created

4e54454 Introduce an `Arena` to allocate and deallocate frame-related structs more cheaply (#3689)

Click to expand commit body
Picture worth a thousand words:


![before-after](https://github.com/zed-industries/zed/assets/482957/0aa92baf-f1cd-485e-a234-6d8f8b63a79a)

Note how having an area makes a substantial amount of frames between
0.5ms and 1ms faster (15-20% faster frames).

Release Notes:

- N/A

Antonio Scandurra created

5a4e2e6 Use a closure to allocate structs onto the `Arena`

Click to expand commit body
This is a trick borrowed from Bumpalo that helps LLVM understand
it should instantiate the object directly on the heap, as opposed to
doing so on the stack and then moving it.

Antonio Scandurra created

29c6061 Fix following bugs (#3688)

Click to expand commit body
* Follow command didn't work, because follow task was dropped
* An extra div prevented titlebar facepiles from rendering correctly

Max Brunsfeld created

b5ae2f0 Remove div around all avatars in titlebar facepile

Max Brunsfeld created

a4cdf36 Fix accidental drop of following task. Add back FollowNextCollaborator

Max Brunsfeld created

54eb452 Only apply scroll correction in `uniform_list` when already scrolled (#3687)

Click to expand commit body
This PR fixes an issue where the scroll correction added to the uniform
list in a35fdf45fc9de57b7696c4deacbc62c49b26a516 was being applied even
if the list wasn't scrolled at all.

This manifested in the project panel starting with an incorrect scroll
offset that would disappear once scrolled.

It seems like we should only need to apply this scroll correction when
the list is already scrolled.

Release Notes:

- N/A

Marshall Bowers created

6cb1a08 Add notes

Joseph T. Lyons created

5447c6d Fix channel filter input (#3686)

Click to expand commit body
This PR fixes the channel filter in the collab panel not showing up.

Release Notes:

- N/A

Marshall Bowers created

c8e9186 Don't scroll List on scroll wheel events outside of its bounds (#3685)

Max Brunsfeld created

149a718 Don't scroll List on scroll wheel events outside of its bounds

Max Brunsfeld created

ee77728 Add `--release` flag to `script/zed-local` (#3684)

Click to expand commit body
This PR adds support for the `--release` flag to `script/zed-local`.

This allows you to run a local build of Zed in release mode, which can
be useful when needing to profile things or do other performance work.

Release Notes:

- N/A

Marshall Bowers created

8efc38d Pane rendering fixes (#3683)

Click to expand commit body
* Fix a bug where a pane's leader info was not rendered if the pane was
part of a split
* Fix a crash when zooming a pane, due to duplicate render of that view.

Max Brunsfeld created

170e332 Add support for `--release` flag to `zed-local` script

Marshall Bowers created

0ea59d6 Format `zed-local` script

Marshall Bowers created

a5e037b Avoid duplicate render of a pane when it is zoomed

Max Brunsfeld created

e3e988c Always render panes via pane_group::Member::render

Click to expand commit body
Remove distinct code path for rendering panes in a PaneAxis, as this dropped
the logic for rendering the leader border and info box.

Max Brunsfeld created

4eb609a Enable zoom (#3668)

Click to expand commit body
* [x] zoom
* [x] pane tests

Max Brunsfeld created

7af0edf Editor UI Cleanup (#3676)

Click to expand commit body
[[PR Description]]

TODO: 
- [x] Style fold marker
- [x] Editor - Code action icon too large, should use muted color,
should have tooltip
- [ ] Style inline assistant
    - Prompt text gets cut off veritcally
- [x] Line height on inline assist editor isn't tall enough
- Nate: This is my fault due to the line height (relative: 1) we are
setting on non-buffer editors. I'll look into this.
- [ ] Style diagnostic hover (right now it's an opaque box on some
themes)
    - Nate: This needs status tints, we are working on it
- [ ] Hovering over a symbol shows a dialogue that appears underneath
the scroll-bar

Release Notes:

- N/A

Nate Butler created

e71f2b4 Style fold control

Nate Butler created

b8cdcf4 fix theme selector gaps (#3682)

Click to expand commit body
- Don't scroll beyond end of uniform list
- Restore position of uniform_list padding

[[PR Description]]

Release Notes:

- N/A

Conrad Irwin created

3781626 Merge branch 'main' into arena

Nathan Sobo created

3c3e5ed Fix bug where vim commands were copied on each update_matches (#3680)

Click to expand commit body
In zed1, the array of commands was recalculated on every update_matches,
In zed2 it's cached before we change the focus.

Release Notes:

- N/A

Conrad Irwin created

2fe9a1d Restore position of uniform_list padding

Click to expand commit body
It should be inside the scrollable area.

Conrad Irwin created

4c3ec0a Enable pane tests

Max Brunsfeld created

a35fdf4 Don't scroll beyond end of uniform list

Conrad Irwin created

9a8225c When a dock is zoomed, don't render it in its normal place

Max Brunsfeld created

a4c123b Fix logic for activating panel when re-docking it

Max Brunsfeld created

b1a61ca Fix toolbar width (#3681)

Click to expand commit body
This PR fixes an issue with the toolbar width introduced in #3666.

The lack of a flex container was making the toolbar contents not take up
the full width, and thus not positions items correctly along its main
axis.

Release Notes:

- N/A

Marshall Bowers created

793381f Render zoomed item in the workspace

Max Brunsfeld created

487edcb Rework collab panel rendering to use `gpui::list` (#3678)

Click to expand commit body
This PR reworks the rendering of the collab panel to use `gpui::list`,
so that we don't render any items that are not visible on the screen.

In the process we also fixed some bugs in the channel list:

- Fixed the context menu for channels not deploying when activated via
keyboard
- Fixed drag and drop for channels
- Made it so when navigating the collab panel via keyboard the list only
scrolls enough to reveal the next item when navigating to an item that
is currently off-screen

Release Notes:

- N/A

Marshall Bowers created

dc7f4f4 Fix editor mouse event dispatch stealing clicks (#3679)

Click to expand commit body
[[PR Description]]

Release Notes:

-

Mikayla Maki created

5c060ce Format code

Marshall Bowers created

5417127 Fix channel drag and drop

Click to expand commit body
Also add the ability to unnest a channel by dragging it to the "Channels"
header. This is currently not working due to a collab server issue.

Co-authored-by: Max <max@zed.dev>

Marshall Bowers and Max created

d0dbf8e Fix bug where vim commands were copied on each update_matches

Click to expand commit body
In zed1, the array of commands was recalculated on every update_matches,
In zed2 it's cached before we change the focus.

Conrad Irwin created

a40f04b Only scroll enough to reveal the next channel if it isn't visible

Click to expand commit body
Co-authored-by: Max <max@zed.dev>

Marshall Bowers and Max created

b4135dd Fix editor mouse event dispatch

Mikayla created

47fc03a Fix positioning of the inline context menu

Click to expand commit body
Added a new `bounds_for_item` for `ListState`.

Co-authored-by: Max <max@zed.dev>

Marshall Bowers and Max created

a65688a Fix center pane resizing (#3677)

Click to expand commit body
Release Notes:

- N/A

Mikayla Maki created

a2852e3 Fix pane resizing

Mikayla created

0a57171 Use a safe API for Arena

Antonio Scandurra created

4cb0f60 Update size of code action indicator and show when active

Nate Butler created

83525bf Revert change to single line editor height

Nate Butler created

b478a4c Perform scroll interactions through the `ListState`

Marshall Bowers created

d13c148 Update fold_indicator render

Nate Butler created

6c10ff8 Render the collab panel using a `gpui::list`

Marshall Bowers created