feat: support importing and overwriting workflow DSL (#5511)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
takatost 2024-06-25 15:46:12 +08:00 • committed by GitHub
commit ec1d3ddee2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 361 additions and 26 deletions

View file

@ -68,6 +68,13 @@ const translation = {
workflowAsToolTip: 'Tool reconfiguration is required after the workflow update.',
viewDetailInTracingPanel: 'View details',
syncingData: 'Syncing data, just a few seconds.',
importDSL: 'Import DSL',
importDSLTip: 'Current draft will be overwritten. Export workflow as backup before importing.',
backupCurrentDraft: 'Backup Current Draft',
chooseDSL: 'Choose DSL(yml) file',
overwriteAndImport: 'Overwrite and Import',
importFailure: 'Import failure',
importSuccess: 'Import success',
},
errorMsg: {
fieldRequired: '{{field}} is required',