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)
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
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
[[PR Description]]
Styles most of the assistant panel. A few notes:
- We now cut off the title if it gets to long so the assistant tools
don't get cut off
- I wasn't able to get to the "no api key" state, so that hasn't been
style checked yet.
- A few of icons were updated in this PR
I also added a new tooltip that teaches you a bit about role cycling:

🐜 Known issues 🐜
- There is a bug where zooming the panel makes it shift 1px (@maxdeviant
I think this has to do with panel borders)
- We are showing a timestamp for new conversations before you have sent
a message/launched an assist action. I wasn't sure how to case this out.
Before:


After:


Release Notes:
- N/A
* [x] Reposition right dock handle
* [x] Handle mouse events correctly for drag and drop
* [x] Prevent drag events from passing through the resize handle to the
draggable items in the panels (channels, files)
* [x] Stop the editor gutter from stealing mouse move events
3e6b84a
Wire up the middle mouse button to close tabs (#3714)
Click to expand commit body
This PR wires up the middle mouse button to close tabs.
Right now we're doing this using `on_mouse_down`, but we need a way in
GPUI2 to have an `on_click` for a mouse button other than the left one.
Release Notes:
- N/A
We can receive multiple events before computing the next frame, and in
that case we want to compute a drag delta between the position for the
previous mouse event and the current one.
Release Notes:
- N/A
We can receive multiple events before computing the next frame, and
in that case we want to compute a drag delta between the position for the
previous mouse event and the current one.
Antonio Scandurra
created
1bb85c1
Prevent default when mousing down on a button that responds to clicks (#3709)
Click to expand commit body
This ensures that ancestors that track focus don't accidentally steal it
on mouse down, which was preventing the editor from deploying the code
actions menu.
Release Notes:
- N/A
Antonio Scandurra
created
afbc61a
Prevent default when mousing down on a button that responds to clicks
Click to expand commit body
This ensures that ancestors that track focus don't accidentally steal
it on mouse down, which was preventing the editor from deploying the
code actions menu.