Add actions for calls (#28048)

Add the following actions for use while calling: `Mute`, `Deafen`,
`ShareProject`, `ScreenShare`, `LeaveCall`

We were also interested in adding push-to-talk functionality for mute,
but that will go in a followup PR

Release Notes:

- Call actions (mute/screenshare/etc.) can now be bound to keys and run from the command palette.

---------

Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
Co-authored-by: Ben Kunkle <ben@zed.dev>
This commit is contained in:
Julia Ryan 2025-04-04 19:32:41 -07:00 committed by GitHub
parent 69d7ea7b60
commit 6ddad64af1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 68 additions and 16 deletions

View file

@ -5808,7 +5808,17 @@ pub fn last_session_workspace_locations(
.log_err()
}
actions!(collab, [OpenChannelNotes]);
actions!(
collab,
[
OpenChannelNotes,
Mute,
Deafen,
LeaveCall,
ShareProject,
ScreenShare
]
);
actions!(zed, [OpenLog]);
async fn join_channel_internal(