-
Notifications
You must be signed in to change notification settings - Fork 386
docs: document workflow collaboration feature #755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
cc41184
docs: add workflow collaboration user guide
RiskeyL a90ce31
docs: tighten style and formatting guides
RiskeyL 1abfb0f
docs: avoid "please" in zh refer-to phrases
RiskeyL 6d671a6
fix: add CJK-Latin spacing in translation notice templates
RiskeyL b1eae45
docs: add env var coordination to dify-docs-guides skill
RiskeyL aea32d6
docs: document collaboration environment variables
RiskeyL ff47614
style: trim collaboration env var descriptions for consistency
RiskeyL 331eecf
docs: add zoom menu tip for hiding comments and cursors
RiskeyL 811e3b3
docs: sync collaboration UI labels after upstream localization
RiskeyL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| --- | ||
| title: Collaborate with Teammates | ||
| description: Edit workflows with teammates in real time and discuss design decisions through in-canvas comments | ||
| sidebarTitle: Collaboration | ||
| --- | ||
|
|
||
| Building a workflow sometimes takes more than one person: a prompt engineer tuning instructions, a domain expert validating logic, a reviewer flagging edge cases. | ||
|
|
||
| Rather than taking turns, you can edit the same workflow alongside your teammates and leave comments directly on the canvas, so the discussion stays with the work. | ||
|
|
||
| <Tip> | ||
| Comments and collaborator cursors can be hidden from the zoom menu in the bottom-right corner of the canvas. | ||
|
|
||
| <Frame> | ||
|  | ||
| </Frame> | ||
| </Tip> | ||
|
|
||
| ## Real-Time Editing | ||
|
|
||
| Workspace members with editor permissions or above can edit the same workflow simultaneously. When two members change the same element at the same time, the last edit wins. | ||
|
|
||
| ## Comments | ||
|
|
||
| Right-click an empty area of the canvas and select **Add Comment** to leave a note. To drop multiple comments in a row, press `C` to enter comment mode. Comments persist across workflow versions. | ||
|
|
||
| If you @mention a teammate in a comment, they'll receive an email notification. | ||
|
|
||
| Anyone with access to the app can read comments; adding, editing, or resolving requires editor permissions or above. | ||
|
|
||
| <Note> | ||
| On self-hosted deployments, collaboration is turned off by default. Enable it by setting: | ||
|
|
||
| - `ENABLE_COLLABORATION_MODE` = `true` | ||
| - `SERVER_WORKER_CLASS` = `geventwebsocket.gunicorn.workers.GeventWebSocketWorker` | ||
| - `NEXT_PUBLIC_SOCKET_URL` = your deployment's WebSocket URL (e.g., `wss://dify.example.com`) | ||
|
|
||
| See [Environment Variables](/en/self-host/configuration/environments#enable_collaboration_mode) for details. | ||
| </Note> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| --- | ||
| title: チームメンバーと共同作業 | ||
| description: チームメンバーとリアルタイムでワークフローを編集し、キャンバス上のコメントで設計判断を議論できます | ||
| sidebarTitle: コラボレーション | ||
| --- | ||
|
|
||
| <Note> ⚠️ このドキュメントはAIによって自動翻訳されています。不正確な部分がある場合は、[英語版](/en/use-dify/build/workflow-collaboration)を参照してください。</Note> | ||
|
|
||
| ワークフローの構築には複数のメンバーが関わることがよくあります。プロンプトエンジニアが指示を調整し、ドメインエキスパートがロジックを検証し、レビュアーがエッジケースを指摘します。 | ||
|
|
||
| 順番に作業する代わりに、チームメンバーと同じワークフローを同時に編集し、キャンバス上に直接コメントを残せます。議論が作業と一体になります。 | ||
|
|
||
| <Tip> | ||
| コメントと共同編集者のカーソルは、キャンバス右下のズームメニューから非表示にできます。 | ||
|
|
||
| <Frame> | ||
|  | ||
| </Frame> | ||
| </Tip> | ||
|
|
||
| ## リアルタイム編集 | ||
|
|
||
| 編集権限以上を持つワークスペースメンバーは、同じワークフローを同時に編集できます。2 人のメンバーが同じ要素を同時に変更した場合、最後の編集が優先されます。 | ||
|
|
||
| ## コメント | ||
|
|
||
| キャンバスの空白部分を右クリックして **コメントを追加** を選択し、コメントを残します。連続して複数のコメントを追加するには、`C` キーを押してコメントモードに入ります。コメントはワークフローのバージョンをまたいで保持されます。 | ||
|
|
||
| コメント内でチームメンバーを @ メンションすると、メールで通知されます。 | ||
|
|
||
| アプリにアクセスできるメンバーは誰でもコメントを閲覧できます。コメントの追加、編集、解決には編集権限以上が必要です。 | ||
|
|
||
| <Note> | ||
| セルフホスト環境では、共同編集機能はデフォルトで無効です。以下の環境変数を設定して有効化します: | ||
|
|
||
| - `ENABLE_COLLABORATION_MODE` = `true` | ||
| - `SERVER_WORKER_CLASS` = `geventwebsocket.gunicorn.workers.GeventWebSocketWorker` | ||
| - `NEXT_PUBLIC_SOCKET_URL` = あなたのデプロイの WebSocket URL(例:`wss://dify.example.com`) | ||
|
|
||
| 詳細とデフォルト値は [環境変数](/ja/self-host/configuration/environments#enable_collaboration_mode) を参照してください。 | ||
| </Note> | ||
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.