From efbcce27e40240de342c42aeb9867004ba195e68 Mon Sep 17 00:00:00 2001 From: dotta Date: Thu, 19 Mar 2026 12:12:19 -0500 Subject: [PATCH] Add Project and Agent columns to routines table Add two new columns to the routines index table: - Project column with a colored dot matching the project color - Agent column with the agent icon and name Moves the project info out of the Name cell subtitle into its own dedicated column for better scannability. Co-Authored-By: Paperclip Co-Authored-By: Claude Opus 4.6 --- ui/src/pages/Routines.tsx | 41 ++++++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/ui/src/pages/Routines.tsx b/ui/src/pages/Routines.tsx index 89f98e21..7f0f9a70 100644 --- a/ui/src/pages/Routines.tsx +++ b/ui/src/pages/Routines.tsx @@ -522,6 +522,8 @@ export function Routines() { Name + Project + Agent Last run Enabled @@ -535,16 +537,45 @@ export function Routines() { return ( -
+
{routine.title} -
- {routine.projectId ? `${projectById.get(routine.projectId)?.name ?? "Unknown project"}` : "No project"} - {isArchived ? " · archived" : routine.status === "paused" ? " · paused" : ""} -
+ {(isArchived || routine.status === "paused") && ( +
+ {isArchived ? "archived" : "paused"} +
+ )}
+ + {routine.projectId ? ( +
+ + {projectById.get(routine.projectId)?.name ?? "Unknown"} +
+ ) : ( + + )} + + + {routine.assigneeAgentId ? (() => { + const agent = agentById.get(routine.assigneeAgentId); + return agent ? ( +
+ + {agent.name} +
+ ) : ( + Unknown + ); + })() : ( + + )} +
{formatLastRunTimestamp(routine.lastRun?.triggeredAt)}
{routine.lastRun ? (