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

Clarify meeting notes versus recording pause (#4588)

Louis Beaumontdc8de64d835b
diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsx
index 9b24dd7d4..ee51f7f7f 100644
--- a/apps/screenpipe-app-tauri/app/home/page.tsx
+++ b/apps/screenpipe-app-tauri/app/home/page.tsx
@@ -565,6 +565,13 @@ function HomeContent() {
return () => { unlisten?.(); };
}, [refreshRecordingDevices]);
+ const pauseRecording = useCallback(async () => {
+ await emit("shortcut-stop-recording", {});
+ window.setTimeout(() => {
+ void refreshRecordingDevices();
+ }, 500);
+ }, [refreshRecordingDevices]);
+
// Active meeting state — lights up the phone icon for ANY active meeting
// (manual OR auto-detected: Teams, Zoom, etc.).
const [meetingState, setMeetingState] = useState<MeetingStatusResponse & {
@@ -1001,6 +1008,7 @@ function HomeContent() {
meetingApp={meetingState.meetingApp}
meetingLoading={meetingLoading}
onToggleMeeting={() => void toggleMeeting()}
+ onPauseRecording={pauseRecording}
isTranslucent={isTranslucent}
floatingOverMedia={sidebarCollapsed && activeSection === "timeline"}
/>
diff --git a/apps/screenpipe-app-tauri/components/recording-status.tsx b/apps/screenpipe-app-tauri/components/recording-status.tsx
index 121c2606e..93d4c3f33 100644
--- a/apps/screenpipe-app-tauri/components/recording-status.tsx
+++ b/apps/screenpipe-app-tauri/components/recording-status.tsx
@@ -5,7 +5,7 @@
"use client";
import React from "react";
-import { Monitor, Mic, MicOff, Volume2, VolumeX, Phone } from "lucide-react";
+import { Monitor, Mic, MicOff, Volume2, VolumeX, Phone, Pause } from "lucide-react";
import posthog from "posthog-js";
import {
Popover,
@@ -34,6 +34,7 @@ interface RecordingStatusProps {
meetingApp?: string | null;
meetingLoading: boolean;
onToggleMeeting: () => void;
+ onPauseRecording?: () => void | Promise<void>;
isTranslucent?: boolean;
/** buttons float over full-bleed video (timeline, sidebar collapsed) */
floatingOverMedia?: boolean;
@@ -62,13 +63,16 @@ export function RecordingStatus({
meetingApp,
meetingLoading,
onToggleMeeting,
+ onPauseRecording,
isTranslucent,
floatingOverMedia,
}: RecordingStatusProps) {
const [open, setOpen] = React.useState(false);
+ const [pauseLoading, setPauseLoading] = React.useState(false);
const pausedCount = devices.filter((d) => !d.active).length;
const allActive = devices.length > 0 && pausedCount === 0;
+ const canPauseRecording = devices.some((d) => d.active);
const summary =
devices.length === 0
@@ -76,7 +80,7 @@ export function RecordingStatus({
: pausedCount === 0
? "recording"
: `${pausedCount} device${pausedCount > 1 ? "s" : ""} paused`;
- const label = meetingActive ? `${summary} · meeting` : summary;
+ const label = meetingActive ? `${summary} · meeting notes` : summary;
const toggleDevice = async (device: RecordingDevice) => {
const endpoint = device.active
@@ -106,6 +110,17 @@ export function RecordingStatus({
}
};
+ const pauseRecording = async () => {
+ if (!onPauseRecording || pauseLoading) return;
+ setPauseLoading(true);
+ try {
+ await onPauseRecording();
+ setOpen(false);
+ } finally {
+ setPauseLoading(false);
+ }
+ };
+
return (
<Popover
open={open}
@@ -170,6 +185,21 @@ export function RecordingStatus({
<div className="px-3 py-2 border-b border-border">
<span className="text-xs font-medium text-foreground">{label}</span>
</div>
+ {onPauseRecording && (
+ <div className="px-3 py-2 border-b border-border">
+ <button
+ type="button"
+ onClick={() => void pauseRecording()}
+ disabled={!canPauseRecording || pauseLoading}
+ data-testid="recording-status-pause-all"
+ title="pause all screen and audio recording"
+ className="flex w-full items-center justify-center gap-1.5 rounded-md border border-border px-2 py-1.5 text-[11px] font-medium text-foreground transition-colors hover:bg-muted/60 disabled:cursor-not-allowed disabled:opacity-50"
+ >
+ <Pause aria-hidden="true" className="h-3 w-3" />
+ {pauseLoading ? "pausing recording" : "pause all recording"}
+ </button>
+ </div>
+ )}
<div className="py-1">
{devices.length === 0 && (
<div className="px-3 py-2 text-[11px] text-muted-foreground">
@@ -226,15 +256,16 @@ export function RecordingStatus({
)}
/>
<span className="flex-1 min-w-0 truncate text-[11px] text-foreground">
- {meetingActive ? `meeting${meetingApp ? ` · ${meetingApp}` : ""}` : "meeting"}
+ {meetingActive ? `meeting notes${meetingApp ? ` · ${meetingApp}` : ""}` : "meeting notes"}
</span>
<button
onClick={onToggleMeeting}
disabled={meetingLoading}
data-testid="recording-status-meeting-toggle"
- className="text-[10px] text-muted-foreground hover:text-foreground transition-colors shrink-0 disabled:opacity-50"
+ title={meetingActive ? "stop the meeting note only" : "start meeting notes"}
+ className="text-[10px] text-muted-foreground hover:text-foreground transition-colors shrink-0 disabled:opacity-50 whitespace-nowrap"
>
- {meetingActive ? "stop" : "start"}
+ {meetingActive ? "stop notes" : "start notes"}
</button>
</div>
</PopoverContent>