Commit log

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)

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

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)

Click to expand commit body
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

Click to expand commit body
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)

Click to expand commit body
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

Click to expand commit body
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.

Antonio Scandurra created

02e5302 Track caller on h_stack and v_stack

Antonio Scandurra created

6a0740f Set window edited in zed2 (#3708)

Click to expand commit body
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"

Click to expand commit body
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

Click to expand commit body
* 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

Click to expand commit body
Co-authored-by: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

91f1be2 Style project share notification (#3706)

Click to expand commit body
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)

Click to expand commit body
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)

Click to expand commit body
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)

Click to expand commit body
This PR adds dividers between panes in a split.

Release Notes:

- N/A

Marshall Bowers created

6da0fa9 Add toolbar spacing (#3702)

Click to expand commit body
[[PR Description]]

Release Notes:

- N/A

Nate Butler created

a286ec4 Update toolbar.rs

Nate Butler created

9785481 Make `Disclosure` accept an ID (#3701)

Click to expand commit body
This PR makes the `Disclosure` component accept an ID rather than using
a static ID for all disclosures.

Release Notes:

- N/A

Marshall Bowers created

9cd8e99 Update toolbar.rs

Nate Butler created

2ae39b7 Add left side padding

Nate Butler created

4fdf6a8 Wire up offline contact list (#3700)

Click to expand commit body
This PR wires up the offline contact list.

Also enables toggling both the online and offline contact lists.

Release Notes:

- N/A

Marshall Bowers created

c9893ce Use flex_1 div instead of justify_center in toolbar

Nate Butler created

d058515 Use a different frame arena for each window (#3696)

Click to expand commit body
This fixes a panic that was caused by sharing the same frame allocator
for different windows.

Release Notes:

- N/A

Nathan Sobo created

0000e68 Remove unused Arena::sized method

Max Brunsfeld created

37efe82 Use a different frame arena for all elements

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

3c2db6a Add some rough ideas

Click to expand commit body
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

Joseph T. Lyons and Piotr Osiewicz created

98f5a3d Center text on welcome screen (#3699)

Click to expand commit body
This PR centers the text "Code at the speed of thought" on the welcome
screen.

Release Notes:

- N/A

Marshall Bowers created

0aa690f Always show channel toggle when collapsed (#3698)

Click to expand commit body
This PR makes the channel toggle disclosure always visible when a
channel tree is collapsed, as opposed to just being visible on hover.

This makes it possible to visually identify collapsed channel trees
without having to hover over each entry.

Release Notes:

- N/A

Marshall Bowers created

f143467 Update collab panel signed out state (#3697)

Click to expand commit body
[[PR Description]]

Before: 

![CleanShot 2023-12-18 at 13 10
14@2x](https://github.com/zed-industries/zed/assets/1714999/a0e536c3-b5bf-45e2-893b-89b1ae7b4c47)

After:

![CleanShot 2023-12-18 at 13 10
36@2x](https://github.com/zed-industries/zed/assets/1714999/5d66a4a9-cc19-420d-82c7-58ec5cd264e4)

One known issue:

The "Sign in to enable collaboration" text below the button should be
centered, but it looks like label is reserving the full width. Need to
look in to that.

Release Notes:

- N/A

Nate Butler created

9d014b0 Remove comment

Nate Butler created

89b231a Update collab panel signed out state

Nate Butler created

cef9aa3 Use a different frame arena for each window

Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra , Max Brunsfeld , and Nathan Sobo created

eeaa1e5 Add github icon

Nate Butler created