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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
TL;DR
文档网站的 Mermaid 图(如 agent-lifecycle 时序图,9 个 participant 多层 alt/loop)目前无法在浏览器里放大查看。本提案给全站图表加一个"点击全屏 + 缩放平移"查看器,已完整实现并通过全部本地门禁,分支就绪,欢迎合入:
b150a551)交互设计
zoom-in,悬停显示"点击放大";点击打开全屏遮罩层,SVG 按"适配视口"比例居中展示——全程矢量渲染,任意倍率不失真+/−按钮、双击复位Esc/ 关闭按钮 / 点击图外任意区域均可关闭;打开期间锁定页面滚动;缩放钳制在自然尺寸的 0.05×–10×tabindex+role="button"+ 本地化提示),Tab聚焦后Enter/Space打开,关闭后焦点还原到该图表实现要点
website/.vitepress/theme/:index.ts扩展默认主题并加载副作用模块mermaid-viewer.ts(约 250 行:document 级事件委托匹配.mermaid容器,插件重渲染无需逐实例绑定;遮罩层持有打开时刻的 SVG 克隆,不影响页面渲染)@panzoom/panzoom精确固定4.6.2,仅作为 website 的 devDependency;因该包没有exports映射导致 SSR 解析失败,在 config 中为其配置了vite.ssr.noExternal.agents/notes/implemented/process/2026-08-23-docs-site-mermaid-zoom-viewer.md验证
pnpm run doc-sync:28/28 门禁通过(含website:build、docs:check、Agent Note 格式、中英配对一致性)请求
该镜像仓库未开放 Pull Request 功能。若欢迎此贡献,请告知期望的合入路径:开放 PR、给予内部开发仓库(
deepseek-harness/deepseek-harness)的提交权限,或由维护者直接从上述分支 cherry-pick 均可。All reactions