Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Refine developer and recording settings copy
Richie McIlroye06e48eb23c0
diff --git a/apps/desktop-gpui/src/settings_pages.rs b/apps/desktop-gpui/src/settings_pages.rsindex bb40305b7..528a55b6c 100644--- a/apps/desktop-gpui/src/settings_pages.rs+++ b/apps/desktop-gpui/src/settings_pages.rs@@ -344,7 +344,7 @@ pub(crate) struct PagesState {s3: S3Page,gdrive: GDrivePage,- // Experimental (experimental.tsx). The Native app row's hand-back takes the+ // Experimental (experimental.tsx). The Developer section's hand-back takes the// whole settings window over, so its clock and the ticker that repaints the// sequence live here and the overlay renders from the window root.switch_back: Option<SwitchBack>,@@ -2008,10 +2008,10 @@ impl SettingsWindow {if dev_supervisor_available() {sections.push(self.section(- "Native app",+ "Developer",+ Some("Only shown in development builds."),None,- None,- vec![self.rows(vec![self.native_app_row(cx)]).into_any_element()],+ vec![self.rows(vec![self.classic_app_row(cx)]).into_any_element()],).into_any_element(),);@@ -2019,15 +2019,16 @@ impl SettingsWindow {sections}- /// The dev harness's Native app row: being in this app is what the toggle- /// means, and turning it off reopens the classic app under `tauri dev`.- fn native_app_row(&self, cx: &mut Context<Self>) -> gpui::AnyElement {+ /// The dev harness's way back to the classic app: being in this app is what+ /// the toggle means, and turning it off reopens the classic app under+ /// `tauri dev`.+ fn classic_app_row(&self, cx: &mut Context<Self>) -> gpui::AnyElement {let checked = !matches!(self.pages.switch_back, Some(SwitchBack::Running(_)));self.setting_row(- "Cap GPUI",+ "Use native app",Some(- "You are using the native version of Cap. Turning this off closes it and reopens \- the classic app in the dev harness. Your recordings and settings are shared.",+ "Turn off to close this app and reopen the classic Tauri app in the dev harness. \+ Recordings and settings are shared.",),self.toggle("enable-gpui-app", checked, cx, |this, cx| {match this.pages.switch_back {diff --git a/apps/desktop-gpui/src/settings_window.rs b/apps/desktop-gpui/src/settings_window.rsindex b911bdcd0..b6e6bfc81 100644--- a/apps/desktop-gpui/src/settings_window.rs+++ b/apps/desktop-gpui/src/settings_window.rs@@ -3230,7 +3230,11 @@ impl SettingsWindow {self.section("Instant recordings",- Some("Uploaded while you record, so the link is ready the moment you stop."),+ Some(+ "Uploaded while you record, so the link is ready the moment you stop. For the \+ best quality, use Studio mode: it records at the highest quality your screen \+ allows, and you can export up to 4K.",+ ),None,vec![self.rows(rows).into_any_element()],)