Skip to content

Commit 0df56b6

Browse files
committed
feat: improve workspace connection experience
1 parent 49c8bc8 commit 0df56b6

31 files changed

Lines changed: 1699 additions & 650 deletions

i18n/locales/en.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,18 @@
113113
"SFTPEmptyDescription": "Search for an asset or reuse the active terminal host.",
114114
"UseActiveAsset": "Use active",
115115
"OpenSFTP": "Open SFTP",
116-
"BatchSearchPlaceholder": "Search and add hosts for batch execution…",
117-
"BatchSelectedCount": "{count} host(s) selected",
118-
"BatchClear": "Clear",
119-
"BatchCommandPlaceholder": "Enter the command to run on each host…",
120-
"BatchExecute": "Connect and run",
121-
"BatchEmptyTitle": "Add batch hosts",
122-
"BatchEmptyDescription": "Search to add hosts, or send selections from the asset tree.",
123-
"BatchUnsupportedAsset": "This asset is not supported for built-in SSH batch connect",
124-
"BatchStartedTitle": "Batch task started",
125-
"BatchStartedDescription": "Connected to {count} host(s).",
126-
"BatchStartedWithCommand": "Connected to {count} host(s). Run this in each terminal: {command}"
116+
"BatchCommandPlaceholder": "Enter command to run on each terminal… (Ctrl+Enter to send)",
117+
"BatchConnectedTabs": "Connected terminals",
118+
"BatchNoConnectedTabs": "No connected terminals",
119+
"BatchNoConnectedTabsDesc": "Connect to SSH hosts from the asset tree and they will appear here.",
120+
"BatchConnected": "Connected",
121+
"BatchSelectAll": "Select all",
122+
"BatchDeselectAll": "Deselect all",
123+
"BatchSend": "Send",
124+
"BatchSendToCount": "Send to {count} terminal(s)",
125+
"BatchCommandSent": "Command sent",
126+
"BatchCommandSentDesc": "Command dispatched to {count} terminal(s)",
127+
"BatchPanelClose": "Close batch command panel"
127128
},
128129
"Transcode": {
129130
"Title": "Replay Transcode",

i18n/locales/zh.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,18 @@
113113
"SFTPEmptyDescription": "搜索资产,或复用当前活动终端对应主机。",
114114
"UseActiveAsset": "使用当前",
115115
"OpenSFTP": "打开 SFTP",
116-
"BatchSearchPlaceholder": "搜索并添加批量执行主机…",
117-
"BatchSelectedCount": "已选 {count} 台主机",
118-
"BatchClear": "清空",
119-
"BatchCommandPlaceholder": "输入要在各主机执行的命令…",
120-
"BatchExecute": "批量连接并执行",
121-
"BatchEmptyTitle": "添加批量执行主机",
122-
"BatchEmptyDescription": "搜索添加主机,或从左侧资产树批量选择后发送到这里。",
123-
"BatchUnsupportedAsset": "该资产暂不支持内置 SSH 批量连接",
124-
"BatchStartedTitle": "批量任务已开始",
125-
"BatchStartedDescription": "已为 {count} 台主机建立连接。",
126-
"BatchStartedWithCommand": "已为 {count} 台主机建立连接,请在各终端执行:{command}"
116+
"BatchCommandPlaceholder": "输入要在各终端执行的命令… (Ctrl+Enter 发送)",
117+
"BatchConnectedTabs": "已连接终端",
118+
"BatchNoConnectedTabs": "暂无已连接终端",
119+
"BatchNoConnectedTabsDesc": "从左侧资产树连接 SSH 主机后,将在此显示。",
120+
"BatchConnected": "已连接",
121+
"BatchSelectAll": "全选",
122+
"BatchDeselectAll": "取消全选",
123+
"BatchSend": "发送",
124+
"BatchSendToCount": "发送到 {count} 个终端",
125+
"BatchCommandSent": "命令已发送",
126+
"BatchCommandSentDesc": "已向 {count} 个终端发送命令",
127+
"BatchPanelClose": "关闭批量命令面板"
127128
},
128129
"Transcode": {
129130
"Title": "录像转码",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"guacamole-common-js-jumpserver": "1.1.0-c",
6060
"js-untar": "^2.0.0",
6161
"mitt": "^3.0.1",
62+
"monaco-editor": "^0.55.1",
6263
"nora-zmodemjs": "^1.1.1",
6364
"nuxt": "^4.4.6",
6465
"pinia": "^3.0.4",

0 commit comments

Comments
 (0)