mirror of
https://github.com/langgenius/dify.git
synced 2026-04-15 18:06:36 +08:00
Merge branch 'feat/collaboration2' of github.com:langgenius/dify into feat/collaboration2
This commit is contained in:
commit
7520d65a7e
@ -108,8 +108,22 @@ class TestWorkflowCollaborationService:
|
||||
repository.get_sid_mapping.return_value = {"workflow_id": "wf-1", "user_id": "u-1"}
|
||||
repository.get_current_leader.return_value = "sid-old"
|
||||
repository.list_sessions.return_value = [
|
||||
{"user_id": "u-2", "username": "B", "avatar": None, "sid": "sid-2", "connected_at": 1, "graph_active": True},
|
||||
{"user_id": "u-3", "username": "C", "avatar": None, "sid": "sid-3", "connected_at": 2, "graph_active": True},
|
||||
{
|
||||
"user_id": "u-2",
|
||||
"username": "B",
|
||||
"avatar": None,
|
||||
"sid": "sid-2",
|
||||
"connected_at": 1,
|
||||
"graph_active": True,
|
||||
},
|
||||
{
|
||||
"user_id": "u-3",
|
||||
"username": "C",
|
||||
"avatar": None,
|
||||
"sid": "sid-3",
|
||||
"connected_at": 2,
|
||||
"graph_active": True,
|
||||
},
|
||||
]
|
||||
payload = {"type": "sync_request", "data": {"reason": "join"}, "timestamp": 123}
|
||||
|
||||
|
||||
@ -584,9 +584,6 @@
|
||||
},
|
||||
"tailwindcss/enforce-consistent-class-order": {
|
||||
"count": 1
|
||||
},
|
||||
"ts/no-explicit-any": {
|
||||
"count": 5
|
||||
}
|
||||
},
|
||||
"app/components/app/app-publisher/publish-with-multiple-model.tsx": {
|
||||
@ -7915,11 +7912,6 @@
|
||||
"count": 3
|
||||
}
|
||||
},
|
||||
"app/components/workflow-app/components/workflow-main.tsx": {
|
||||
"ts/no-explicit-any": {
|
||||
"count": 2
|
||||
}
|
||||
},
|
||||
"app/components/workflow-app/components/workflow-onboarding-modal/index.tsx": {
|
||||
"tailwindcss/enforce-consistent-class-order": {
|
||||
"count": 3
|
||||
@ -8320,11 +8312,6 @@
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"app/components/workflow/hooks-store/store.ts": {
|
||||
"ts/no-explicit-any": {
|
||||
"count": 6
|
||||
}
|
||||
},
|
||||
"app/components/workflow/hooks/__tests__/use-checklist.spec.ts": {
|
||||
"react/error-boundaries": {
|
||||
"count": 1
|
||||
@ -8358,11 +8345,6 @@
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"app/components/workflow/hooks/use-node-data-update.ts": {
|
||||
"ts/no-explicit-any": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"app/components/workflow/hooks/use-nodes-interactions.ts": {
|
||||
"ts/no-explicit-any": {
|
||||
"count": 8
|
||||
@ -8404,11 +8386,8 @@
|
||||
}
|
||||
},
|
||||
"app/components/workflow/index.tsx": {
|
||||
"tailwindcss/enforce-consistent-class-order": {
|
||||
"count": 1
|
||||
},
|
||||
"ts/no-explicit-any": {
|
||||
"count": 2
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"app/components/workflow/nodes/_base/components/add-variable-popup-with-position.tsx": {
|
||||
@ -10946,11 +10925,6 @@
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"app/components/workflow/panel/version-history-panel/index.tsx": {
|
||||
"tailwindcss/enforce-consistent-class-order": {
|
||||
"count": 2
|
||||
}
|
||||
},
|
||||
"app/components/workflow/panel/version-history-panel/loading/index.tsx": {
|
||||
"tailwindcss/enforce-consistent-class-order": {
|
||||
"count": 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user