Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(desktop): wire CLI settings route and nav
Richie McIlroy84aaac321e3d
diff --git a/apps/desktop/src/App.tsx b/apps/desktop/src/App.tsxindex 640784be6..65d7debf3 100644--- a/apps/desktop/src/App.tsx+++ b/apps/desktop/src/App.tsx@@ -43,6 +43,9 @@ const SettingsScreenshotsPage = lazy(const SettingsHotkeysPage = lazy(() => import("./routes/(window-chrome)/settings/hotkeys"),);+const SettingsCliPage = lazy(+ () => import("./routes/(window-chrome)/settings/cli"),+);const SettingsChangelogPage = lazy(() => import("./routes/(window-chrome)/settings/changelog"),);@@ -176,6 +179,7 @@ function Inner() {/><Route path="/screenshots" component={SettingsScreenshotsPage} /><Route path="/hotkeys" component={SettingsHotkeysPage} />+ <Route path="/cli" component={SettingsCliPage} /><Route path="/changelog" component={SettingsChangelogPage} /><Route path="/feedback" component={SettingsFeedbackPage} /><Routediff --git a/apps/desktop/src/routes/(window-chrome)/settings.tsx b/apps/desktop/src/routes/(window-chrome)/settings.tsxindex 88fdb04db..cbd7ce5c3 100644--- a/apps/desktop/src/routes/(window-chrome)/settings.tsx+++ b/apps/desktop/src/routes/(window-chrome)/settings.tsx@@ -25,6 +25,7 @@ import { trackEvent } from "~/utils/analytics";import { createSignInMutation } from "~/utils/auth";import { clientEnv } from "~/utils/env";import { apiClient, protectedHeaders } from "~/utils/web-api";+import IconLucideTerminal from "~icons/lucide/terminal";import IconLucideUserRound from "~icons/lucide/user-round";const USER_PROFILE_CACHE_GC_MS = 2 * 60 * 60 * 1000;@@ -197,6 +198,11 @@ export default function Settings(props: RouteSectionProps) {name: "Shortcuts",icon: IconCapHotkeys,},+ {+ href: "cli",+ name: "CLI",+ icon: IconLucideTerminal,+ },{href: "recordings",name: "Recordings",