407478d
Add missing collab panel features (#3719)
Click to expand commit body
* channel modal * channel invites in collab panel
Max Brunsfeld 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
b88370d
Respect a div's own z-index when adding its event listeners
Max Brunsfeld created
ee8e145
Fix drag and drop logic in div's mouse handling
* Attach mouse up and mouse move listeners immediately, not just when there is already a drag in progress, because when starting a drag, these other events may fire before the next frame. * Remove bounds checks for handling mouse move and mouse events, since a dragged object may be moved outside of its original container. Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
e6f3731
Fix position of right dock handle
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
91f1be2
Style project share notification (#3706)
This PR styles the project share notification, so we're not staring a red rectangle. <img width="425" alt="Screenshot 2023-12-18 at 6 06 14 PM" src="https://github.com/zed-industries/zed/assets/1486634/7ae9a2d3-d5d9-427c-9125-3a47df5f6a2f"> Release Notes: - N/A
Marshall Bowers created
912f7e6
Add ability to warn on missing theme values (#3705)
This PR adds the ability to warn in the `theme_importer` when a theme is missing values. Providing the `--warn-on-missing` flag to the `theme_importer` will print a warning for missing theme value when printing the theme. ```sh cargo run -p theme_importer -- --warn-on-missing ``` Release Notes: - N/A
Marshall Bowers created
734bbfa
Use status colors for contact availability indicators (#3704)
This PR updates the availability indicators in the contact list to use the status colors from the theme. Release Notes: - N/A
Marshall Bowers created
64ceb61
Add pane dividers (#3703)
This PR adds dividers between panes in a split. Release Notes: - N/A
Marshall Bowers created
6da0fa9
Add toolbar spacing (#3702)
[[PR Description]] Release Notes: - N/A
Nate Butler created
a286ec4
Update toolbar.rs
Nate Butler created