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": "Select a session",
"selectSessionHint": "Choose a terminal session from the dropdown",
"sessionNotFound": "Session no longer exists",
"sessionNotFoundHint": "The session may have been closed or the server restarted. Please select another session.",
"splitHorizontal": "Split Right",
"splitVertical": "Split Down",
"clearTerminal": "Clear Terminal",