Add workflow sharing functionality (#371)

* Add workflow sharing feature with share, fork, and browse functionality

Co-authored-by: jxxghp <jxxghp@163.com>

* Refactor workflow page with dynamic tabs and internationalization support

Co-authored-by: jxxghp <jxxghp@163.com>

* Remove workflow share implementation documentation

Co-authored-by: jxxghp <jxxghp@163.com>

* Fix indentation and structure in Chinese locale files

Co-authored-by: jxxghp <jxxghp@163.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
jxxghp
2025-07-08 23:31:22 +08:00
committed by GitHub
co-authored by jxxghp Cursor Agent
parent f2bc832aca
commit 35332544e4
14 changed files with 876 additions and 27 deletions
+30
View File
@@ -329,6 +329,10 @@ export default {
share: 'Subscription Shares',
},
},
workflowTabs: {
list: 'Workflow',
share: 'Workflow Share',
},
pluginTabs: {
installed: 'My Plugins',
market: 'Plugin Market',
@@ -488,6 +492,7 @@ export default {
dragComponentHint: 'Drag component to canvas',
task: {
edit: 'Edit Task',
share: 'Share',
continue: 'Continue',
restart: 'Restart',
run: 'Run Now',
@@ -655,6 +660,19 @@ export default {
loadPluginSettingFailed: 'Failed to load plugin settings',
},
title: 'Workflow',
share: 'Workflow Share',
searchShares: 'Search Workflow Shares',
noShareData: 'No shared workflows',
sharer: 'Sharer',
timer: 'Timer',
actionCount: 'Action Count',
normalFork: 'Fork Workflow',
cancelShare: 'Cancel Share',
cancelSuccess: 'Share cancelled successfully',
cancelFailed: 'Failed to cancel share: {message}',
usageCount: 'Used {count} times',
addSuccess: 'Forked {name} successfully!',
addFailed: 'Failed to fork {name}: {message}',
noWorkflow: 'No Workflow',
noWorkflowDescription: 'Click the add button to create a workflow task.',
},
@@ -1730,6 +1748,18 @@ export default {
shareSuccess: '{name} shared successfully!',
shareFailed: '{name} share failed: {message}!',
},
workflowShare: {
shareWorkflow: 'Share Workflow',
title: 'Title',
description: 'Description',
descriptionHint:
'Add a description about this workflow. Actions and flows will be included in the share by default',
shareUser: 'Share User',
shareUserHint: "Sharer's nickname",
confirmShare: 'Confirm Share',
shareSuccess: '{name} shared successfully!',
shareFailed: '{name} share failed: {message}!',
},
u115Auth: {
loginTitle: '115 Cloud Login',
scanQrCode: 'Please scan with WeChat or 115 client',