Skip to content

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

Merge branch 'main' of https://github.com/screenpipe/screenpipe

Louis Beaumont4190169e8c6d
diff --cc apps/screenpipe-app-tauri/app/home/page.tsx
index b7d2cbd9b,369c0fd31..ee92e6d31
--- a/apps/screenpipe-app-tauri/app/home/page.tsx
+++ b/apps/screenpipe-app-tauri/app/home/page.tsx
@@@ -299,15 -292,19 +299,27 @@@ function SettingsPageContent()
}
}, [activeSection, setActiveSection]);
+ // Listen for open-settings events from child components (e.g. connections strip)
+ useEffect(() => {
+ const handler = (e: Event) => {
+ const detail = (e as CustomEvent).detail;
+ if (detail?.section) {
+ openModal(detail.section as SettingsModalSection);
+ }
+ };
+ window.addEventListener("open-settings", handler);
+ return () => window.removeEventListener("open-settings", handler);
+ }, [openModal]);
+
const renderMainSection = () => {
+ if (isSectionHidden(activeSection) && activeSection !== "help") {
+ return (
+ <div className="flex flex-col items-center justify-center h-full text-muted-foreground">
+ <img src="/128x128.png" alt="screenpipe" className="w-16 h-16 opacity-30 mb-4" />
+ <p className="text-sm font-mono">screenpipe</p>
+ </div>
+ );
+ }
switch (activeSection) {
case "home":
return <StandaloneChat className="h-full" />;