BlueGit

ict rusty-teams

fix(calls): end notice and report notice share one toast; Devices settings scroll

- 'Mara declined. Test report saved' instead of the report notice replacing the end reason
- Settings > Devices scrolls, the camera effects rows were cut off below the preview

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

metis Daniel Däschle · pushed by metis

Authored 2026-10-13 · 7 weeks ago

Hash
739060e2d4b9fd6bd0011a325f14055fb82cd700
Parent
34217804
2 files changed +12 −2
crates/app/src/call/actions.rs +5 −1
@@ -301,7 +301,11 @@ impl AppState {
301 301 let action = NoticeAction::new("Open folder", move |_, _| {
302 302 crate::downloads::reveal_in_file_manager(&path)
303 303 });
304 self.raise_notice(REPORT_SAVED_NOTICE.to_owned(), Some(action), cx);
304 let text = match self.notice.as_ref().filter(|notice| notice.action.is_none()) {
305 Some(ended) => format!("{}. {REPORT_SAVED_NOTICE}", ended.text.trim_end_matches('.')),
306 None => REPORT_SAVED_NOTICE.to_owned(),
307 };
308 self.raise_notice(text, Some(action), cx);
305 309 }
306 310
307 311 pub fn set_call_report_enabled(&mut self, on: bool, cx: &mut Context<Self>) {
@@ -301,7 +301,11 @@ impl AppState {
301 let action = NoticeAction::new("Open folder", move |_, _| {
301 let action = NoticeAction::new("Open folder", move |_, _| {
302 crate::downloads::reveal_in_file_manager(&path)
302 crate::downloads::reveal_in_file_manager(&path)
303 });
303 });
304 self.raise_notice(REPORT_SAVED_NOTICE.to_owned(), Some(action), cx);
304 let text = match self.notice.as_ref().filter(|notice| notice.action.is_none()) {
305 Some(ended) => format!("{}. {REPORT_SAVED_NOTICE}", ended.text.trim_end_matches('.')),
306 None => REPORT_SAVED_NOTICE.to_owned(),
307 };
308 self.raise_notice(text, Some(action), cx);
305 }
309 }
306
310
307 pub fn set_call_report_enabled(&mut self, on: bool, cx: &mut Context<Self>) {
311 pub fn set_call_report_enabled(&mut self, on: bool, cx: &mut Context<Self>) {
crates/app/src/notify/settings_view.rs +7 −1
@@ -738,7 +738,13 @@ impl Render for SettingsView {
738 738 );
739 739 let body = match self.section {
740 740 Section::Notifications => self.notifications_section(cx).into_any_element(),
741 Section::Devices => self.devices_section(cx).into_any_element(),
741 Section::Devices => div()
742 .id("devices-scroll")
743 .flex_1()
744 .min_h(px(0.))
745 .overflow_y_scroll()
746 .child(self.devices_section(cx))
747 .into_any_element(),
742 748 Section::Agents => div()
743 749 .id("agents-scroll")
744 750 .flex_1()
@@ -738,7 +738,13 @@ impl Render for SettingsView {
738 );
738 );
739 let body = match self.section {
739 let body = match self.section {
740 Section::Notifications => self.notifications_section(cx).into_any_element(),
740 Section::Notifications => self.notifications_section(cx).into_any_element(),
741 Section::Devices => self.devices_section(cx).into_any_element(),
741 Section::Devices => div()
742 .id("devices-scroll")
743 .flex_1()
744 .min_h(px(0.))
745 .overflow_y_scroll()
746 .child(self.devices_section(cx))
747 .into_any_element(),
742 Section::Agents => div()
748 Section::Agents => div()
743 .id("agents-scroll")
749 .id("agents-scroll")
744 .flex_1()
750 .flex_1()