feat(workspace): add workbench layout and traffic totals

Rework the default /workspace layout into a three-column view
with a left-side Workbench, centered terminal, and right-side
status monitor.

Add a new Workbench pane that groups file manager, command
history, and editor into tabs while preserving panel state.
Extend server status data to expose cumulative network upload
and download totals since boot, and show them in the monitor.

Include a lightweight migration for the old default layout and
update related locale strings, pane metadata, and knowledge
base records.
This commit is contained in:
yinjianm
2026-03-25 03:58:45 +08:00
parent 33a027e809
commit f2f9c754f8
19 changed files with 511 additions and 98 deletions
+19 -1
View File
@@ -555,6 +555,7 @@
"dockerManager": "Docker マネージャー",
"editor": "エディター",
"fileManager": "ファイルマネージャー",
"workbench": "ワークベンチ",
"quickCommands": "クイックコマンド",
"statusMonitor": "ステータスモニター",
"terminal": "ターミナル",
@@ -564,6 +565,20 @@
"suspendedSshSessions": "中断されたセッション管理者"
}
},
"workspace": {
"noActiveSession": "アクティブなセッションはありません",
"workbench": {
"title": "Workbench",
"label": "ワークスペース",
"noSession": "アクティブなセッションはありません",
"fileManagerHint": "SSH セッションを有効にするとリモートファイルを参照できます。",
"tabs": {
"files": "ファイル",
"history": "履歴",
"editor": "エディター"
}
}
},
"layoutConfigurator": {
"availablePanes": "利用可能なパネル",
"confirmClearLayout": "レイアウト全体をクリアしますか?すべてのパネルが利用可能なリストに戻ります。",
@@ -1205,6 +1220,9 @@
"megaBytesPerSecond": "MB/秒",
"memoryLabel": "メモリ:",
"networkLabel": "ネットワーク",
"totalTrafficLabel": "起動後の累計トラフィック",
"downloadLabel": "受信",
"uploadLabel": "送信",
"notAvailable": "N/A",
"osLabel": "OS:",
"swapLabel": "スワップ:",
@@ -1612,4 +1630,4 @@
"copiedSuccess": "パスがクリップボードにコピーされました",
"copiedError": "パスのコピーに失敗しました"
}
}
}