Skip to content

Add Mermaid diagram export actions#9857

Open
marius-kilocode wants to merge 8 commits intomainfrom
mermaid-actions-followup
Open

Add Mermaid diagram export actions#9857
marius-kilocode wants to merge 8 commits intomainfrom
mermaid-actions-followup

Conversation

@marius-kilocode
Copy link
Copy Markdown
Collaborator

@marius-kilocode marius-kilocode commented May 4, 2026

Add follow-up Mermaid diagram actions for copying and downloading rendered diagrams.

This ports the useful copy/export portions from community PR #9166 onto the current Kilo-specific Mermaid renderer, with labels translated across UI locales and without reviving the broader Solid island, zoom/pan modal, preview, or AI syntax-fix approach.

Current scope

  • Add a compact Copy dropdown with Mermaid source, SVG, and PNG options.
  • Add a compact Download dropdown with SVG and PNG options.
  • Keep the renderer isolated in Kilo-specific UI helpers, with minimal shared Markdown hooks.
  • Keep all Mermaid action labels translated across UI locale files.

Follow-up

Interactive zoom/pan is intentionally split out to #9894.

Comment thread packages/ui/src/i18n/no.ts
@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented May 4, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • packages/ui/src/kilocode/markdown-mermaid-actions.tsx
  • packages/ui/src/kilocode/markdown-mermaid.css
  • packages/ui/src/kilocode/markdown-mermaid.ts

Reviewed by gpt-5.5-20260423 · 1,016,261 tokens

Comment thread packages/ui/src/kilocode/markdown-mermaid.ts Outdated
@marius-kilocode marius-kilocode enabled auto-merge (squash) May 5, 2026 13:49
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