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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
ui(meeting-notes): show date on older past meetings, not just clock
Louis Beaumont1da3ff4f1163
diff --git a/apps/screenpipe-app-tauri/components/meeting-notes/past-meetings.tsx b/apps/screenpipe-app-tauri/components/meeting-notes/past-meetings.tsxindex 40772157e..d736dedb3 100644--- a/apps/screenpipe-app-tauri/components/meeting-notes/past-meetings.tsx+++ b/apps/screenpipe-app-tauri/components/meeting-notes/past-meetings.tsx@@ -77,6 +77,7 @@ export function PastMeetings({<PastMeetingRowkey={m.id}meeting={m}+ bucket={b.label}isActive={m.id === activeId}onClick={() => onSelect(m.id)}/>@@ -90,16 +91,19 @@ export function PastMeetings({function PastMeetingRow({meeting,+ bucket,isActive,onClick,}: {meeting: MeetingRecord;+ bucket: string;isActive: boolean;onClick: () => void;}) {const title = meeting.title?.trim() || titleFromApp(meeting.meeting_app);const hasNote = Boolean(meeting.note?.trim());const Icon = isActive ? Phone : hasNote ? FileText : Phone;+ const stamp = formatRowStamp(meeting.meeting_start, bucket);return (<li className="border-b border-border"><button@@ -130,15 +134,32 @@ function PastMeetingRow({</div><div className="shrink-0 flex items-center gap-3 text-[11px] text-muted-foreground tabular-nums"><span>{formatDuration(meeting.meeting_start, meeting.meeting_end)}</span>- <span className="w-12 text-right">- {formatClock(meeting.meeting_start)}- </span>+ <span className="w-16 text-right">{stamp}</span></div></button></li>);}+function formatRowStamp(iso: string, bucket: string): string {+ const d = new Date(iso);+ if (Number.isNaN(d.getTime())) return "";+ if (bucket === "today" || bucket === "yesterday") {+ return formatClock(iso);+ }+ if (bucket === "earlier this week") {+ return d.toLocaleDateString(undefined, { weekday: "short" }).toLowerCase();+ }+ const sameYear = d.getFullYear() === new Date().getFullYear();+ return d+ .toLocaleDateString(undefined, {+ month: "short",+ day: "numeric",+ ...(sameYear ? {} : { year: "2-digit" }),+ })+ .toLowerCase();+}+function titleFromApp(app: string): string {if (!app || app === "manual") return "untitled meeting";return app.toLowerCase();