Skip to content

fix(ui): reduce markdown jank while responses stream#19304

Merged
adamdotdevin merged 7 commits intodevfrom
fix/ui-streaming-markdown-jank
Mar 26, 2026
Merged

fix(ui): reduce markdown jank while responses stream#19304
adamdotdevin merged 7 commits intodevfrom
fix/ui-streaming-markdown-jank

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented Mar 26, 2026

Summary

  • keep markdown rendering consistent between web and desktop so the same streamed response no longer settles differently depending on where the user reads it
  • stop the active assistant response from using paint containment while it is still growing, which removes the flash users were seeing when new markdown landed
  • keep the last stable markdown on screen until newer parsing finishes, then make unfinished code fences render in a lighter streaming path so code blocks stay readable and copy buttons keep working during long responses

Testing

  • bun typecheck (in packages/ui)
  • bun typecheck (in packages/app)

@nexxeln nexxeln requested a review from adamdotdevin as a code owner March 26, 2026 15:07
@adamdotdevin adamdotdevin merged commit b7a06e1 into dev Mar 26, 2026
9 checks passed
@adamdotdevin adamdotdevin deleted the fix/ui-streaming-markdown-jank branch March 26, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants