GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — fix(web): a streamed reply no longer re-renders every row in the timeline by Entrpi · Pull Request #32756 · pingdotgg/t3code Conversation
Contributor
ProblemSince #30478, every row in the timeline re-renders on every update. Each streamed text delta of a reply re-renders all mounted rows, not just the reply. On a long thread with a live turn that is 318 component renders per delta, where the reply alone needs 26. Change#30478's fold reveal made
@maria-rcks: if you'd rather fold this into the stack yourself, the diff is small, and either way is fine with me. Scope and approvalA focused fix of a render regression, with no visible change, on the branch #30478 merged into. It qualifies as a very small fix of an obvious bug: rows re-render although nothing in them changed. Verification
Claude Opus 5.5 via Claude Code, in T3 Code.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
This was referenced
maria-rcks
force-pushed
the
maria/redesign/2-composer-timeline
branch
from
009f859 to
fafc8d6
Compare
Entrpi
force-pushed
the
fix/redesign-rows-skip-stream-updates
branch
from
6479ddb to
99ab6b0
Compare
maria-rcks
force-pushed
the
maria/redesign/2-composer-timeline
branch
from
fafc8d6 to
c93f867
Compare
Entrpi
force-pushed
the
fix/redesign-rows-skip-stream-updates
branch
from
99ab6b0 to
16d8e7d
Compare
maria-rcks
force-pushed
the
maria/redesign/2-composer-timeline
branch
from
c93f867 to
4ae0e72
Compare
…he redesigned composer The working bar sat between a prompt and its steer when grouping ran, so the two bubbles kept their full gap and the steer label. Grouping now reruns after the bar moves, and a steer grouped under your message drops the label; its timestamp tooltip says it steered the turn. …nd timeline - ThreadErrorBanner: drop the "Run failed" banner item case; it reads back title and label copy. - MessagesTimeline browser: drop the queue-intent case; it only checks a data attribute is absent. - MessagesTimeline logic: drop two duplicate rows from the stopped-at timer table. - QueuedRunsControl: drop the computed white-space and text-overflow assertions. - ComposerBannerStack: drop the rim style, color, pointer-events and fixed-height assertions; keep the edge and empty-region layout checks. - commands (client-runtime): drop the reorder dispatch rows; they mirror the command payload the contract types already fix. - toolOutput: drop duplicate rows from the test-runner command tables. The dragged run and the run it drops before were two states always set and cleared together; a drop target without a dragged row meant nothing. They are one drag value now. …he redesigned composer The slash-command icon map lists only the commands main still has, and the design-system playback no longer derives a proposed plan.
maria-rcks
force-pushed
the
maria/redesign/2-composer-timeline
branch
from
4ae0e72 to
09c6733
Compare
…line Since finished and wake-up folds reveal the rows they open (pingdotgg#30478), the turn-fold and work-group toggles read `rows`, which the timeline declares after them. The React Compiler cannot memoize a closure over a later binding, so both toggles were new on every render, and so were the row context built from them and the list's renderItem and extraData. Every mounted row re-rendered on every update, each streamed text delta included. - The two toggles move below `rows` and become stable callbacks. A click still reads the latest rows. - `foldRevealBaseIds` joins the list's extraData. Legend re-renders rows only when data or extraData changes; the per-render churn had been doing that for the fold reveal. - Test: an earlier row does not render again while a later reply streams. Measured in headless Chromium (dev build) on a 2,000-item thread with a live turn: component renders per text delta 318 -> 26, per new item about 353 -> 84; React time across 150 deltas 732-1,087 ms -> 326-336 ms. The render scenarios: mount-thread -30% renders, switch-thread -21%. User story: When an agent streams a reply into a long thread, only the reply redraws, so the timeline stays smooth and uses less CPU. …ingdotgg#29998) * fix(web): a running wake-up's streaming answer replaces the previous one below its fold …he redesigned composer The working bar sat between a prompt and its steer when grouping ran, so the two bubbles kept their full gap and the steer label. Grouping now reruns after the bar moves, and a steer grouped under your message drops the label; its timestamp tooltip says it steered the turn. …nd timeline - ThreadErrorBanner: drop the "Run failed" banner item case; it reads back title and label copy. - MessagesTimeline browser: drop the queue-intent case; it only checks a data attribute is absent. - MessagesTimeline logic: drop two duplicate rows from the stopped-at timer table. - QueuedRunsControl: drop the computed white-space and text-overflow assertions. - ComposerBannerStack: drop the rim style, color, pointer-events and fixed-height assertions; keep the edge and empty-region layout checks. - commands (client-runtime): drop the reorder dispatch rows; they mirror the command payload the contract types already fix. - toolOutput: drop duplicate rows from the test-runner command tables. The dragged run and the run it drops before were two states always set and cleared together; a drop target without a dragged row meant nothing. They are one drag value now. …he redesigned composer The slash-command icon map lists only the commands main still has, and the design-system playback no longer derives a proposed plan.
maria-rcks
force-pushed
the
maria/redesign/2-composer-timeline
branch
from
6f13f36 to
cb2ce53
Compare
…ne' into fix/redesign-rows-skip-stream-updates # Conflicts: # apps/web/src/components/GitActionsControl.tsx # apps/web/src/components/chat/MessagesTimeline.tsx
maria-rcks
force-pushed
the
maria/redesign/2-composer-timeline
branch
2 times, most recently
from
df3c346 to
9fa8150
Compare
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
maria-rcks
force-pushed
the
maria/redesign/2-composer-timeline
branch
from
5604040 to
abeb8b8
Compare
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
needs-rebase
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |