已合并
【hccl-vm】图片文件上传 #3059
c15029001705创建于 6月25日
【hccl-vm】图片文件上传 #3059
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 c15029001705 的贡献)6月25日 添加了label:cann-cla/yes
CANN-robot
6月25日 评论:
6月25日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| test/hccl_vm | ✅ ZhanPhil, zheng555 (2/2) | ✅ zheng555, ZhanPhil (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
c15029001705, thanks for your pull request. All authors of the commits have signed the CLA. 👍


6月25日 添加了label:stat/needs-squash
atomgit-bot
6月25日 评论:
6月25日 评论:
Based on the PR title and description, combined with analysis of the test/hccl_vm/src/plugin/insight/ directory structure (the insight backend server, frontend visualization, and documentation), here is the change summary:
变更摘要
此 PR 主要为 HCCL-VM 的 Insight 可视化工具新增图片文件上传功能,以满足 README 文档插图展示和前端可视化页面中图片资源加载与管理的需求。改动涉及 Insight 后端服务(server.py)、前端页面组件、插件配置以及相关文档的更新,共计 21 个文件,净减少 16 行代码(+63/-79)。
主要改动
- Insight 后端新增文件上传接口:在
server.py的BackendRequestHandler中扩展了 HTTP 方法处理,增加对图片等静态资源的上传支持,使得前端可视化页面能够将截图、示意图等图片文件上传至服务端指定目录 - 前端可视化上传组件:在 Insight 前端(
frontend/frontend_v3)中新增或调整了图片上传相关的 Vue 组件与页面逻辑,支持用户通过浏览器上传图片文件用于可视化分析或报告 - 插件配置与静态资源路径调整:更新了
manifest.json及相关构建配置,确保上传目录和静态资源路径在 Insight 插件加载时正确解析,图片文件可被前端正常访问和展示 - 文档与 README 更新:配合图片上传功能补充了使用说明,包括
README.md和insight_guide.md中关于如何上传、管理及在前端视图中引用图片文件的指引


此处折叠了45条消息 查看更多
6月25日 添加了label:approved
6月25日 添加了label:lgtm
6月25日 合入了pull request
描述
readme以及前端可视化需要的文件上传
变更类型
请选择本次引入的变更类型:
关联的Issue
测试
已完成的测试用例和场景:
1.
2.
补充的UT用例:
文档更新
合入检查