YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
ui: compact settings layout
Louis Beaumontecd9b3b6f690
diff --git a/apps/screenpipe-app-tauri/app/settings/page.tsx b/apps/screenpipe-app-tauri/app/settings/page.tsxindex 19c9069ee..0bea2de7c 100644--- a/apps/screenpipe-app-tauri/app/settings/page.tsx+++ b/apps/screenpipe-app-tauri/app/settings/page.tsx@@ -163,48 +163,41 @@ function SettingsPageContent() {<div className="max-w-7xl mx-auto px-4"><div className="flex h-[calc(100vh-2rem)] min-h-0">{/* Sidebar */}- <div className="w-80 border-r bg-background flex flex-col min-h-0 rounded-tl-lg">- <div className="p-6 border-b">- <div className="space-y-3">- <h1 className="text-2xl font-bold text-foreground">Settings</h1>- </div>+ <div className="w-56 border-r bg-background flex flex-col min-h-0 rounded-tl-lg">+ <div className="px-4 py-3 border-b">+ <h1 className="text-lg font-bold text-foreground">Settings</h1></div>{/* Navigation */}- <div className="p-4 space-y-2 flex-1 overflow-y-auto">+ <div className="p-2 space-y-0.5 flex-1 overflow-y-auto">{settingsSections.map((section) => (<buttonkey={section.id}onClick={() => setActiveSection(section.id as SettingsSection)}className={cn(- "w-full flex items-start space-x-3 px-4 py-3 rounded-xl transition-all duration-200 text-left group",+ "w-full flex items-center space-x-2.5 px-3 py-2 rounded-lg transition-all duration-200 text-left group",activeSection === section.id? "bg-card shadow-sm border border-border text-foreground": "hover:bg-card/50 text-muted-foreground hover:text-foreground",)}><div className={cn(- "mt-0.5 transition-colors",+ "transition-colors flex-shrink-0",activeSection === section.id? "text-primary": "text-muted-foreground group-hover:text-foreground")}>{section.icon}</div>- <div className="flex-1 min-w-0">- <div className="font-medium text-sm">{section.label}</div>- <div className="text-xs text-muted-foreground mt-0.5 leading-relaxed">- {section.description}- </div>- </div>+ <span className="font-medium text-sm truncate">{section.label}</span></button>))}</div>{/* Footer */}- <div className="p-4 border-t border-border flex-shrink-0">+ <div className="p-3 border-t border-border flex-shrink-0"><div className="text-xs text-muted-foreground text-center">- screenpipe Settings+ screenpipe</div></div></div>@@ -212,7 +205,7 @@ function SettingsPageContent() {{/* Content */}<div className="flex-1 flex flex-col h-full bg-background min-h-0 rounded-tr-lg"><div className="flex-1 overflow-y-auto overflow-x-hidden min-h-0">- <div className="p-8 pb-16 max-w-4xl mx-auto">+ <div className="p-6 pb-12 max-w-4xl mx-auto">{renderSection()}</div></div>diff --git a/apps/screenpipe-app-tauri/components/settings/general-settings.tsx b/apps/screenpipe-app-tauri/components/settings/general-settings.tsxindex 69034442d..643a780ad 100644--- a/apps/screenpipe-app-tauri/components/settings/general-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/general-settings.tsx@@ -56,29 +56,29 @@ export default function GeneralSettings() {};return (- <div className="space-y-8">- <div className="space-y-3">+ <div className="space-y-5">+ <div className="space-y-1"><div className="flex items-center justify-between">- <h1 className="text-3xl font-bold tracking-tight text-foreground">- General Settings+ <h1 className="text-xl font-bold tracking-tight text-foreground">+ General</h1><UpdateBanner compact /></div>- <p className="text-muted-foreground text-lg">- Configure basic application preferences and behavior+ <p className="text-muted-foreground text-sm">+ App preferences and behavior</p></div>- <div className="space-y-6">+ <div className="space-y-3"><Card className="border-border bg-card shadow-sm">- <CardContent className="p-6">+ <CardContent className="p-4"><div className="flex items-center justify-between">- <div className="flex items-start space-x-4">- <div className="p-2 bg-primary/10 rounded-lg">- <Rocket className="h-5 w-5 text-primary" />+ <div className="flex items-start space-x-3">+ <div className="p-1.5 bg-primary/10 rounded-lg">+ <Rocket className="h-4 w-4 text-primary" /></div><div className="space-y-1 flex-1">- <h3 className="text-lg font-semibold text-foreground">+ <h3 className="text-sm font-semibold text-foreground">Auto-start Application</h3><p className="text-sm text-muted-foreground leading-relaxed">@@ -100,14 +100,14 @@ export default function GeneralSettings() {</Card><Card className="border-border bg-card shadow-sm">- <CardContent className="p-6">+ <CardContent className="p-4"><div className="flex items-center justify-between">- <div className="flex items-start space-x-4">- <div className="p-2 bg-primary/10 rounded-lg">- <RefreshCw className="h-5 w-5 text-primary" />+ <div className="flex items-start space-x-3">+ <div className="p-1.5 bg-primary/10 rounded-lg">+ <RefreshCw className="h-4 w-4 text-primary" /></div><div className="space-y-1 flex-1">- <h3 className="text-lg font-semibold text-foreground">+ <h3 className="text-sm font-semibold text-foreground">Auto-update</h3><p className="text-sm text-muted-foreground leading-relaxed">@@ -129,14 +129,14 @@ export default function GeneralSettings() {</Card><Card className="border-border bg-card shadow-sm">- <CardContent className="p-6">+ <CardContent className="p-4"><div className="space-y-4">- <div className="flex items-start space-x-4">- <div className="p-2 bg-primary/10 rounded-lg">- <Monitor className="h-5 w-5 text-primary" />+ <div className="flex items-start space-x-3">+ <div className="p-1.5 bg-primary/10 rounded-lg">+ <Monitor className="h-4 w-4 text-primary" /></div><div className="space-y-1 flex-1">- <h3 className="text-lg font-semibold text-foreground">+ <h3 className="text-sm font-semibold text-foreground">Theme</h3><p className="text-sm text-muted-foreground leading-relaxed">@@ -190,14 +190,14 @@ export default function GeneralSettings() {</Card><Card className="border-border bg-card shadow-sm">- <CardContent className="p-6">+ <CardContent className="p-4"><div className="space-y-4">- <div className="flex items-start space-x-4">- <div className="p-2 bg-primary/10 rounded-lg">- <Layers className="h-5 w-5 text-primary" />+ <div className="flex items-start space-x-3">+ <div className="p-1.5 bg-primary/10 rounded-lg">+ <Layers className="h-4 w-4 text-primary" /></div><div className="space-y-1 flex-1">- <h3 className="text-lg font-semibold text-foreground">+ <h3 className="text-sm font-semibold text-foreground">Timeline Overlay Mode</h3><p className="text-sm text-muted-foreground leading-relaxed">@@ -244,14 +244,14 @@ export default function GeneralSettings() {</Card><Card className="border-border bg-card shadow-sm">- <CardContent className="p-6">+ <CardContent className="p-4"><div className="flex items-center justify-between">- <div className="flex items-start space-x-4">- <div className="p-2 bg-primary/10 rounded-lg">- <FlaskConical className="h-5 w-5 text-primary" />+ <div className="flex items-start space-x-3">+ <div className="p-1.5 bg-primary/10 rounded-lg">+ <FlaskConical className="h-4 w-4 text-primary" /></div><div className="space-y-1 flex-1">- <h3 className="text-lg font-semibold text-foreground">+ <h3 className="text-sm font-semibold text-foreground">Try Beta Version</h3><p className="text-sm text-muted-foreground leading-relaxed">@@ -272,14 +272,14 @@ export default function GeneralSettings() {</CardContent></Card><Card className="border-border bg-card shadow-sm">- <CardContent className="p-6">+ <CardContent className="p-4"><div className="flex items-center justify-between">- <div className="flex items-start space-x-4">- <div className="p-2 bg-muted rounded-lg">- <Monitor className="h-5 w-5 text-muted-foreground" />+ <div className="flex items-start space-x-3">+ <div className="p-1.5 bg-muted rounded-lg">+ <Monitor className="h-4 w-4 text-muted-foreground" /></div><div className="space-y-1 flex-1">- <h3 className="text-lg font-semibold text-foreground">+ <h3 className="text-sm font-semibold text-foreground">Show Overlay in Screen Recording</h3><p className="text-sm text-muted-foreground leading-relaxed">@@ -308,9 +308,9 @@ export default function GeneralSettings() {</Card></div>- <div className="pt-4">- <div className="p-4 bg-primary/5 border border-primary/20 rounded-lg">- <p className="text-sm text-primary">+ <div className="pt-2">+ <div className="px-3 py-2 bg-primary/5 border border-primary/20 rounded-lg">+ <p className="text-xs text-primary">Auto-start ensures continuous recording so you never miss capturing important moments.</p></div>