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
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
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
[[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
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
4bfe46f
Restore zed1 behavior for buffer search deploy
Kirill Bulatov
created
31ff7d4
Adjust copy/paste buffer only on the copy error action trigger
Kirill Bulatov
created
a6403aa
Remove extra nits, do not panic on clicking the buffer separator
Kirill Bulatov
created
62d6551
Fire focus handlers on draw to avoid timing with newly created item (#3640)
Click to expand commit body
See title
Any focus changes which fire from within a focus handler should be
handled in the next frame
Release Notes:
- N/A
Julia
created
de523c2
Give correct focus handle when project search has no matches
Julia
created
4be84f3
Merge branch 'main' into focus-handlers-on-draw