fix(ui): reduce UI flicker — throttle 60→100ms + startTransition + batch STREAM_TEXT - #6203
Closed
aspnmy wants to merge 2 commits into
Closed
fix(ui): reduce UI flicker — throttle 60→100ms + startTransition + batch STREAM_TEXT#6203aspnmy wants to merge 2 commits into
aspnmy wants to merge 2 commits into
Conversation
…sition compact toggle + batch STREAM_TEXT (QwenLM#4561, QwenLM#3838, QwenLM#2928)
qwen-code-ci-bot
requested changes
Jul 2, 2026
qwen-code-ci-bot
left a comment
Collaborator
There was a problem hiding this comment.
Hi @aspnmy, thanks for the PR!
The code changes look focused and the direction is solid — UI flicker is a well-known pain point, and the three changes (throttle bump, startTransition, batched emits) are all reasonable approaches.
However, the PR body is missing several required sections from the PR template:
- Reviewer Test Plan — How to verify, Before/After evidence, and Tested-on OS. This is especially important for UI flicker fixes since reviewers need to know what to look for and on which platforms the fix was validated.
- Risk & Scope — Main risk or tradeoff, what's out of scope, any breaking changes.
- Linked Issues — Please use
Closes #N/Fixes #Nin a dedicated section so issues auto-close on merge. - 中文说明 — The template includes a collapsible Chinese translation section.
Could you update the PR description to fill in these sections? Once that's done, the review can proceed.
中文说明
你好 @aspnmy,感谢你的 PR!
代码改动很聚焦,方向也是对的——UI 闪烁是一个已知的痛点,三个改动(节流值调整、startTransition、批量发送)都是合理的方案。
但 PR 描述缺少 PR 模板 中的几个必填部分:
- Reviewer Test Plan — 验证方式、修复前后对比、测试过的操作系统。对于 UI 闪烁修复尤其重要,审查者需要知道该观察什么、在哪些平台上验证过。
- Risk & Scope — 主要风险或权衡、不在范围内的内容、是否有破坏性变更。
- Linked Issues — 请在专门的部分使用
Closes #N/Fixes #N,以便合并时自动关闭 issue。 - 中文说明 — 模板包含一个可折叠的中文翻译部分。
请补充这些部分,之后可以继续审查流程。
— Qwen Code · qwen3.7-max
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.
What
Three changes to reduce UI flicker, each with tests:
B1 — throttle 60→100ms
A2 — compactMode toggle via startTransition
C1 — batch STREAM_TEXT per chunk
Why
Files
4 files changed, 40 insertions(+), 19 deletions(-)