Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bun.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"lockfileVersion": 1,
"configVersion": 0,
"workspaces": {
"": {
"name": "mux",
Expand Down
3 changes: 3 additions & 0 deletions src/browser/components/Messages/MarkdownCore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export const MarkdownCore = React.memo<MarkdownCoreProps>(
remarkPlugins={REMARK_PLUGINS}
rehypePlugins={REHYPE_PLUGINS}
parseIncompleteMarkdown={parseIncompleteMarkdown}
// Use "static" mode for completed content to bypass useTransition() deferral.
// After ORPC migration, async event boundaries let React deprioritize transitions indefinitely.
mode={parseIncompleteMarkdown ? "streaming" : "static"}
className="space-y-2" // Reduce from default space-y-4 (16px) to space-y-2 (8px)
controls={{ table: false, code: true, mermaid: true }} // Disable table copy/download, keep code/mermaid controls
>
Expand Down