988ea3c
Add `editor::ToggleInlayHints` command and a bar to toggle editor-related items (#2839)
Click to expand commit body
Closes
https://linear.app/zed-industries/issue/Z-2735/make-inlay-hints-discoverable
Deals with https://github.com/zed-industries/community/issues/1764
Adds `editor::ToggleInlayHints` command and a new panel with two
buttons for
* toggling hints on/off for every editor separately (overrides settings)
Would benefit from a new icon.
* toggling buffer search on/off
Does not have a keybinding shown in its tooltip, that is a separate
issue with the way `KeystrokeLabel` gets these for panels not in the
view directly.
Release Notes:
- Adds `editor::ToggleInlayHints` command and a bar to toggle
editor-related items
4ea8b82
Introduce channels and move collab popover contents to a collaboration panel (#2828)
Click to expand commit body
### Summary
This PR introduces channels: a new way of starting collaboration
sessions. You can create channels and invite others to join them. You
can then hold a call in a channel, where any member of the channel is
free to join the call without needing to be invited.
Channels are displayed in a new panel called the collaboration panel,
which now also contains the contacts list, and the current call. The
collaboration popover has been removed from the titlebar.

For now, the channels functionality will only be revealed to staff, so
the public-facing change is just the move from the popover to the panel.
### To-do
* User-facing UI
* [x] signed-out state for collab panel
* [x] new icon for collab panel
* [x] for now, channels section only appears for zed staff
* [x] current call section styling
(https://zed-industries.slack.com/archives/C05CJUNF2BU/p1691189389988239?thread_ts=1691189120.403009&cid=C05CJUNF2BU)
* [x] Channel members
* Channels
* [x] style channel name editor
* [x] decide on a special "empty state" for the panel, when user has no
contacts
* [x] ensure channels are sorted in a consistent way (expose channel id
paths to client)
* [x] Figure out layered panels UX
* [x] Change add contacts to be the same kind of tabbed modal
* [x] race condition between channel updates and user fetches
(`ChannelStore::handle_update_contacts`)
* [x] race condition between joining channels and channel update
messages `collab::rpc::channel_updated`)
* [x] don't display mic as muted when microphone share is pending upon
first joining call
Release Notes:
- Moved the collaboration dropdown into its own panel.
- Added settings for disabling the AI assistant panel button.
- Switch to lazily initializing audio output sources
(https://github.com/zed-industries/community/issues/1840,
https://github.com/zed-industries/community/issues/1919)
Max Brunsfeld
created
925e09e
Update collab panel empty state to match project panel
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
6f78a16
fix editor height in buffer search, but the dancing is back
Click to expand commit body
Co-authored-by: Piotr <piotr@zed.dev>
KCaverly
and
Piotr
created
1601892
Focus terminal view on mouse click in terminal (#2852)
Click to expand commit body
Before, terminal view focused the parent (pane) instead and, if
terminal's search bar was open and focused, pane transferred the focus
back
Release Notes:
- Fixed terminal search focus not switching to terminal on mouse click
inside
d727ba1
Merge branch 'main' of github.com:zed-industries/zed into project_search_design
KCaverly
created
9bf227b
remove regex keymap, and made spacing consistent between search objects
Click to expand commit body
Co-authored-by: Piotr <piotr@zed.dev>
KCaverly
and
Piotr
created
11ecb7b
reorganize search bar, enable filters and disable select all during invalid states
Click to expand commit body
Co-authored-by: Piotr <piotr@zed.dev>
KCaverly
and
Piotr
created
139cbbf
Move gpui derives tests into gpui crate to avoid dependency cycles (#2851)
Click to expand commit body
`cargo run` on Zed project leads to rust-analyzer evantually emitting
`[ERROR project_model::workspace] cyclic deps:
gpui_macros(Idx::<CrateData>(269)) -> gpui(Idx::<CrateData>(264)),
alternative path: gpui(Idx::<CrateData>(264)) ->
gpui_macros(Idx::<CrateData>(269))`
error after loading the project.
The PR fixes this by moving away the test to the "root" project.
Release Notes:
- N/A
Kirill Bulatov
created
1c4be24
Move gpui derives tests into gpui crate to avoid dependency cycles
Click to expand commit body
`cargo run` on Zed project leads to rust-analyzer evantually emitting
`[ERROR project_model::workspace] cyclic deps:
gpui_macros(Idx::<CrateData>(269)) -> gpui(Idx::<CrateData>(264)),
alternative path: gpui(Idx::<CrateData>(264)) ->
gpui_macros(Idx::<CrateData>(269))`
error after loading the project.
The PR fixes this by moving away the test to the "root" project.
Kirill Bulatov
created
0524abf
Lazily initialize and destroy the audio handle state on call initiation and end
Mikayla
created
a8ecc1a
Add support for a measure function to the layout engine facade