Commit log

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

3993b0a Titlebar cleanup (#3675)

Click to expand commit body
[[PR Description]]

Clean up titlebar design nits

- Remove red borders
- Update menu button styles
- Adjust padding
- Improve tooltips with keybindings

Release Notes:

- N/A

Nate Butler created

6345e6d Add some right side padding in titlebar.

Nate Butler created

d099d35 Reduce intensity of project panel icons

Nate Butler created

47eaf1a Remove red borders, improve left side padding

Nate Butler created

50a44dd Improve tooltip with keybinding styling

Nate Butler created

2b4f779 Story/Storybook Enhancements (#3674)

Click to expand commit body
[[PR Description]]

- Adds some Story components to reduce the amount of code needed to lay
out stories
- Added the ability to open a story in Zed using a link (see text story)
- Added sections with descriptions and usage.

Release Notes:

- N/A

Nate Butler created

f459fc5 Fix import

Nate Butler created

62ea586 Merge branch 'main' into story-enhancements

Nate Butler created

3d9e051 Update storybook2.rs

Nate Butler created

be73dd8 Move `Arena` to a thread-local and use it to allocate `AnyElement`

Antonio Scandurra created

e1ca8e8 Use an Arena to reuse allocations for listeners

Antonio Scandurra created

ff3f4f3 search: Reintroduce whole word switch (#3672)

Click to expand commit body
It seems to have been lost in the recent styling pass.

Release Notes:

- N/A

Piotr Osiewicz created

2b3d9de Dismiss Recent Projects & VCS modals on ESC (#3671)

Click to expand commit body
Release Notes:

- N/A

Piotr Osiewicz created

83b55de zed2: Restore buffer search deploy & focus behavior (#3670)

Click to expand commit body
In zed1, cmd-f either opened the search buffer, or focused into it if it
was open already. Search query got updated, if any selection was made on
the moment of cmd-f call.

The PR restores that behavior and also

* fixes a bug when opened diagnostics error always got pasted
* comments out the panic on multibuffer separator click 
* removes extra stdout & stderr debug logging

Release Notes:

- N/A

Kirill Bulatov created