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

feat: add UI toggle for meeting typed text capture in meetings settings

Louis Beaumont72c1f82fac4e
diff --git a/apps/screenpipe-app-tauri/components/settings/meetings-section.tsx b/apps/screenpipe-app-tauri/components/settings/meetings-section.tsx
index 42e53c9df..a44bc7fe2 100644
--- a/apps/screenpipe-app-tauri/components/settings/meetings-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/meetings-section.tsx
@@ -17,7 +17,10 @@ import {
GitMerge,
ArrowUpDown,
Sparkles,
+ Keyboard,
} from "lucide-react";
+import { Switch } from "@/components/ui/switch";
+import { useSettings } from "@/lib/hooks/use-settings";
interface MeetingRecord {
id: number;
@@ -144,6 +147,7 @@ function MeetingsSkeleton() {
export function MeetingsSection() {
const { toast } = useToast();
+ const { settings, updateSettings } = useSettings();
const [meetings, setMeetings] = useState<MeetingRecord[]>([]);
const [loading, setLoading] = useState(true);
const [loadingMore, setLoadingMore] = useState(false);
@@ -440,7 +444,15 @@ export function MeetingsSection() {
return (
<div className="space-y-4 h-full flex flex-col">
- <div className="flex items-center justify-end">
+ <div className="flex items-center justify-between">
+ <label className="flex items-center gap-2 cursor-pointer" title="automatically append everything you typed during a meeting to its notes">
+ <Switch
+ checked={Boolean(settings.appendTypedTextToMeetingNotes ?? true)}
+ onCheckedChange={(checked) => updateSettings({ appendTypedTextToMeetingNotes: checked })}
+ />
+ <Keyboard className="h-3.5 w-3.5 text-muted-foreground" />
+ <span className="text-xs text-muted-foreground">auto-capture typed text</span>
+ </label>
{loading ? (
<Skeleton className="h-8 w-28 rounded-md" />
) : (
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index 443258c2e..1bc603281 100644
--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -158,6 +158,8 @@ export type Settings = SettingsStore & {
offlineMode?: boolean;
/** Pause all screen capture when a DRM streaming app (Netflix, Disney+, etc.) is focused */
pauseOnDrmContent?: boolean;
+ /** Auto-append typed text to meeting notes when a meeting ends */
+ appendTypedTextToMeetingNotes?: boolean;
/** Auto-delete local data older than retention days (free alternative to cloud archive) */
localRetentionEnabled?: boolean;
/** Days to keep data locally before auto-deleting (default: 30) */
@@ -335,6 +337,7 @@ let DEFAULT_SETTINGS: Settings = {
filterMusic: false,
ignoreIncognitoWindows: true,
pauseOnDrmContent: false,
+ appendTypedTextToMeetingNotes: true,
localRetentionEnabled: true,
localRetentionDays: 14,
};
diff --git a/crates/screenpipe-engine/src/meeting_detector.rs b/crates/screenpipe-engine/src/meeting_detector.rs
index 425a91e01..ea2e2e03a 100644
--- a/crates/screenpipe-engine/src/meeting_detector.rs
+++ b/crates/screenpipe-engine/src/meeting_detector.rs
@@ -2238,7 +2238,7 @@ pub async fn run_meeting_detection_loop(
StateAction::EndMeeting { meeting_id } => {
if meeting_id >= 0 {
let now = Utc::now().format("%Y-%m-%dT%H:%M:%S%.3fZ").to_string();
- match db.end_meeting(meeting_id, &now).await {
+ match db.end_meeting_with_typed_text(meeting_id, &now, true).await {
Ok(()) => {
info!("meeting v2: meeting ended (id={})", meeting_id);
}