Commit log

a579ef1 Rename `Shape` to `AvatarShape` (#3986)

Click to expand commit body
This PR renames the `Shape` enum to `AvatarShape`, since it seems pretty
specific to `Avatar`s.

Release Notes:

- N/A

Marshall Bowers created

a46947d Fix panic in set_scroll_anchor_remote

Conrad Irwin created

e3c603f Make RemoteTrackPublication a tuple struct again

Max Brunsfeld created

356f9fc Store a raw Room pointer on RoomDelegate

Max Brunsfeld created

7ed3f5f Clean up references in doc comments in `ui` and `theme` crates (#3985)

Click to expand commit body
This PR cleans up a number of references in doc comments in the `ui` and
`theme` crates so that `rustdoc` will link and display them correctly.

Release Notes:

- N/A

Marshall Bowers created

145f3f5 Remove unused API

Mikayla created

447bfca Add a test to catch keybinding bounds issue (#3966)

Click to expand commit body
Add a test to catch regressions to
https://github.com/zed-industries/zed/pull/3964

Thanks for the idea @ConradIrwin 

TODO:

- [ ] Fix immediate stack overflow in test

Release Notes:

- N/A

Mikayla Maki created

128a8ff Remove unnecessary mutexes from livekit client types

Click to expand commit body
Co-authored-by: Conrad <conrad@zed.dev>

Max Brunsfeld and Conrad created

510234c Add some Theme and UI docs (#3979)

Click to expand commit body
Documents a number of items in the `theme` and `ui` crates.

Release Notes:

- N/A

Nate Butler created

1728c4e Fixed test

Mikayla created

5b1894a Take into account multiple scroll deltas within a single frame (#3982)

Click to expand commit body
Release Notes:

- Fixed an issue where all but the last scroll event would be dropped if
there were multiple within a single frame.

Julia created

51988f6 Document more enums

Nate Butler created

74dadd6 Clean up references in doc comments (#3983)

Click to expand commit body
This PR cleans up a number of references in doc comments so that
`rustdoc` will link and display them correctly.

Release Notes:

- N/A

Marshall Bowers created

463270e Take into account multiple scroll deltas within a single frame

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Julia and Antonio Scandurra created

c19551d Document free functions

Nate Butler created

cb24062 Restore removed ColorScaleStep ALL that was breaking the build

Nate Butler created

e020d7c Document ui crate traits

Nate Butler created

00c3afd Add documentation to GPUI (#3980)

Click to expand commit body
🍐d with @conrad @mikayla-maki on covering some of the surface area.

Release Notes:

- N/A

Nathan Sobo created

42cbd10 Even more docs

Click to expand commit body
Co-authored-by: Conrad <conrad@zed.dev>

Nathan Sobo and Conrad created

46065c2 Fix unclosed delimiter

Nate Butler created

7dbe051 Add label docs

Nate Butler created

324fd24 Initial button documentation

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nate Butler and Antonio Scandurra created

458c672 Add more API docs

Click to expand commit body
Co-Authored-By: Conrad <conrad@zed.dev>

Nathan Sobo and Conrad created

5359762 Document components/avatar

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nate Butler and Antonio Scandurra created

59f41ac Add a bunch of docs

Click to expand commit body
Co-Authored-By: Conrad <conrad@zed.dev>
Co-Authored-By: Mikayla <mikayla@zed.dev>

Nathan Sobo , Conrad , and Mikayla created

9747c10 Document UI modules

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nate Butler and Antonio Scandurra created

bcbfa7d Start documenting Theme crate

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nate Butler and Antonio Scandurra created

ab6cd1d chore: cfg(test) a test in rpc. (#3978)

Click to expand commit body
The test in particular should be included in our release binary at
present. :/
Release Notes:

- N/A

Piotr Osiewicz created

b801e0a Fix merge conflict

Conrad Irwin created

bebb528 Merge branch 'main' into migrations-on-server-start

Conrad Irwin created

824d06e Remove `Default` impl for `StatusColors` (#3977)

Click to expand commit body
This PR removes the `Default` impl for `StatusColors`.

Since we need default light and dark variants for `StatusColors`, we
can't use a single `Default` impl.

Release Notes:

- N/A

Marshall Bowers created

d374953 search: Remove newlines from query used for tab_content. (#3976)

Click to expand commit body
Fixes https://github.com/zed-industries/community/issues/2388
Release Notes:

- Fixed tab content of project search overflowing the tab for queries
with newlines.

Piotr Osiewicz created

f0ef63b gpui: Add `SharedUrl` type (#3975)

Click to expand commit body
This PR adds a `SharedUrl` type to GPUI.

It's just like a `SharedString`, but for denoting that the contained
value is a URL.

Mainlined from @nathansobo's GPUI blog post:
https://github.com/zed-industries/zed/pull/3968/files#diff-7ee75937e2daf7dd53f71b17698d8bd6d46993d06928d411781b9bd739b5f231R9-R12

Release Notes:

- N/A

Marshall Bowers created

fa53353 Rename `IconElement` to just `Icon` (#3974)

Click to expand commit body
This PR renames the `IconElement` component to just `Icon`.

This better matches the rest of our components, as `IconElement` was the
only one using this naming convention.

The `Icon` enum has been renamed to `IconName` to free up the name.

I was trying to come up with a way that would allow rendering an
`Icon::Zed` directly (and thus make the `IconElement` a hidden part of
the API), but I couldn't come up with a way to do this cleanly.

Release Notes:

- N/A

Marshall Bowers created

29ed067 Add a missing default value to docs (#3973)

Click to expand commit body
Release Notes:

- N/A

Piotr Osiewicz created

a0f9393 Remove some todo!'s from the code (#3972)

Click to expand commit body
Release Notes:

- N/A

Kirill Bulatov created

625c9d8 Remove some todo!'s

Kirill Bulatov created

aa1d2d2 Remove dbg! usage from tests

Kirill Bulatov created

0f7b47a Run migations on development server start

Conrad Irwin created

82f7dd9 Prototype cursor sharing (the inefficient way)

Click to expand commit body
I think this will be a key user experience driver, but we do need to
find a way to enable it without widening our vector clocks.

Conrad Irwin created

8669b08 Failing test for unmuting microphone

Conrad Irwin created

844d161 Allow adding write access to guests

Conrad Irwin created

4afa5fb Add stories for collab notifications (#3967)

Click to expand commit body
This PR adds some basic stories for collab notifications to make them
easier to work on:

<img width="1076" alt="Screenshot 2024-01-08 at 9 43 39 PM"
src="https://github.com/zed-industries/zed/assets/1486634/4a0adcfa-1134-49c2-b589-74ac1d52af4c">

I factored out a `CollabNotification` component that defines the general
structure for one of these notifications, and this is the component that
we use in the stories, with representative values passed to it to
simulate the different instances of the notification.

We can't use the actual notification components in the stories due to
their data dependencies.

Release Notes:

- N/A

Marshall Bowers created

27d4d72 Attempt to write test

Mikayla created

c40a7f3 Stop propagation when deploying the context menu for a project panel entry (#3965)

Click to expand commit body
This PR fixes an issue where right-click on any project panel entry
would cause the context menu on the root of the project panel
(introduced in #3954) to deploy.

We need to stop propagation in the handler on the inner project panel
list items so that the click event doesn't bubble up the tree.

Release Notes:

- Fixed an issue where the project panel was always deploying the root
context menu rather than on the clicked item.

Marshall Bowers created

6982b4b Fix off by 1 error when computing available key bindings (#3964)

Click to expand commit body
Fixes https://github.com/zed-industries/community/issues/2379

Release Notes:

- Fixed issue where keybindings in some context menus would not show
reliably.

Mikayla Maki created

0684369 Fix off by 1 error when computing available key bindings

Mikayla created

435b5ca Restore the terminal cursor settings (#3963)

Click to expand commit body
As it says on the tin

Release Notes:

- Restored the terminal cursor's I-beam and pointing hand settings

Mikayla Maki created

ec7db3f Restore the terminal cursor settings

Mikayla created

68e705d Restore the active pane magnification feature (#3961)

Click to expand commit body
As it says on the tin

Release Notes:

- Restored the active pane magnification setting.

Mikayla Maki created