The best way to control Claude Code, Codex and more from any computer or phone
fix(web): remove redundant status info icon (#36947)
Yash Singh committed
Nov 14, 2026 at 16:03 UTC
0f79b4027a472b96fa9e72b5ee149567c992e177
2 files changed
+14
-16
apps/web/src/components/chat/ThreadActivityBanners.tsx
+12
-4
@@ -30,6 +30,7 @@ import { tickTextContent } from "~/lib/tickTextContent";
30
import { BackgroundWorkDetails } from "./BackgroundWorkDetails";
31
import { Button, InlineButton } from "../ui/button";
32
import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
33
+import { Popover, PopoverPopup, PopoverTrigger } from "../ui/popover";
34
import type { ComposerBannerStackItem } from "./ComposerBannerStack";
35
import type { ThreadNowItem } from "./ThreadNow";
36
@@ -98,10 +99,17 @@ export function goalNowItem(input: {
99
return {
100
id: `goal:${input.threadId}`,
101
icon: <TargetIcon />,
101
- title:
102
- presentation.usage === null
103
- ? presentation.title
104
- : `${presentation.title} · ${presentation.usage}`,
102
+ title: (
103
+ <Popover>
104
+ <PopoverTrigger openOnHover render={<InlineButton />}>
105
+ {presentation.title}
106
+ {presentation.usage === null ? null : ` · ${presentation.usage}`}
107
+ </PopoverTrigger>
108
+ <PopoverPopup side="top" width="md" padding="compact" aria-label="Goal objective">
109
+ <p className="whitespace-pre-wrap wrap-anywhere text-sm">{presentation.objective}</p>
110
+ </PopoverPopup>
111
+ </Popover>
112
+ ),
113
description: presentation.objective,
114
// Clear stops goal work; Resume would stop unrelated work, so it waits.
115
actions: (
apps/web/src/components/chat/ThreadNow.tsx
+2
-12
@@ -3,7 +3,6 @@ import type { ReactNode } from "react";
3
4
import { threadSyncLabel, type ThreadSyncPhase } from "../../threadSync";
5
import { cn } from "~/lib/utils";
6
-import { NoticeText } from "./ComposerBannerStack";
6
7
/** A line of thread state for the end of the timeline. */
8
export interface ThreadNowItem {
@@ -17,8 +16,6 @@ export interface ThreadNowItem {
16
/** Matches ThreadStatusLine, so every line at the end of the timeline reads as one family. */
17
const lineClassName = cn(
18
"mx-auto flex w-full min-w-0 max-w-(--chat-content-max-width) items-center gap-1.5 px-1 pb-2 text-xs text-muted-foreground [&_svg]:size-3.5 [&_svg]:shrink-0",
20
- // A details button must not make its line taller than the others.
21
- "[&_[data-slot=popover-trigger]]:-my-1.5",
19
// Inline actions keep their text size but get a finger-sized hit area on touch.
20
"pointer-coarse:[&_[data-slot=inline-button]]:relative pointer-coarse:[&_[data-slot=inline-button]]:after:absolute pointer-coarse:[&_[data-slot=inline-button]]:after:-inset-x-1.5 pointer-coarse:[&_[data-slot=inline-button]]:after:-inset-y-3.5",
21
"transition-opacity duration-150 ease-out starting:opacity-0 motion-reduce:transition-none",
@@ -42,14 +39,7 @@ function ThreadNowLine({
39
<span aria-hidden className="flex size-3.5 shrink-0 self-center items-center justify-center">
40
{item.icon}
41
</span>
45
- {/* Title and detail read as one line that gives way before the actions, so Stop stays
46
- reachable; when it is cut, its details button shows all of it. */}
47
- <NoticeText
48
- detailsLabel={
49
- typeof item.title === "string" ? `Show details: ${item.title}` : "Show details"
50
- }
51
- className="min-w-0 truncate"
52
- >
42
+ <span className="min-w-0 truncate">
43
{item.title}
44
{item.description ? (
45
<>
@@ -59,7 +49,7 @@ function ThreadNowLine({
49
</span>
50
</>
51
) : null}
62
- </NoticeText>
52
+ </span>
53
{item.actions ? (
54
<span className="ms-1.5 flex shrink-0 items-baseline gap-2.5">{item.actions}</span>
55
) : null}