Skip to content

Conversation

@pqoqubbw
Copy link
Contributor

@pqoqubbw pqoqubbw commented Jan 30, 2026

Summary

Test Plan


Note

Low Risk
Localized UI rendering/config changes; main risk is the regex-based SVG rewrite missing/over-matching marker IDs and altering diagram rendering in edge cases.

Overview
Fixes Mermaid rendering issues when multiple diagrams are present by post-processing the generated SVG to prefix known marker ids and their url(#...) references, preventing cross-diagram SVG marker collisions.

Also sets a default Gantt useWidth (800) in the Mermaid config, and adds a Storybook DuplicateDiagrams tabbed story to exercise the duplicate-marker scenario.

Written by Cursor Bugbot for commit 21e45a2. This will update automatically on new commits. Configure here.

@pqoqubbw pqoqubbw merged commit 6be7fec into main Jan 30, 2026
3 checks passed
@pqoqubbw pqoqubbw deleted the dmytro/mermaid-duplicated-ids branch January 30, 2026 20:04
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.

3 participants