Repository navigation
Conversation
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.
Note
🤖 Claude Opus 5.5 on behalf of Oliver
Fix for the redesign stack, targets layer 6 (#28845).
Problem
Every workspace switch (Ctrl+Alt+U/I) re-rendered every mounted chat, even chats in workspaces the switch never touches. With four chat workspaces, one warmed switch ran ChatView 9 times and ChatComposer 11 times.
There were two causes:
splitflag changed for every chat's pane state when the slide began and again when it landed, including chats not on screen.Fix
Numbers
Dev build with the React Compiler on, headless Chromium at 1280×800, four Replay chat workspaces (all visited) plus an empty one. Render counts come from a React commit hook. All 8 warmed switches gave the same counts:
The savings grow with the number of chats outside the switch. Rapid bursts improve less, because most mounted chats join the slide.
Before / after
What to look for: before, workspace shortcuts cycle through four Replay chats; after, the same sequence still works with the off-screen chat change.
https://gh-file-drop-api-prod-galwoqjslzlnws6s.oliver-boorstein.workers.dev/f/1a909bfdd8b3fcbc/31615-1x.mp4
Motion slowed 5× in the page:
https://gh-file-drop-api-prod-galwoqjslzlnws6s.oliver-boorstein.workers.dev/f/e1fd2a5cd40a6499/31615-5x.mp4
These development recordings verify shortcut behavior. They do not establish the render counts above.
Validation
Claude Opus 5.5 (Claude Code)