Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

perf: skip hidden timeline library rendering (#5424)

[._.]/ Adam Eivy67449728b637
diff --git a/client/src/pages/VideoTimelineEditor.jsx b/client/src/pages/VideoTimelineEditor.jsx
index c91f7bbbc5..aa07b4786d 100644
--- a/client/src/pages/VideoTimelineEditor.jsx
+++ b/client/src/pages/VideoTimelineEditor.jsx
@@ -697,7 +697,7 @@ export default function VideoTimelineEditor() {
const laneWidth = Math.max(240, total * pxPerSec);
const playheadSec = Math.min(t, total);
- const libraryPanel = (
+ const libraryPanel = showLibrary ? (
<div className="bg-port-card/50 border border-port-border rounded-lg p-2 max-h-[600px] overflow-y-auto">
<div className="flex gap-1 mb-2" role="tablist" aria-label="Clip library">
{LIBRARY_TABS.map(({ id, label, Icon }) => (
@@ -750,7 +750,7 @@ export default function VideoTimelineEditor() {
</div>
))}
</div>
- );
+ ) : null;
return (
<div className="space-y-3">