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

fix(ui): unclickable sidebar & recording buttons on collapsed timeline (#4188)

Harsh Kumar46a06099398f
diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsx
index 44479fbb9..7b1f2c726 100644
--- a/apps/screenpipe-app-tauri/app/home/page.tsx
+++ b/apps/screenpipe-app-tauri/app/home/page.tsx
@@ -919,7 +919,7 @@ function HomeContent() {
// top-0.5 + items-center puts each icon's center at y≈15px,
// matching the vertical center of the macOS traffic lights
// (which sit at y≈14).
- "fixed top-1 z-20 flex items-center gap-1.5",
+ "fixed top-1 z-[46] flex items-center gap-1.5",
reserveTrafficLights ? "left-[78px]" : "left-2"
)}
>
@@ -930,7 +930,9 @@ function HomeContent() {
aria-label={sidebarCollapsed ? "expand sidebar" : "collapse sidebar"}
className={cn(
"p-1 rounded-md transition-colors",
- isTranslucent ? "vibrant-nav-item" : "text-muted-foreground hover:text-foreground hover:bg-muted/50"
+ sidebarCollapsed && activeSection === "timeline"
+ ? "backdrop-blur-sm bg-background/80 shadow-sm text-muted-foreground hover:text-foreground hover:bg-background"
+ : isTranslucent ? "vibrant-nav-item" : "text-muted-foreground hover:text-foreground hover:bg-muted/50"
)}
>
{sidebarCollapsed
@@ -979,6 +981,7 @@ function HomeContent() {
meetingLoading={meetingLoading}
onToggleMeeting={() => void toggleMeeting()}
isTranslucent={isTranslucent}
+ floatingOverMedia={sidebarCollapsed && activeSection === "timeline"}
/>
</div>
diff --git a/apps/screenpipe-app-tauri/components/recording-status.tsx b/apps/screenpipe-app-tauri/components/recording-status.tsx
index 218f2d8d0..3ecb903f2 100644
--- a/apps/screenpipe-app-tauri/components/recording-status.tsx
+++ b/apps/screenpipe-app-tauri/components/recording-status.tsx
@@ -35,6 +35,8 @@ interface RecordingStatusProps {
meetingLoading: boolean;
onToggleMeeting: () => void;
isTranslucent?: boolean;
+ /** buttons float over full-bleed video (timeline, sidebar collapsed) */
+ floatingOverMedia?: boolean;
}
const KIND_ICONS: Record<
@@ -61,6 +63,7 @@ export function RecordingStatus({
meetingLoading,
onToggleMeeting,
isTranslucent,
+ floatingOverMedia,
}: RecordingStatusProps) {
const [open, setOpen] = React.useState(false);
@@ -125,7 +128,9 @@ export function RecordingStatus({
data-testid="recording-status-trigger"
className={cn(
"flex items-center justify-center h-5 w-5 rounded-md transition-colors",
- isTranslucent ? "hover:bg-white/10" : "hover:bg-muted/60"
+ floatingOverMedia
+ ? "backdrop-blur-sm bg-background/80 shadow-sm hover:bg-background"
+ : isTranslucent ? "hover:bg-white/10" : "hover:bg-muted/60"
)}
>
<span