推进 INI 面板 workflow overview embedding report
This commit is contained in:
106
text13.txt
106
text13.txt
@@ -1205,3 +1205,109 @@ host_wasm_opfs_browser_smokes=ok
|
||||
`createIniPanelShellWorkflowOverviewEmbeddingReport()` 或等价 helper,把 overview iframe
|
||||
readiness、missing methods、mount phase、render row count 和 error 合并成 display-ready report,
|
||||
便于外部 shell 在不能嵌入 overview 时直接显示原因;仍保持只读,不新增控制按钮,不解析 G-code。
|
||||
|
||||
十一、2026-06-15 继续执行记录:INI panel workflow overview embedding report
|
||||
|
||||
本轮按 `text13.txt` 执行,不扩展 `text12.txt`。继续推进 browser/UI workflow 与可执行
|
||||
gate,新增只读 workflow-overview embedding report,把 iframe API readiness、缺失方法、
|
||||
mount phase、render row count 和 error 合并成外部 shell 可直接显示的诊断。
|
||||
|
||||
完成内容:
|
||||
|
||||
- `ui-shell.js` 新增 `createIniPanelShellWorkflowOverviewEmbeddingReport()`;
|
||||
- embedding report 输出:
|
||||
- `apiName: "ini-panel-shell-workflow-overview-embedding-report"`;
|
||||
- `reportVersion: 1`;
|
||||
- `phase`;
|
||||
- `ready`;
|
||||
- `overviewReady`;
|
||||
- `embeddingReady`;
|
||||
- `mountReady`;
|
||||
- `statusLine`;
|
||||
- `pageHref`;
|
||||
- `contract`;
|
||||
- `missingMethods`;
|
||||
- `mountPhase`;
|
||||
- `renderRowCount`;
|
||||
- `error`;
|
||||
- `blockingReasons`;
|
||||
- `rows`;
|
||||
- report rows 固定覆盖:
|
||||
- `overview-api`;
|
||||
- `missing-methods`;
|
||||
- `embedding-ready`;
|
||||
- `mount-phase`;
|
||||
- `render-row-count`;
|
||||
- `error`;
|
||||
- `createIniPanelLaunchApiManifest().methods` 新增
|
||||
`getWorkflowOverviewEmbeddingReport`;
|
||||
- `launch.html` 的 `window.linuxCncIniPanelLaunchApi` 新增真实 browser 入口
|
||||
`getWorkflowOverviewEmbeddingReport()`;
|
||||
- `workflow-overview.html` 的 `window.linuxCncIniPanelWorkflowOverviewApi` 新增
|
||||
`getWorkflowOverviewEmbeddingReport()`;
|
||||
- `verify_ini_panel_ui_shell.mjs` 覆盖:
|
||||
- blocked embedding report 完整 shape;
|
||||
- missing methods report;
|
||||
- thrown mount error report;
|
||||
- `verify_ini_panel_launch_api_manifest.mjs` 覆盖 launch manifest 与 launch 页面真实 API;
|
||||
- `verify_ini_panel_shell_integration_manifest.mjs` 覆盖 helper export、默认 blocked report、
|
||||
launch method count 与文档记录;
|
||||
- `verify_ini_panel_entry_docs.mjs` 与 `docs/panel-entry.md` 同步记录新 helper/API;
|
||||
- `ini_panel_workflow_overview_smoke.html` 校验 workflow overview iframe 自身 report API;
|
||||
- `ini_panel_launch_smoke.html` 校验真实 launch iframe 读取真实 workflow overview iframe 的
|
||||
embedding report;
|
||||
- `ini_panel_shell_integration_workflow_smoke.html` 校验外部 shell workflow 读取同一 report;
|
||||
- 未新增控制按钮;
|
||||
- 未执行 action-plan;
|
||||
- 未解析 G-code;
|
||||
- 未解释 canonical events;
|
||||
- 未新增 JS CNC 语义;
|
||||
- 未改变 OPFS/session persistence、LinuxCNC interpreter、tool、parameter、planner 或
|
||||
LinuxCNC-owned runtime semantics。
|
||||
|
||||
验证已通过:
|
||||
|
||||
```bash
|
||||
git diff --check
|
||||
wasm-port/tests/ui/node/verify_ini_panel_ui_shell.sh
|
||||
wasm-port/tests/ui/node/verify_ini_panel_launch_api_manifest.sh
|
||||
wasm-port/tests/ui/node/verify_ini_panel_shell_integration_manifest.sh
|
||||
wasm-port/tests/ui/node/verify_ini_panel_entry_docs.sh
|
||||
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
|
||||
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
|
||||
wasm-port/tools/verify_vendor_sync.sh
|
||||
wasm-port/tools/verify_no_standalone_cnc_semantics.sh
|
||||
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_interp_wasm.sh
|
||||
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
|
||||
wasm-port/tests/host/verify_host_smokes.sh
|
||||
```
|
||||
|
||||
关键输出:
|
||||
|
||||
```text
|
||||
ini_panel_ui_shell_node_smoke=ok
|
||||
ini_panel_launch_api_manifest_node_smoke=ok
|
||||
ini_panel_shell_integration_manifest_node_smoke=ok
|
||||
ini_panel_entry_docs_node_smoke=ok
|
||||
ui_node_smokes=ok
|
||||
browser_ini_opfs_smoke=ok
|
||||
browser_ini_control_page_smoke=ok
|
||||
browser_ini_launch_smoke=ok
|
||||
browser_ini_workflow_overview_smoke=ok
|
||||
browser_ini_shell_integration_workflow_smoke=ok
|
||||
vendor sync up to date
|
||||
standalone CNC semantics guard complete
|
||||
interp_wasm_node_smoke=ok
|
||||
sim_configs_wasm_node_inventory_executed=28
|
||||
sim_configs_wasm_node_inventory_passed=28
|
||||
sim_configs_wasm_node_inventory_skipped=131
|
||||
sim_configs_wasm_node_inventory_unexpected_fail=0
|
||||
host_wasm_opfs_browser_smokes=ok
|
||||
```
|
||||
|
||||
下一步建议:
|
||||
|
||||
继续推进 browser/UI workflow。下一批建议新增一个只读
|
||||
`createIniPanelShellWorkflowOverviewEmbeddingDisplayViewModel()` 或等价 helper,把 embedding
|
||||
report 压成稳定 `title/statusText/detailText/rows`,供 launch 页面、workflow overview 页面或外部
|
||||
shell 直接渲染该 report;仍保持只读,不新增控制按钮,不解析 G-code。
|
||||
|
||||
Reference in New Issue
Block a user