You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pin Mermaid version and add browser regression coverage for chat diagrams #903
Split from #782: main already renders completed Mermaid fences in chat with lazy loading and source fallback (src/lib/mermaid.ts).
Remaining
Pin the lazy-loaded Mermaid renderer to 11.16.1. This keeps the diagram payload off the initial page and avoids v12's default ELK load for ordinary flowcharts.
Write a compatibility report that discloses the pinned-library payload and the supported input boundaries (oversized, malformed, unsupported and unavailable input falling back to source).
Add browser regressions that run against the actual library, covering:
multiple diagrams
Korean text
themes
streaming
stale results
failed lazy loading
mobile controls
same-origin and external resource requests
Include dependency notices and register the new tests in CI.
Closing as outdated: main now uses mermaid ^12.1.0, so pinning the lazy-loaded renderer to 11.16.1 no longer applies. A browser regression against the real library for chat diagrams can be filed again on its own if it is still wanted.
Activity
devswha commentedon Oct 17, 2026
Closing as outdated: main now uses
mermaid ^12.1.0, so pinning the lazy-loaded renderer to 11.16.1 no longer applies. A browser regression against the real library for chat diagrams can be filed again on its own if it is still wanted.