@devries-cameron20 / t3code Mirror · read-only / commits / 48745ffba5
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 23:15 UTC

fix(web): hovering a thread automation shows its full title and schedule (#18144)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Tristan Manchester committed Oct 20, 2026 at 06:13 UTC 48745ffba50d8c00e430fc3d06244b4317690227
1 file changed +30 -18
apps/web/src/components/chat/ThreadAutomationsPanel.tsx
+30 -18
@@ -37,6 +37,24 @@ const STATUS_DOT_CLASS: Record<ScheduledTask["lastRunStatus"], string> = {
37 failed: "bg-destructive",
38 };
39
40 +function taskScheduleLine(task: ScheduledTask) {
41 + return (
42 + <>
43 + {scheduleLabel(task.schedule)}
44 + {task.enabled && task.nextRunAt !== null ? (
45 + <>
46 + {" · next "}
47 + <ScheduledRelativeLabel value={task.nextRunAt} />
48 + </>
49 + ) : task.enabled ? (
50 + ""
51 + ) : (
52 + " · paused"
53 + )}
54 + </>
55 + );
56 +}
57 +
58 export function ThreadAutomationsPanel(props: {
59 readonly environmentId: EnvironmentId;
60 readonly threadId: ThreadId;
@@ -162,24 +180,18 @@ export function ThreadAutomationsPanel(props: {
180 aria-hidden
181 />
182 </span>
165 - <div className="min-w-0 flex-1">
166 - <span className="block truncate text-sm font-medium text-foreground/80">
167 - {task.title}
168 - </span>
169 - <p className="truncate text-2xs text-muted-foreground">
170 - {scheduleLabel(task.schedule)}
171 - {task.enabled && task.nextRunAt !== null ? (
172 - <>
173 - {" · next "}
174 - <ScheduledRelativeLabel value={task.nextRunAt} />
175 - </>
176 - ) : task.enabled ? (
177 - ""
178 - ) : (
179 - " · paused"
180 - )}
181 - </p>
182 - </div>
183 + <Tooltip>
184 + <TooltipTrigger render={<div className="min-w-0 flex-1" />}>
185 + <span className="block truncate text-sm font-medium text-foreground/80">
186 + {task.title}
187 + </span>
188 + <p className="truncate text-2xs text-muted-foreground">{taskScheduleLine(task)}</p>
189 + </TooltipTrigger>
190 + <TooltipPopup side="left">
191 + <p className="font-medium">{task.title}</p>
192 + <p className="text-muted-foreground">{taskScheduleLine(task)}</p>
193 + </TooltipPopup>
194 + </Tooltip>
195 <Tooltip>
196 <TooltipTrigger
197 render={