Skip to content

Commit 407023e

Browse files
juliusmarmingerynfar
authored andcommitted
fix(web): widen sync banners and simplify the working timer (#8855)
Adapted for Pylon: upstream also strips workingStepLabel so the timeline timer shows only elapsed time. Pylon keeps it, so the row still says what the agent is doing and not merely how long it has been doing it. Everything else in the commit is taken as-is. (cherry picked from commit 3f62e6fa65c2a2a91a367be4ee95da1b50007bde)
1 parent 7a63ebc commit 407023e

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

apps/web/src/components/chat/MessagesTimeline.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ interface TimelineRowActivityState {
184184
isRevertingCheckpoint: boolean;
185185
activeTurnInProgress: boolean;
186186
latestTurnId: TurnId | null;
187-
/** Current plan step label for the working row, when the turn has a plan. */
188-
workingStepLabel: string | null;
189187
}
190188

191189
const TimelineRowCtx = createContext<TimelineRowSharedState>(null!);
@@ -611,7 +609,6 @@ export const MessagesTimeline = memo(function MessagesTimeline({
611609
isRevertingCheckpoint,
612610
activeTurnInProgress,
613611
latestTurnId: latestTurn?.turnId ?? null,
614-
workingStepLabel,
615612
}),
616613
[activeTurnInProgress, isRevertingCheckpoint, isWorking, latestTurn?.turnId, workingStepLabel],
617614
);
@@ -1375,7 +1372,6 @@ function waitingOwnerLabel(waitingOn: "user" | "delegates" | "external"): string
13751372
}
13761373

13771374
function WorkingTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "working" }> }) {
1378-
const { workingStepLabel } = use(TimelineRowActivityCtx);
13791375
return (
13801376
<div>
13811377
<div className="border-b border-border/60 pb-2 pt-1">
@@ -1389,11 +1385,6 @@ function WorkingTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "workin
13891385
"Working..."
13901386
)}
13911387
</span>
1392-
{workingStepLabel ? (
1393-
<span className="ml-2 min-w-0 truncate text-muted-foreground/55">
1394-
· {workingStepLabel}
1395-
</span>
1396-
) : null}
13971388
</div>
13981389
</div>
13991390
{row.showThinking ? (

docs/user/composer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ when starting a thread or changing an existing thread's model.
2929

3030
## Notices above the composer
3131

32+
On web and desktop, loading and syncing statuses fill the available banner width beside the
33+
stash tab. Task progress appears above the composer, while the timeline's working timer shows
34+
only elapsed time.
35+
3236
On web and desktop, additional notices peek out above the attached banner. Hover over the peek
3337
to reveal them, or focus **Show other notices** with `Tab` and press `Enter` or `Space`. Press
3438
`Escape` to close the stack and return focus to that control. On a touchscreen, tap the peek to

0 commit comments

Comments
 (0)