Skip to content

Releases: hccccc01333/dsh-report-card

v0.20.0 — 报告面板插件化

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 15:09

架构升级

报告卡片 + 右侧面板从 fork 的 \ui-conversation\ 抽出,成为独立 client 插件 **@deepseek-ai/dsh-client-ui-report-panel**:

  • \ui-conversation\ 回到上游基线,零 fork 定制
  • 插件通过公开 slots 贡献:turn-tail 报告卡片条目 + composer-dock 面板条目
  • web-app browser roster 挂载,组合进/出即开关整个报告面板
  • 协议(\card: 'report'\ + \documents\)和 \ReportBlock\ 渲染器保留在核心包

所有功能原样保留:报告内搜索、滚动位置记忆、最小化、多 HTML 交付标签、报告间链接、提问桥接。

验证

  • 插件单元测试 12 个 + ui-conversation 416 个全过
  • Playwright 端到端(插件模式下):搜索 1/62、双标签、滚动恢复 600px、最小化/展开、提问桥接、batch 多文档 4 tab、index 链接切换 0→1,零控制台错误

意义

从此这个项目是纯插件生态:报告生成(dsh-report-html)+ 报告展示(ui-report-panel)都是独立插件,任何 dsh 宿主可组合,不再依赖 fork。

v0.19.0 — 面板搜索 / 滚动记忆 / 最小化 / 多HTML交付 / 报告问答

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 13:33

新功能

  1. 报告内搜索:面板搜索框驱动 iframe 内桥接脚本,高亮全部匹配、n/m 计数、Enter/Shift+Enter 上下跳转、Esc 清除(沙箱 iframe 里 Ctrl+F 进不去,这个方案绕过了)。
  2. 滚动位置记忆:每个标签独立记住滚动位置,切换标签自动恢复;刷新回到顶部。
  3. 面板最小化:关闭改为收起成窄条,标签和滚动状态全保留,可一键全部关闭。
  4. 多 HTML 交付:\card: 'report'\ 新增可选 \documents\ 字段,
    eport_batch_analysis\ 把每份报告 + index 页送上 wire;面板按文档开标签,目录里的相对链接点击即切换报告。
  5. 报告问答(桥接):面板提问框把问题 + 报告摘要填入主对话,agent 在对话里回答。
  6. 点击卡片始终新增/激活标签;同标题重跑仍原位刷新。

验证

  • 单元测试:24 个报告卡片测试 + dsh-report-html 95 个测试全过
  • Playwright 端到端:搜索 1/59 高亮计数、双标签切换滚动恢复 600px、最小化/展开、提问桥接,零控制台错误

v0.17.0 — 修复卡片消失 + 目录锚点跳转

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 09:16

修复内容

  1. 报告卡片不再消失:打开/关闭右侧面板后,对话中的报告卡片全部保留(修复了 artifact store 的渲染循环崩溃,store 方法改为稳定引用,sync 仅在 HTML 真正变化时触发)。
  2. 目录锚点跳转生效:报告 iframe 注入文档内导航脚本,点击目录链接平滑滚动到目标章节,不再跳转空白。

验证

  • Playwright 实测:卡片 1 → 1 → 1(打开面板、关闭面板后均保留),无 React 错误
  • 锚点点击后 scrollY 0 → 929,报告内容完整

链接

v0.16.0 — blob URL frames and scrollable preview

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 08:48

v0.16.0 — blob URL frames and scrollable preview

  • Report frames load through a blob URL instead of srcdoc: table-of-contents
    anchor links scroll in place instead of blanking the frame.
  • The collapsed preview has no overlay: it stays scrollable and
    expand/collapse lives on the header button.

v0.15.0 — multi-report tabs and draggable panel width

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 08:02

v0.15.0 — multi-report tabs and draggable panel width

  • Multiple reports open as tabs in the right-hand panel; clicking a card adds
    or switches, tabs switch reports, close removes the active one.
  • The panel width is draggable via its left edge (320-800px); the conversation
    reserves the current width.

v0.14.0 — report fills the right panel height

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 07:07

v0.14.0 — report fills the right panel height

The report inside the right panel now fills the available height, so the whole
viewport-height pane is used instead of leaving empty space below a fixed
480px frame.

v0.13.0 — fixed right-hand report panel

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 06:55

v0.13.0 — fixed right-hand report panel

The report panel is fixed to the right side of the viewport (full height,
independent scroll) and the conversation reserves its width, so it is pushed
left — no dependence on the layout scroll host. The panel can no longer
scroll away or collapse in height.

v0.12.0 — report panel as an independent scroll space

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 06:47

v0.12.0 — report panel as an independent scroll space

With the report panel open, the conversation becomes its own full-height
scrollport: the middle chat scrolls independently and the right panel is an
independent full-height space (Codex-style split). Closing the panel restores
the normal layout.

v0.11.0 — inline right-hand report pane

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 06:36

v0.11.0 — inline right-hand report pane

  • Clicking a report card opens the report in the same layout plane: the conversation is pushed left and the panel sits inline on the right (Codex-style split, no overlay).
  • The panel has a Refresh action (re-mounts the report).
  • When the model produces a newer report in the conversation (e.g. after you send an edit prompt), the open panel auto-replaces its content.

v0.10.0 — report artifacts with right-side panel

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 06:27

v0.10.0 — ChatGPT-style report artifacts

  • The conversation shows a small title card for each report.
  • Clicking the card opens a right-side application panel with the full HTML report (expand/collapse, open in new tab, copy, download).
  • Card and panel controls are localized and follow the UI language (zh/en).

Try it

Open the Web UI in a fresh tab (http://127.0.0.1:3080/?v=7), start a new conversation, and ask for a report. Click the card at the bottom of the reply.