Dial in the channel creating/renaming UI
* Ensure channel list is in a consistent state with no flicker while the channel creation / rename request is outstanding. * Maintain selection properly when renaming and creating channels. * Style the channel name editor more consistently with the non-editable channel names. Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
076b72cf2b
commit
b3447ada27
8 changed files with 260 additions and 110 deletions
|
@ -131,17 +131,17 @@ message Envelope {
|
|||
RefreshInlayHints refresh_inlay_hints = 118;
|
||||
|
||||
CreateChannel create_channel = 119;
|
||||
CreateChannelResponse create_channel_response = 120;
|
||||
ChannelResponse channel_response = 120;
|
||||
InviteChannelMember invite_channel_member = 121;
|
||||
RemoveChannelMember remove_channel_member = 122;
|
||||
RespondToChannelInvite respond_to_channel_invite = 123;
|
||||
UpdateChannels update_channels = 124;
|
||||
JoinChannel join_channel = 126;
|
||||
RemoveChannel remove_channel = 127;
|
||||
GetChannelMembers get_channel_members = 128;
|
||||
GetChannelMembersResponse get_channel_members_response = 129;
|
||||
SetChannelMemberAdmin set_channel_member_admin = 130;
|
||||
RenameChannel rename_channel = 131;
|
||||
JoinChannel join_channel = 125;
|
||||
RemoveChannel remove_channel = 126;
|
||||
GetChannelMembers get_channel_members = 127;
|
||||
GetChannelMembersResponse get_channel_members_response = 128;
|
||||
SetChannelMemberAdmin set_channel_member_admin = 129;
|
||||
RenameChannel rename_channel = 130;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -921,8 +921,8 @@ message CreateChannel {
|
|||
optional uint64 parent_id = 2;
|
||||
}
|
||||
|
||||
message CreateChannelResponse {
|
||||
uint64 channel_id = 1;
|
||||
message ChannelResponse {
|
||||
Channel channel = 1;
|
||||
}
|
||||
|
||||
message InviteChannelMember {
|
||||
|
|
|
@ -146,7 +146,7 @@ messages!(
|
|||
(CopyProjectEntry, Foreground),
|
||||
(CreateBufferForPeer, Foreground),
|
||||
(CreateChannel, Foreground),
|
||||
(CreateChannelResponse, Foreground),
|
||||
(ChannelResponse, Foreground),
|
||||
(CreateProjectEntry, Foreground),
|
||||
(CreateRoom, Foreground),
|
||||
(CreateRoomResponse, Foreground),
|
||||
|
@ -262,7 +262,7 @@ request_messages!(
|
|||
(CopyProjectEntry, ProjectEntryResponse),
|
||||
(CreateProjectEntry, ProjectEntryResponse),
|
||||
(CreateRoom, CreateRoomResponse),
|
||||
(CreateChannel, CreateChannelResponse),
|
||||
(CreateChannel, ChannelResponse),
|
||||
(DeclineCall, Ack),
|
||||
(DeleteProjectEntry, ProjectEntryResponse),
|
||||
(ExpandProjectEntry, ExpandProjectEntryResponse),
|
||||
|
@ -305,7 +305,7 @@ request_messages!(
|
|||
(JoinChannel, JoinRoomResponse),
|
||||
(RemoveChannel, Ack),
|
||||
(RenameProjectEntry, ProjectEntryResponse),
|
||||
(RenameChannel, Ack),
|
||||
(RenameChannel, ChannelResponse),
|
||||
(SaveBuffer, BufferSaved),
|
||||
(SearchProject, SearchProjectResponse),
|
||||
(ShareProject, ShareProjectResponse),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue