Open
Conversation
[fix](SqlExecWorkflow): Show execution results on file mode
…orkfow-odc [feat]: support odc to create export work orders and fix dms-kit bug
Feature/user guide 2
Fix/issue 2527
[feature]: Add 404 page and error boundary
[fix](SqlExecWorkflow): Process optimization after workflow execute failed
[refactor](useRecentlySelectedZone): Remove the dependency on Redux
[fix](Login): Navigate to home after logging success
Refactor/zone
[chore]: Export useRecentlySelectedZone in index
[chore]: Replace the ActiontechTable component
[test]: add test for ai banner and governance
…atest_outside_period param
[feature](CompanyNotice): Add time-based notice display and include_latest_outside_period param
fix(dms-kit): allow custom getPopupContainer in BasicRangePicker
Sync sql optimization change to main
…s from sync task form
[feature]: SQL workbench maintenance windows in sql_query_config
Made-with: Cursor
Made-with: Cursor
forwardport: cherry-pick EE PR #636 to main [AI-resolved]
forwardport: cherry-pick EE PR #635 to main [AI-resolved]
…n context for permission prompts
[chore]: always show AI Performance Engine button and use notification context for permission prompts
Task 4.1 - Frontend type definitions:
- Extend WorkFlowStepTemplateReqV1TypeEnum with export_review and export_execute
- Add WorkflowTemplateTypeEnum (workflow | data_export)
- Add workflow_type field to WorkflowTemplateDetailResV1 and UpdateWorkflowTemplateReqV1
- Add IGetWorkflowTemplatesResV1 and IWorkflowTemplatesListData response types
- Add getWorkflowTemplatesV1 API method for GET /v1/projects/{project_name}/workflow_templates
- Add workflow_type query parameter support to getWorkflowTemplateV1
Task 5.1 - WorkflowTemplateList page:
- New WorkflowTemplateList component with Ant Design Table
- Columns: template name, type (blue Tag "上线工单" / green Tag "数据导出"), step count, step description, update time, edit action
- Edit button (EE only) navigates to edit page with workflow_type query parameter
- Replace WorkflowTemplateDetail with WorkflowTemplateList as route index page
- Add mock data and API mock for template list
- Add i18n translations for list page (zh-CN and en-US)
…diting Add workflow_type-based routing in UpdateWorkflowTemplate to render DataExportTemplateForm when workflow_type=data_export, and the existing WorkflowTemplateForm otherwise. DataExportTemplateForm differs from the existing form by: not showing AllowSubmitWhenLessAuditLevel, using export_review/export_execute step types, making the execute step optional, and including workflow_type: 'data_export' in the submit request. The existing WorkflowTemplateForm logic is completely preserved with no behavioral changes.
Add ApprovalProcessPreview component to data export workflow creation page (SubmitExportWorkflow) that displays a read-only preview of the project's data export approval process steps, including step types and assignee modes, with a guidance alert linking to approval process configuration. Add comprehensive unit tests for: - ApprovalProcessPreview: API call params, step rendering, assignee modes, guidance text display, empty projectName handling - WorkflowTemplateList: template list display, type tags (blue/green), step count, edit links with workflow_type param, step descriptions - DataExportTemplateForm: no AllowSubmitWhenLessAuditLevel field, API params with workflow_type=data_export, submit data format, export_execute step handling, data export specific labels Update existing SubmitWorkflow and Create page tests to mock the workflowTemplate API needed by the new ApprovalProcessPreview component.
…te list The generateStepDescription function in WorkflowTemplateList was mapping export_review and export_execute to the same i18n keys as sql_review and sql_execute, causing data export templates to display "审核节点" and "执行上线" instead of "导出审批" and "导出执行确认" in the step description column. Fix by mapping to dataExport-specific i18n keys.
1219a76 to
f8fab15
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
变更说明
数据导出审批流程模板前端功能:
关联 PR