collab_ui: remove branch menu popover in favor of opening a modal (#12562)

This commit also removes a bunch of dead code.

Fixes #12544

Release Notes:

- Removed branch popover menu - clicking on the branch name in left-hand
corner now always opens a branch modal
This commit is contained in:
Piotr Osiewicz 2024-06-01 18:40:25 +02:00 committed by GitHub
parent fbcc5ccdb9
commit f0d979576d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 51 deletions

View file

@ -118,16 +118,6 @@ impl RecentProjects {
modal
})
}
pub fn open_popover(workspace: WeakView<Workspace>, cx: &mut WindowContext<'_>) -> View<Self> {
cx.new_view(|cx| {
Self::new(
RecentProjectsDelegate::new(workspace, false, false),
20.,
cx,
)
})
}
}
impl EventEmitter<DismissEvent> for RecentProjects {}