feat(web): show active sandbox details in Box status popover

Display sandbox count and a detailed list of active sessions including
session ID, image, backend, resources (CPU/memory), network mode, and
last used time. Fetched from GET /api/v1/box/sessions in parallel.
Includes i18n for all 8 supported languages.
This commit is contained in:
Junyan Qin
2026-04-18 22:16:36 +08:00
committed by WangCham
parent 7e50063731
commit cee5e9e0e2
11 changed files with 126 additions and 1 deletions
+5
View File
@@ -452,7 +452,12 @@ const zhHans = {
boxUnavailable: '不可用',
boxBackend: '后端',
boxProfile: '配置',
boxSandboxes: '沙箱数',
boxErrors: '错误数',
boxSessionImage: '镜像',
boxSessionBackend: '后端',
boxSessionResources: '资源',
boxSessionNetwork: '网络',
boxStatusLoadFailed: '加载 Box 状态失败',
failedToGetDebugInfo: '获取调试信息失败',
copiedToClipboard: '已复制到剪贴板',