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
+18
View File
@@ -293,3 +293,21 @@ export function getDiscoverTabs() {
},
]
}
// 获取工作流标签页
export function getWorkflowTabs() {
const { t } = useI18n()
return [
{
title: t('workflowTabs.list'),
tab: 'list',
icon: 'mdi-format-list-bulleted',
},
{
title: t('workflowTabs.share'),
tab: 'share',
icon: 'mdi-share',
},
]
}