mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat(web): show hidden directories in workspace browser (#1331)
* feat(web): show hidden directories in workspace browser Add optional includeHidden param to the machine list-directory RPC so the WorkspaceBrowser can toggle hidden (dot-prefixed) entries. Default remains filtered for backward compatibility; the toggle persists via localStorage. * fix(web): disable show-hidden toggle while directory loading Prevent overlapping list-directory requests with opposite includeHidden values; the toggle is now disabled while a directory load is active.
This commit is contained in:
@@ -898,6 +898,7 @@ export default {
|
||||
'browse.goUp': 'Go up',
|
||||
'browse.empty': 'No subdirectories found',
|
||||
'browse.refresh': 'Refresh',
|
||||
'browse.showHidden': 'Show hidden',
|
||||
'browse.startSession': 'Start Session',
|
||||
'browse.nav': 'Browse',
|
||||
'browse.noRootTitle': 'Workspace browsing is off',
|
||||
|
||||
@@ -902,6 +902,7 @@ export default {
|
||||
'browse.goUp': '返回上层',
|
||||
'browse.empty': '未找到子目录',
|
||||
'browse.refresh': '刷新',
|
||||
'browse.showHidden': '显示隐藏项',
|
||||
'browse.startSession': '启动会话',
|
||||
'browse.nav': '浏览',
|
||||
'browse.noRootTitle': '未启用 workspace 浏览',
|
||||
|
||||
Reference in New Issue
Block a user