@devries-cameron20 / t3code Mirror · read-only / commits / 3f62e6fa65
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 24, 14:00 UTC

fix(web): widen sync banners and simplify the working timer (#8855)

Julius Marminge committed Aug 30, 2026 at 22:21 UTC 3f62e6fa65c2a2a91a367be4ee95da1b50007bde
4 files changed +6 -36
apps/web/src/components/ChatView.tsx
-16
@@ -2435,21 +2435,6 @@ function ChatViewContent(props: ChatViewProps) {
2435 () => deriveActivePlanState(threadActivities, activeLatestTurn?.turnId ?? undefined),
2436 [activeLatestTurn?.turnId, threadActivities],
2437 );
2438 - // Current step for the in-chat working row: only for the running turn's own
2439 - // plan (deriveActivePlanState falls back to older turns' plans, which must
2440 - // not label fresh work). Falls back to the first pending step so an
2441 - // all-pending freshly written plan labels the row, matching the composer and
2442 - // the server's planProgress.
2443 - const workingStepLabel = useMemo(() => {
2444 - if (!activePlan || activePlan.turnId !== (activeLatestTurn?.turnId ?? null)) {
2445 - return null;
2446 - }
2447 - return (
2448 - activePlan.steps.find((step) => step.status === "inProgress")?.step ??
2449 - activePlan.steps.find((step) => step.status === "pending")?.step ??
2450 - null
2451 - );
2452 - }, [activeLatestTurn?.turnId, activePlan]);
2438 const showPlanFollowUpPrompt = shouldShowPlanFollowUpPrompt({
2439 pendingUserInputCount: pendingUserInputs.length,
2440 interactionMode,
@@ -7240,7 +7225,6 @@ function ChatViewContent(props: ChatViewProps) {
7225 onOpenAgents={addAgentsSurface}
7226 key={activeThread.id}
7227 isWorking={isWorking}
7243 - workingStepLabel={workingStepLabel}
7228 activeTurnStartedAt={activeWorkStartedAt}
7229 listRef={legendListRef}
7230 timelineEntries={timelineEntries}
apps/web/src/components/chat/ChatComposer.tsx
+1 -8
@@ -3439,14 +3439,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
3439 />
3440 {!activityStackItem && (props.threadSyncPhase || inlineTasksBadge) ? (
3441 <ComposerBanner.Attachment>
3442 - <ComposerBanner.Root
3443 - width={
3444 - props.threadSyncPhase && !showComposerTopDrawer && !isComposerCollapsedMobile
3445 - ? "content"
3446 - : "fill"
3447 - }
3448 - data-chat-composer-activity-strip="true"
3449 - >
3442 + <ComposerBanner.Root data-chat-composer-activity-strip="true">
3443 {props.threadSyncPhase ? (
3444 <ComposerActivityRow phase={props.threadSyncPhase} />
3445 ) : (
apps/web/src/components/chat/MessagesTimeline.tsx
+1 -12
@@ -171,8 +171,6 @@ interface TimelineRowActivityState {
171 isWorking: boolean;
172 isRevertingCheckpoint: boolean;
173 latestTurnId: TurnId | null;
174 - /** Current plan step label for the working row, when the turn has a plan. */
175 - workingStepLabel: string | null;
174 }
175
176 const TimelineRowCtx = createContext<TimelineRowSharedState>(null!);
@@ -227,7 +225,6 @@ interface MessagesTimelineProps {
225 agentPanelModel?: AgentPanelModel;
226 onOpenAgents?: () => void;
227 isWorking: boolean;
230 - workingStepLabel?: string | null;
228 activeTurnStartedAt: string | null;
229 listRef: React.RefObject<LegendListRef | null>;
230 timelineEntries: ReturnType<typeof deriveTimelineEntries>;
@@ -273,7 +270,6 @@ interface MessagesTimelineProps {
270
271 export const MessagesTimeline = memo(function MessagesTimeline({
272 isWorking,
276 - workingStepLabel = null,
273 activeTurnStartedAt,
274 agentPanelModel = EMPTY_AGENT_PANEL_MODEL,
275 onOpenAgents = NOOP_OPEN_AGENTS,
@@ -583,9 +579,8 @@ export const MessagesTimeline = memo(function MessagesTimeline({
579 isWorking,
580 isRevertingCheckpoint,
581 latestTurnId: latestTurn?.turnId ?? null,
586 - workingStepLabel,
582 }),
588 - [isRevertingCheckpoint, isWorking, latestTurn?.turnId, workingStepLabel],
583 + [isRevertingCheckpoint, isWorking, latestTurn?.turnId],
584 );
585
586 // Stable renderItem — no closure deps. Row components read shared state
@@ -1323,7 +1318,6 @@ function ProposedPlanTimelineRow({
1318 }
1319
1320 function WorkingTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "working" }> }) {
1326 - const { workingStepLabel } = use(TimelineRowActivityCtx);
1321 return (
1322 <div>
1323 <div className="border-b border-border/60 pb-2 pt-1">
@@ -1337,11 +1331,6 @@ function WorkingTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "workin
1331 "Working..."
1332 )}
1333 </span>
1340 - {workingStepLabel ? (
1341 - <span className="ml-2 min-w-0 truncate text-muted-foreground/55">
1342 - · {workingStepLabel}
1343 - </span>
1344 - ) : null}
1334 </div>
1335 </div>
1336 {row.showThinking ? (
docs/user/composer.md
+4
@@ -37,6 +37,10 @@ when starting a thread or changing an existing thread's model.
37
38 ## Notices above the composer
39
40 +On web and desktop, loading and syncing statuses fill the available banner width beside the
41 +stash tab. Task progress appears above the composer, while the timeline's working timer shows
42 +only elapsed time.
43 +
44 On web and desktop, additional notices peek out above the attached banner. Hover over the peek
45 to reveal them, or focus **Show other notices** with `Tab` and press `Enter` or `Space`. Press
46 `Escape` to close the stack and return focus to that control. On a touchscreen, tap the peek to