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
fix: show skeleton loader on pipe runs tab instead of "no runs yet"
Louis Beaumont4eea6621f78b
diff --git a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsxindex bd07f9592..c80331f76 100644--- a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx+++ b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx@@ -683,6 +683,7 @@ export function PipesSection() {const expandedRef = useRef<string | null>(null);const [logs, setLogs] = useState<PipeRunLog[]>([]);const [executions, setExecutions] = useState<PipeExecution[]>([]);+ const [executionsLoading, setExecutionsLoading] = useState(false);// Per-pipe recent executions (always fetched for all pipes)const [pipeExecutions, setPipeExecutions] = useState<Record<string, PipeExecution[]>>({});const [loading, setLoading] = useState(true);@@ -1060,6 +1061,7 @@ export function PipesSection() {};const fetchExecutions = async (name: string) => {+ setExecutionsLoading(true);try {const res = await fetch(`${apiBase}/pipes/${name}/executions?limit=20`);const data = await res.json();@@ -1067,6 +1069,8 @@ export function PipesSection() {} catch (e) {// Executions endpoint may not exist on older servers — fall back silentlysetExecutions([]);+ } finally {+ setExecutionsLoading(false);}};@@ -2190,7 +2194,19 @@ export function PipesSection() {{/* ═══ RUNS TAB ═══ */}<TabsContent value="runs" className="mt-3"><div className="space-y-2 max-h-80 overflow-y-auto">- {executions.length === 0 && logs.length === 0 ? (+ {executionsLoading && executions.length === 0 ? (+ <div className="space-y-2 py-2">+ {[...Array(3)].map((_, i) => (+ <div key={i} className="border p-2 space-y-1.5 animate-pulse">+ <div className="flex items-center gap-2">+ <div className="h-3 w-28 bg-muted rounded" />+ <div className="h-5 w-16 bg-muted rounded" />+ <div className="h-3 w-12 bg-muted rounded" />+ </div>+ </div>+ ))}+ </div>+ ) : executions.length === 0 && logs.length === 0 ? (<p className="text-xs text-muted-foreground py-4 text-center">no runs yet — click ▶ to run manually</p>