Commit Graph

2 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
2ea5292f9f fix(visualize): inherit the application color scheme in HTML widgets
Local dev repairs for #2600.

Theme changes and explicit widget themes tested. Web typecheck, 1407 Node tests, eslint and i18n passed.
2026-11-15 00:50:31 +08:00
evan188199-tech
ea3e2ff47b test(web): cover VisualizationViewer render branches (mermaid/svg/chartjs/html/plugin/manim) (#1749)
Add web/tests/visualize/VisualizationViewer.spec.tsx with 22 vitest cases
covering the three core states (loading, render success, render-failure
fallback) plus the remaining render dispatch branches: svg sanitize/split,
chartjs parse/destroy, html iframe bridge, plugin iframe, geogebra,
unknown renderer, manim delegation, toolbar/fullscreen/code panel.

VisualizationViewer.tsx coverage: statements 1.69% -> 74.57%, branches
0% -> 50.86%, functions 0% -> 71.69%, lines 1.49% -> 61.56%.
Full suite 114 files / 493 tests green; typecheck + eslint clean.
No product code changed. Evidence: evidence/test-visualization-viewer-20261003/

Co-authored-by: XZH <cto@xzh.ai>
2026-10-07 20:28:19 +08:00