1b09862
Restrcit context for some editor bindings that don't apply to single-line editors
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
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
097640e
Fix typo in `ButtonCommon` doc comment (#3722)
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
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
825a8f0
Initial fix of the z-index
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)
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)
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
407478d
Add missing collab panel features (#3719)
* channel modal * channel invites in collab panel
Max Brunsfeld created
a9b1273
Clean up commented code
Co-authored-by: Nathan <nathan@zed.dev>
Max Brunsfeld and Nathan created
1c3698a
Implement channel modal
Co-authored-by: Nathan <nathan@zed.dev>
Max Brunsfeld and Nathan created
4e07167
Use `child` instead of `children` (#3718)
This PR refactors some code where we were using `children` when we could have used `child` instead. Release Notes: - N/A
Marshall Bowers created
80b6922
wip
Max Brunsfeld created
a4bfd01
Render channel invites in collab panel, fix unused warnings
Max Brunsfeld created
a3bab25
Style contact finder (#3717)
This PR styles the contact finder. <img width="598" alt="Screenshot 2023-12-19 at 12 59 00 PM" src="https://github.com/zed-industries/zed/assets/1486634/ca9d9345-bf27-4256-aabc-6017a0c4d217"> Release Notes: - N/A
Marshall Bowers created
ef39382
Allow editor mouse drag selection outside interactive bounds (#3716)
Release Notes: - N/A
Julia created
961f989
Match zed1 scrollbar drag behavior (#3715)
Still not ideal, but we need to ship and this is more than reasonable Release Notes: - N/A
Julia created
e08fc0b
Allow editor mouse drag selection outside interactive bounds
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Julia and Antonio Scandurra created
5139634
Match zed1 scrollbar drag behavior
Still not ideal, but we need to ship and this is more than reasonable Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Julia and Antonio Scandurra created
e778e17
Style assistant panel (#3711)
[[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
Nate Butler created
616ea13
Style buffer search input (#3713)
This PR styles the text input for the buffer search. Release Notes: - N/A
Marshall Bowers created
b797cd3
Fix panel resize (#3707)
* [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
Max Brunsfeld created
5d95e13
Update assistant editor
Nate Butler created
e655d24
Don't stop propagation on mouse move over editor gutter
Max Brunsfeld created
d8eea94
Update assistant panel message header, model switcher
Nate Butler created
a108518
use `to_string` to return the format distance string from FormatDistance
Nate Butler created
cf037ea
Merge branch 'main' into fix-panel-resize
Max Brunsfeld created
d8a8feb
Add FormatDistance struct, add hide_prefix option
Nate Butler created
3e6b84a
Wire up the middle mouse button to close tabs (#3714)
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
Marshall Bowers created
79653d2
Rename format distance test names
Nate Butler created
ae313ff
Allow format_distance to take a DateTimeType
Nate Butler created
30b01b9
Update imports, tab height const
Nate Butler created
286f654
Update assistant header
Nate Butler created
cc107f7
Maintain scroll position in `CollabPanel` after updating entries (#3712)
Release Notes: - N/A
Antonio Scandurra created
57efaa9
Style assistant header, update icons
Nate Butler created
dd84993
Maintain scroll position in CollabPanel after updating entries
Co-Authored-By: Julia <julia@zed.dev>
Antonio Scandurra and Julia created
42a02e4
Remove red border
Nate Butler created
2c402f9
Ensure conversation items fill the container
Nate Butler created
49502af
Update conversation item rendering
Nate Butler created
91b6595
Fix janky editor scrollbar dragging (#3710)
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
Antonio Scandurra created
b30fd3f
Fix janky editor scrollbar dragging
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)
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
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.
Antonio Scandurra created
02e5302
Track caller on h_stack and v_stack
Antonio Scandurra created
6a0740f
Set window edited in zed2 (#3708)
Release Notes: - N/A
Antonio Scandurra created
ae32706
Fix tests
Antonio Scandurra created
ba0d7e3
Set window edited
Antonio Scandurra created
4b74f30
Properly restore termina current dir when deserializing the project
Kirill Bulatov created
2979eb9
Allow transparent divs to be considered "top layers"
This changes the meaning of `was_top_layer` so that it is checking that nothing opaque is on top of the given layer. The layer in question need not be opaque.
Max Brunsfeld created