@devries-cameron20 / t3code Mirror · read-only / commits / 521f5b5a56
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 23, 18:00 UTC

fix(web): replace Lineage timers with Stop on hover (#16791)

Bilal Bakr committed Oct 7, 2026 at 19:34 UTC 521f5b5a5682b18f2d59cf95226fc203cd314240
2 files changed +11 -4
apps/web/src/components/chat/ThreadDetailsControl.tsx
+1
@@ -20,6 +20,7 @@ import { ChevronDownIcon } from "lucide-react";
20
21 const parts = {
22 row: THREAD_DETAILS_PANEL_ROW_CLASS,
23 + "group-row": `${THREAD_DETAILS_PANEL_ROW_CLASS} hover:!bg-transparent dark:hover:!bg-transparent`,
24 select: THREAD_DETAILS_PANEL_SELECT_ROW_CLASS,
25 primary: THREAD_DETAILS_PANEL_SPLIT_PRIMARY_CLASS,
26 secondary: THREAD_DETAILS_PANEL_SPLIT_SECONDARY_CLASS,
apps/web/src/components/chat/ThreadRelationshipsControl.tsx
+10 -4
@@ -388,6 +388,9 @@ export function ThreadRelationshipsPanel(props: {
388 agent?.origin === "app_owned" &&
389 agent.startedAt &&
390 ["pending", "running", "waiting"].includes(agent.status);
391 + const trailingVisibilityClass = canStop
392 + ? "group-hover:opacity-0 group-focus-within:opacity-0 pointer-coarse:opacity-0 [@media(hover:none)]:opacity-0"
393 + : "";
394 const threadTitle = relationshipThreadTitle({
395 title: node?.thread?.title ?? agent?.title ?? threadId,
396 isSubagent,
@@ -444,13 +447,13 @@ export function ThreadRelationshipsPanel(props: {
447 carries status, so an agent with a known time shows only that. */}
448 {agent && !failed && deriveSubagentElapsedMs(agent, 0) !== null ? (
449 <span
447 - className={`shrink-0 text-2xs font-normal tabular-nums text-muted-foreground ${canStop ? "group-hover:opacity-0 group-focus-within:opacity-0 pointer-coarse:opacity-0 [@media(hover:none)]:opacity-0" : ""}`}
450 + className={`shrink-0 text-2xs font-normal tabular-nums text-muted-foreground ${trailingVisibilityClass}`}
451 >
452 <AgentElapsed agent={agent} compact />
453 </span>
454 ) : !isMergeTarget ? (
455 <span
453 - className={`shrink-0 text-2xs ${failed ? "text-destructive" : "text-muted-foreground"}`}
456 + className={`shrink-0 text-2xs ${failed ? "text-destructive" : "text-muted-foreground"} ${trailingVisibilityClass}`}
457 >
458 {threadRelationshipStatusLabel(status)}
459 </span>
@@ -458,7 +461,10 @@ export function ThreadRelationshipsPanel(props: {
461 </>
462 );
463 return (
461 - <li key={threadId} className="group relative flex h-8 items-center rounded-lg">
464 + <li
465 + key={threadId}
466 + className={`group relative flex h-8 items-center rounded-lg ${canStop ? THREAD_DETAILS_PANEL_LINK_SPLIT_GROUP_CLASS : ""}`}
467 + >
468 {isMergeTarget ? (
469 <div className={THREAD_DETAILS_PANEL_LINK_SPLIT_GROUP_CLASS}>
470 <Tooltip>
@@ -528,7 +534,7 @@ export function ThreadRelationshipsPanel(props: {
534 variant="ghost"
535 disabled={node?.missing === true}
536 onClick={() => openThread(threadId)}
531 - part="row"
537 + part={canStop ? "group-row" : "row"}
538 />
539 }
540 >