Repository navigation
perf(web-ui): stop re-measuring transcripts while a pane divider is dragged - #3371
Merged
GCWing merged 3 commits intoOct 19, 2026
Merged
Conversation
added 2 commits
October 19, 2026 09:23
Resolve the current workbench layout conflicts while preserving transcript measurement suspension. Share drag and settle state with scenes and the canvas, and use observer-cached bounds for both pointer events and queued paint frames. Cover live container resizing, deferred frames, split/overlay settling and cancellation.
czs914893385
added a commit
to czs914893385/OpenBitFun
that referenced
this pull request
Oct 19, 2026
…recovery
Brings the aux-pane child-session recovery work up to current main.
Conflict (only one file, src/web-ui/src/app/components/panels/base/FlexiblePanel.tsx,
case 'btw-session'): both sides appended a prop to <BtwSessionPanel>. Kept both - upstream's
resizeSuspended={resizeSuspended} (perf(web-ui) 6f2ec2b, the merged pane-resize PR GCWing#3371)
and this branch's four child-identity props (sessionKind / sessionTitle / parentToolCallId /
subagentType). No other file needed manual work; the pane-resize plumbing is untouched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Dragging the workbench divider with a chat transcript and a worker/side-session transcript open repeatedly invalidates width-dependent measurements. This change retains the last published transcript width during the gesture and publishes the settled width afterwards, reducing redundant measurement work.
Changes
Validation
pnpm run check:webpassed, including type checking, Appearance contracts, typography, theme color audits and theme visual contracts.gen:typesworkflow.AI-assisted changes. Native WebView frame-rate improvement has not been measured. Live remote workspace, Remote Control, Peer Device and Detached Dispatch scenarios were not exercised; DOM tests are not evidence of those paths.
中文说明
拖动分隔条时,主聊天与 worker/子会话暂缓宽度变化引起的测量,布局稳定后再更新。暂停状态已接入当前主分支的 Workbench 布局;同时修复拖动中容器尺寸变化仍使用旧边界的问题,并覆盖排队帧和取消手势。相关 322 项测试及
check:web均通过。