Files
DeepTutor/web/lib
Bingxi Zhao (Frank) b499ba7aaf feat(visualize): inline + themed SVG rendering, html sendPrompt bridge
- SvgRenderer: <img> data-URI -> sanitized inline DOM. Dependency-free
  sanitizeSvg strips script/foreignObject/on*/js-urls and scopes element ids +
  url()/href/aria refs so multiple inlined svgs don't collide. Multi-<svg>
  content is split into independent figures.
- svg-theme.css: themed class system (t/ts/th, box/node/arr, c-* 9-ramp)
  following light/dark via CSS vars and the app Geist font; svg sized width:100%
  by viewBox to avoid the 300x150 inline collapse.
- HtmlRenderer: iframe height auto-fit + receives the widget's sendPrompt.
- iframe-html.ts: inject the sendPrompt bridge + a ResizeObserver height report.

Frontend visualize only — the chat page.tsx composer-prefill listener is left in
the working tree alongside the unrelated chat changes there.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 22:33:16 +08:00
..
2026-04-23 19:29:16 +08:00
2026-05-02 20:16:07 +08:00
2026-05-01 13:51:45 +08:00
2026-05-01 01:39:08 +08:00
2026-05-01 01:39:08 +08:00
2026-01-23 01:42:25 +08:00
2026-01-07 10:53:01 +08:00
2026-05-01 01:39:08 +08:00
2026-03-13 01:47:38 +08:00
2026-04-23 19:29:16 +08:00
2026-04-30 23:41:58 +08:00
2026-04-23 19:29:16 +08:00
2026-04-23 19:29:16 +08:00
2026-05-03 16:35:52 +08:00
2026-03-13 01:47:38 +08:00
2026-04-23 19:29:16 +08:00
2026-04-23 19:29:16 +08:00
2026-05-12 02:20:30 +08:00