feat(terminal-dashboard): improve UX for pane/session management

- Add confirmation dialog when closing pane with active session
- Add explicit "Close Session" button to terminate backend PTY
- Handle "session not found" scenario with user-friendly message
- Add i18n keys for new UI elements (en/zh)
This commit is contained in:
catlog22
2026-02-20 21:21:02 +08:00
parent aa9f23782a
commit 1de283751b
5 changed files with 101 additions and 4 deletions

View File

@@ -143,6 +143,8 @@
"pane": {
"selectSession": "选择会话",
"selectSessionHint": "从下拉菜单中选择终端会话",
"sessionNotFound": "会话已不存在",
"sessionNotFoundHint": "该会话可能已关闭或服务器已重启,请选择其他会话。",
"splitHorizontal": "向右分割",
"splitVertical": "向下分割",
"clearTerminal": "清屏",