feat(workflow): add comprehensive import/export functionality #2172
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
feat
Check the PR title.
(Optional) Translate the PR title into Chinese.
feat(workflow): 实现工作流导入/导出功能
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en:This PR introduces a complete workflow import/export system for both backend and frontend.
Backend: Provides API endpoints, batch import with validation, multi-format support (JSON, YAML, ZIP), and enhanced workflow service methods.
Frontend: Adds comprehensive UI components for workflow import/export, drag-and-drop file upload, import result modal, export format selection modal, i18n support, and file validation utilities.
zh(optional): 本次 PR 实现了完整的工作流导入/导出功能。
后端:提供导入/导出 API 接口,支持批量导入(含校验和错误处理),多种格式(JSON、YAML、ZIP),并增强了工作流服务方法。
前端:增加了导入/导出的完整 UI 组件,支持拖拽文件上传,导入结果确认弹窗,导出格式选择弹窗,国际化支持,以及文件校验工具。
(Optional) Which issue(s) this PR fixes: