Skip to content

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

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

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

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented Mar 27, 2026

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
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.

1 participant