feat(workspace): add no-folder empty states and gate folder-only actions
- Sidebar: replace the "no conversations" placeholder with Open Folder, Clone Repository, and Project Boot buttons when the workspace has no open folders. - Title bar: disable the terminal and auxiliary-panel toggle buttons while no folder is active. - Aux panel: show a shared localized "no folder open" prompt in the file tree, git changes, and git log tabs when no folder is active. - Add auxPanel.noFolderTitle / noFolderHint translations across all ten supported locales.
This commit is contained in:
@@ -935,7 +935,9 @@
|
||||
"files": "檔案",
|
||||
"changes": "變更",
|
||||
"commits": "提交"
|
||||
}
|
||||
},
|
||||
"noFolderTitle": "尚無開啟的資料夾",
|
||||
"noFolderHint": "開啟一個資料夾後可在此查看"
|
||||
},
|
||||
"windowControls": {
|
||||
"minimizeWindow": "最小化視窗",
|
||||
|
||||
Reference in New Issue
Block a user