BlueGit

ict rusty-teams

fix(calls): menus inside call dialogs get the nested flyout level

- transfer and invite picker, meeting options and recording consent count as modal layers while the call is shown

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

metis Daniel Däschle · pushed by metis

Authored 2026-11-05 · 3 weeks ago

Hash
0b8834deed0695e3a391c6efd502b7af64d108a3
Parent
52b2782c
1 file changed +9 −0
crates/app/src/views/shell.rs +9 −0
@@ -849,6 +849,12 @@ impl AppShell {
849 849
850 850 impl Render for AppShell {
851 851 fn render(&mut self, window: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
852 let viewed_call = self
853 .state
854 .read(cx)
855 .call
856 .as_ref()
857 .filter(|call| call.viewing);
852 858 let open_dialogs = [
853 859 self.state.read(cx).task_dialog.is_some(),
854 860 self.forward_dialog.is_some(),
@@ -856,6 +862,9 @@ impl Render for AppShell {
856 862 self.shortcuts_dialog.is_some(),
857 863 self.agent_dialog.is_some(),
858 864 self.settings_dialog.is_some(),
865 viewed_call.is_some() && self.state.read(cx).transfer_picker.is_some(),
866 viewed_call.is_some_and(|call| call.options_dialog.is_some()),
867 viewed_call.is_some_and(|call| call.model.consent_required),
859 868 ]
860 869 .into_iter()
861 870 .filter(|open| *open)
@@ -849,6 +849,12 @@ impl AppShell {
849
849
850impl Render for AppShell {
850impl Render for AppShell {
851 fn render(&mut self, window: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
851 fn render(&mut self, window: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
852 let viewed_call = self
853 .state
854 .read(cx)
855 .call
856 .as_ref()
857 .filter(|call| call.viewing);
852 let open_dialogs = [
858 let open_dialogs = [
853 self.state.read(cx).task_dialog.is_some(),
859 self.state.read(cx).task_dialog.is_some(),
854 self.forward_dialog.is_some(),
860 self.forward_dialog.is_some(),
@@ -856,6 +862,9 @@ impl Render for AppShell {
856 self.shortcuts_dialog.is_some(),
862 self.shortcuts_dialog.is_some(),
857 self.agent_dialog.is_some(),
863 self.agent_dialog.is_some(),
858 self.settings_dialog.is_some(),
864 self.settings_dialog.is_some(),
865 viewed_call.is_some() && self.state.read(cx).transfer_picker.is_some(),
866 viewed_call.is_some_and(|call| call.options_dialog.is_some()),
867 viewed_call.is_some_and(|call| call.model.consent_required),
859 ]
868 ]
860 .into_iter()
869 .into_iter()
861 .filter(|open| *open)
870 .filter(|open| *open)