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: show event-triggered pipes in monitor, don't require schedule field

Louis Beaumont0cc12b57e195
diff --git a/apps/screenpipe-app-tauri/components/pipe-monitor.tsx b/apps/screenpipe-app-tauri/components/pipe-monitor.tsx
index 3e9f7bf60..b1a850375 100644
--- a/apps/screenpipe-app-tauri/components/pipe-monitor.tsx
+++ b/apps/screenpipe-app-tauri/components/pipe-monitor.tsx
@@ -278,13 +278,19 @@ function PipeRow({
{/* Schedule + event triggers */}
<span
className="text-xs text-muted-foreground shrink-0 text-right font-mono truncate max-w-[140px]"
- title={pipe.config.schedule || "manual"}
+ title={pipe.config.trigger?.events?.length
+ ? `events: ${pipe.config.trigger.events.join(", ")}`
+ : pipe.config.schedule || "manual"}
>
- {humanizeSchedule(pipe.config.schedule)}
{pipe.config.trigger?.events?.length ? (
- <span className="ml-1 text-[10px] text-primary/70" title={`events: ${pipe.config.trigger.events.join(", ")}`}>
- ⚡{pipe.config.trigger.events.length}
+ <span className="text-primary/70">
+ ⚡{pipe.config.trigger.events.length} event{pipe.config.trigger.events.length > 1 ? "s" : ""}
</span>
+ ) : (
+ humanizeSchedule(pipe.config.schedule)
+ )}
+ {pipe.config.trigger?.events?.length && pipe.config.schedule && pipe.config.schedule !== "manual" ? (
+ <span className="ml-1 text-muted-foreground/50">+ {humanizeSchedule(pipe.config.schedule)}</span>
) : null}
</span>
@@ -398,7 +404,9 @@ function DeviceCard({
const audioDeviceCount =
device.health?.audio_pipeline?.audio_devices?.length || 0;
const allPipes = (device.pipes || []).filter(
- (p) => p.config.schedule && p.config.schedule !== "manual"
+ (p) =>
+ (p.config.schedule && p.config.schedule !== "manual") ||
+ (p.config.trigger?.events && p.config.trigger.events.length > 0)
);
const isOnline = device.status === "online";