Skip to content

Commit 98f04e9

Browse files
fix(web): a failed sync keeps the remembered timeline painted
A failed sync only changes the status line; the timeline keeps the same remembered paint it shows while syncing, instead of dropping to empty. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent a63c981 commit 98f04e9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎apps/web/src/components/ChatView.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,6 @@ export default function ChatView(props: ChatViewProps) {
543543
const threadDetailLoading = threadSyncPhase === "loading";
544544
// Held back briefly, so a quick sync does not flash a status line at the end of the timeline.
545545
const delayedThreadSyncPhase = useDelayedStatus(routeThreadKey, threadSyncPhase);
546-
const threadSyncing = threadSyncPhase === "loading" || threadSyncPhase === "syncing";
547546
const activeProviderThread = serverProjection?.providerThreads.find(
548547
(thread) => thread.id === serverProjection.thread.activeProviderThreadId,
549548
);
@@ -3429,7 +3428,7 @@ export default function ChatView(props: ChatViewProps) {
34293428
entriesInput={timelineEntriesInput}
34303429
draftEntries={isServerThread ? null : draftTimelineEntries}
34313430
activeThreadKey={activeThreadKey}
3432-
syncing={threadSyncing}
3431+
syncing={threadSyncPhase !== null}
34333432
detailLoading={threadDetailLoading}
34343433
citationRequest={citationRequest}
34353434
citationHistory={citationHistory}

0 commit comments

Comments
 (0)