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

ui(pipes): starred pipes beat running pipes in sort order

Louis Beaumont0a2c1abb717d
diff --git a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
index 65bfeec45..963f5ff40 100644
--- a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
@@ -796,7 +796,11 @@ export function PipesSection() {
return true;
})
.sort((a, b) => {
- // Running first
+ // Starred first — explicit user intent beats everything else
+ const aFav = pipeFavorites.isFavorite(a.config.name);
+ const bFav = pipeFavorites.isFavorite(b.config.name);
+ if (aFav !== bFav) return aFav ? -1 : 1;
+ // Then running
if (a.is_running !== b.is_running) return a.is_running ? -1 : 1;
// Then by most recent execution from DB (matches the "Xm ago" display)
const aExecs = pipeExecutions[a.config.name] || [];