Bring back channel notes

This commit is contained in:
Max Brunsfeld 2023-12-05 15:36:26 -08:00
parent d7473ad6e7
commit bcdefb8ec8
2 changed files with 394 additions and 404 deletions

View file

@ -191,6 +191,7 @@ use workspace::{
Workspace,
};
use crate::channel_view::ChannelView;
use crate::{face_pile::FacePile, CollaborationPanelSettings};
use self::channel_modal::ChannelModal;
@ -1935,8 +1936,7 @@ impl CollabPanel {
fn open_channel_notes(&mut self, channel_id: ChannelId, cx: &mut ViewContext<Self>) {
if let Some(workspace) = self.workspace.upgrade() {
todo!();
// ChannelView::open(action.channel_id, workspace, cx).detach();
ChannelView::open(channel_id, workspace, cx).detach();
}
}