Skip to content

Fix streaming reasoning UI jank / 修复流式思考过程导致的界面卡顿#4318

Open
SivanCola wants to merge 2 commits into
main-v2from
fix/desktop-streaming-reasoning-jank
Open

Fix streaming reasoning UI jank / 修复流式思考过程导致的界面卡顿#4318
SivanCola wants to merge 2 commits into
main-v2from
fix/desktop-streaming-reasoning-jank

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • Restore the compact-mode streaming contract so reasoning does not auto-expand while compact steps are folding intermediate work.
  • Mount reasoning content only while the reasoning section is expanded.
  • Coalesce transcript auto-scroll work into one animation frame during fast streaming updates.
  • Add an opt-in streaming reasoning tail preview for compact mode while keeping standard mode's full live reasoning display.

Verification

  • Ran reasoning display helper assertions with Node.
  • Ran git diff --check.
  • Ran frontend CSS syntax and z-index token checks.
  • Parsed desktop/frontend/package.json successfully.

Full frontend tsx/tsc checks were not run because frontend dependencies are not installed in this worktree.

@SivanCola SivanCola requested a review from esengine as a code owner June 13, 2026 17:37
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) labels Jun 13, 2026
@SivanCola

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 45f339c968

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/frontend/src/components/Message.tsx Outdated
@SivanCola SivanCola enabled auto-merge June 13, 2026 17:53
@SivanCola

Copy link
Copy Markdown
Collaborator Author

approve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant