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

Use full-height layout so virtual scroll works with many artifacts (#4030)

Harsh Kumar4da8c6b5df0e
diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsx
index b7ee7539b..4d5a69434 100644
--- a/apps/screenpipe-app-tauri/app/home/page.tsx
+++ b/apps/screenpipe-app-tauri/app/home/page.tsx
@@ -891,7 +891,8 @@ function HomeContent() {
activeSection === "home" ||
activeSection === "timeline" ||
activeSection === "meetings" ||
- activeSection === "history";
+ activeSection === "history" ||
+ activeSection === "brain";
return (
<div className={cn("bg-transparent", isFullHeight ? "h-screen overflow-hidden" : "min-h-screen")} data-testid="home-page">
diff --git a/apps/screenpipe-app-tauri/components/settings/brain-section.tsx b/apps/screenpipe-app-tauri/components/settings/brain-section.tsx
index 564537b4f..394a6f034 100644
--- a/apps/screenpipe-app-tauri/components/settings/brain-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/brain-section.tsx
@@ -653,7 +653,8 @@ export function BrainSection() {
const isStale = staleDays >= 1;
return (
- <div data-testid="section-brain" className="space-y-4 h-full flex flex-col">
+ <div data-testid="section-brain" className="h-full overflow-hidden">
+ <div className="max-w-4xl mx-auto px-6 py-6 space-y-4 h-full flex flex-col">
<p className="text-muted-foreground text-sm mb-4">
what the AI has learned from your activity and what it has generated for you
</p>
@@ -1298,5 +1299,6 @@ export function BrainSection() {
</div>
)}
</div>
+ </div>
);
}