Jason Stirnaman
cd087af85d
chore(js): Format fixes
2025-06-09 14:42:38 -05:00
Jason Stirnaman
4973026adf
Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules
...
Chore: JavaScript: refactor footer scripts modules
2025-06-09 14:40:37 -05:00
Jason Stirnaman
f819f48de9
Revert "Chore: JavaScript: refactor footer scripts modules"
2025-06-05 09:46:37 -05:00
Jason Stirnaman
34f6bec51e
Update assets/js/components/diagram.js
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-03 10:11:38 -05:00
Jason Stirnaman
d92d253242
fix(diagram): Mermaid.js: dynamic loading, support dark theme, background color for edgeLabel paragraph elements
...
- Fixes dynamic loading of Mermaid.js
- Adds MutationObserver to handle light/dark theme switching.
- Sets the background-color for edgeLabel p elements to override a white background that obscures text in the dark theme.
2025-06-02 12:51:52 -05:00
Jason Stirnaman
f7a5c53ecf
WIP: removed remaining scripts from footer/javascript.html. Migrated to components and utilities. Conditionally imports Mermaid if page has a diagram.
2025-06-02 12:51:52 -05:00