fix(renderer): 降低流式渲染与目标页卡顿 - #1128
Merged
Merged
Conversation
Bound smooth-text React commits on high-refresh displays and stop the animation loop when it catches up. Keep destination loading states explicit and prevent older workspace responses from replacing current pull requests. Cover the cadence, Settings focus, pending refresh, and workspace-switch paths with isolated UI tests.
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.
变更
验证
pnpm build:jspnpm --filter @pi-desktop/desktop typecheckpnpm lintpnpm docs:checkpnpm test:e2e:settings-scrollpnpm test:e2e:destination-loadingpnpm test:e2e:transcriptpnpm check:pr-base流式渲染 E2E 在确定性 120Hz 帧输入下观测到最小提交间隔约 16.67ms,追上文本后没有额外空闲帧。