Skip to content
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

fix(ui): socket yjs manager & refactor #649

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ui/src/lib/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
"Member has been successfully added to the workspace.": "",
"Member Removed": "",
"Member has been successfully removed from the workspace.": "",
"Connection Error": "",
"Empty workflow detected": "",
"You cannot create a deployment without a workflow.": "",
"Reload": ""
pyshx marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
1 change: 1 addition & 0 deletions ui/src/lib/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
"Member has been successfully added to the workspace.": "El miembro ha sido agregado exitosamente al espacio de trabajo.",
"Member Removed": "Miembro eliminado",
"Member has been successfully removed from the workspace.": "El miembro ha sido eliminado exitosamente del espacio de trabajo.",
"Connection Error": "",
pyshx marked this conversation as resolved.
Show resolved Hide resolved
"Empty workflow detected": "Se detectó un flujo de trabajo vacío",
"You cannot create a deployment without a workflow.": "No puedes crear un despliegue sin un flujo de trabajo.",
"Reload": "Recargar"
Expand Down
1 change: 1 addition & 0 deletions ui/src/lib/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
"Member has been successfully added to the workspace.": "Le membre a été ajouté avec succès à l'espace de travail.",
"Member Removed": "Membre supprimé",
"Member has been successfully removed from the workspace.": "Le membre a été supprimé avec succès de l'espace de travail.",
"Connection Error": "",
"Empty workflow detected": "Flux de travail vide détecté",
"You cannot create a deployment without a workflow.": "Vous ne pouvez pas créer de déploiement sans flux de travail.",
"Reload": "Recharger"
Expand Down
1 change: 1 addition & 0 deletions ui/src/lib/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
"Member has been successfully added to the workspace.": "メンバーがワークスペースに正常に追加されました。",
"Member Removed": "メンバー削除",
"Member has been successfully removed from the workspace.": "メンバーがワークスペースから正常に削除されました。",
"Connection Error": "",
pyshx marked this conversation as resolved.
Show resolved Hide resolved
"Empty workflow detected": "空のワークフローが検出されました",
"You cannot create a deployment without a workflow.": "ワークフローがないとデプロイメントを作成できません。",
"Reload": "リロード"
Expand Down
1 change: 1 addition & 0 deletions ui/src/lib/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
"Member has been successfully added to the workspace.": "成员已成功添加到工作区。",
"Member Removed": "成员已移除",
"Member has been successfully removed from the workspace.": "成员已成功从工作区中移除。",
"Connection Error": "",
"Empty workflow detected": "检测到空工作流",
"You cannot create a deployment without a workflow.": "没有工作流,您无法创建部署。",
"Reload": "重新加载"
Expand Down
4 changes: 4 additions & 0 deletions ui/src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}

export function sleep(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms));
}
Loading
Loading