fix(frontend): 调整工作台文件总览与快捷指令菜单

将文件管理区从单目录文件表格修正为多根目录常驻的文件夹总览,
点击目录时仅展开和聚焦,不再切换为单独目录列表。

同时修复快捷指令右键菜单的透明背景与粘贴语义,
统一为“粘贴到命令输入框”且不自动发送,并同步多语言文案。

顺带收紧快捷指令编辑弹窗的最小尺寸、初始尺寸与视口上限,
降低小分辨率下的弹窗溢出概率。
This commit is contained in:
yinjianm
2026-03-26 02:04:07 +08:00
parent 3f6e2bffc6
commit b1f036fdc6
15 changed files with 517 additions and 208 deletions
+2 -4
View File
@@ -1434,16 +1434,14 @@
},
"actions": {
"runNow": "Run Now",
"pasteToTerminal": "Paste to Terminal",
"pasteToCommandInput": "Paste to Command Input",
"copyCommand": "Copy Command",
"pasteToQuickInput": "Paste to Quick Input",
"edit": "Edit",
"delete": "Delete",
"sendToAllSessions": "Send to All Servers"
},
"notifications": {
"pastedToTerminal": "Pasted into the terminal input.",
"pastedToQuickInput": "Pasted into the quick input.",
"pastedToCommandInput": "Pasted into the command input.",
"sentToAllSessions": "Command sent to {count} servers.",
"noActiveSshSessions": "No active SSH sessions to send command to."
}
+2 -4
View File
@@ -855,16 +855,14 @@
"usageCount": "使用回数",
"actions": {
"runNow": "今すぐ実行",
"pasteToTerminal": "ターミナルに貼り付け",
"pasteToCommandInput": "コマンド入力欄に貼り付け",
"copyCommand": "コマンドをコピー",
"pasteToQuickInput": "クイック入力欄に貼り付け",
"edit": "編集",
"delete": "削除",
"sendToAllSessions": "すべてのサーバーに送信"
},
"notifications": {
"pastedToTerminal": "ターミナル入力欄に貼り付けました。",
"pastedToQuickInput": "クイック入力欄に貼り付けました。",
"pastedToCommandInput": "コマンド入力欄に貼り付けました。",
"sentToAllSessions": "コマンドは {count} 台のサーバーに送信されました。",
"noActiveSshSessions": "コマンドを送信するアクティブな SSH セッションはありません。"
}
+2 -4
View File
@@ -1438,16 +1438,14 @@
},
"actions": {
"runNow": "立即执行",
"pasteToTerminal": "粘贴到终端",
"pasteToCommandInput": "粘贴到命令输入框",
"copyCommand": "复制命令",
"pasteToQuickInput": "粘贴到快捷输入框",
"edit": "编辑",
"delete": "删除",
"sendToAllSessions": "发送到全部服务器"
},
"notifications": {
"pastedToTerminal": "已粘贴到终端输入框。",
"pastedToQuickInput": "已粘贴到快捷输入框。",
"pastedToCommandInput": "已粘贴到命令输入框。",
"sentToAllSessions": "指令已发送到 {count} 台服务器。",
"noActiveSshSessions": "没有活动的 SSH 会话可发送指令。"
}