Skip to content

fix(ui): keep partial markdown readable while responses stream - #19403

Merged
nexxeln merged 1 commit into
devfrom
fix/ui-streaming-markdown-healing
Mar 27, 2026
Merged

fix(ui): keep partial markdown readable while responses stream#19403
nexxeln merged 1 commit into
devfrom
fix/ui-streaming-markdown-healing

Conversation

@nexxeln

@nexxeln nexxeln commented Mar 27, 2026

Copy link
Copy Markdown
Member

Summary

  • keep partially streamed markdown readable instead of showing broken inline formatting while an answer is still arriving
  • stop unfinished links from turning into weird half-broken clickable markup before the model finishes the URL
  • preserve the open-code-fence behavior from the previous fix while adding tests for the streaming cases that were easiest for users to notice

Testing

  • bun test "src/components/markdown-stream.test.ts" (in packages/ui)
  • bun typecheck (in packages/ui)
  • bun typecheck (in packages/app)
@nexxeln
nexxeln enabled auto-merge (squash) March 27, 2026 07:43
@nexxeln
nexxeln merged commit d341499 into dev Mar 27, 2026
12 checks passed
@nexxeln
nexxeln deleted the fix/ui-streaming-markdown-healing branch March 27, 2026 07:46
Copilot AI pushed a commit to ian-morgan99/opencode that referenced this pull request Mar 28, 2026
…lyco#19403)

Co-authored-by: ian-morgan99 <106852423+ian-morgan99@users.noreply.github.com>
balcsida pushed a commit to balcsida/opencode that referenced this pull request Apr 8, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant