统一:DSH 智能分析、Top100 与图表静默恢复

接入 DSH 专用运行时和对话界面,保留模型原始回答,支持会话分页、连续追问与显式报告。
补齐组合筛选、各维度 Top100、分组查询到排名图的转换,图表故障静默省略并基于保存数据自动恢复。
优化报告风格、图表顺序和表格换行,更新接入说明及构建输入。

验证:独立目录前后端构建通过;118 项 Java、102 项前端、102 项图表、14 项 DSH 应用和 13 项组合筛选检查通过。
仅提交相关源码、锁定依赖与测试;不包含凭据、会话、业务数据或本地产物。
This commit is contained in:
2026-11-12 11:57:41 +08:00
parent cc8832c8e5
commit f1a2fbd494
166 changed files with 26281 additions and 2248 deletions
@@ -85,6 +85,11 @@ test('late authorization for an older snapshot cannot remount or overwrite a cha
auth.resolve();await ui.settle();assert.equal(ui.calls.loads,loads);assert.equal(ui.calls.options.at(-1).scope.product,'新规格');assert.deepEqual(ui.calls.options.at(-1).series[0].values,[.91,.93]);ui.unmount();
});
test('quiet chart failures remove the card and expose no error or retry controls',async()=>{
const ui=fixture();ui.props.quiet=true;ui.render();const tree=await ui.settle();
assert.equal(tree,null);assert.doesNotMatch(text(tree),/failed|重试|失败/);ui.unmount();
});
test('unmounting while authorization is pending prevents a late renderer start',async()=>{
const auth=deferred(),ui=fixture({authorize:()=>auth.promise});ui.render();await ui.settle();ui.retry();ui.unmount();auth.resolve();await tick();assert.equal(ui.calls.loads,1);
});