fix(frontend): 修复文件管理器删除与上传稳定性

补齐文件管理器右键子菜单点击展开,新增拖拽上传目标确认,
并在上传完成后自动刷新当前可见目录

目录删除改为区分仅删空目录与强制递归删除,删除后自动回退
失效路径,避免文件树持续报 No such file

同步后端 sftp:rmdir 的 recursive 分支,并将关于页与版本检查
默认仓库链接切换到 Micah123321/nexus-terminal
This commit is contained in:
yinjianm
2026-03-26 03:48:50 +08:00
parent 1a326cc01f
commit cda7e0a018
32 changed files with 661 additions and 115 deletions
+7
View File
@@ -558,6 +558,13 @@
"confirmDeleteMultiple": "Are you sure you want to delete the selected {count} items? This cannot be undone.",
"confirmDeleteFolder": "Are you sure you want to delete the directory \"{name}\" and all its contents? This cannot be undone.",
"confirmDeleteFile": "Are you sure you want to delete the file \"{name}\"? This cannot be undone.",
"confirmUploadToPath": "Upload {count} dropped item(s) to \"{path}\"?",
"deleteIncludedFiles": ", plus {count} file(s)",
"confirmDeleteDirectoryEmptyOnly": "This will delete {count} directory(s) ({names}){fileSummary}.\n\nIt will only remove empty directories. Non-empty directories will fail.",
"confirmDeleteDirectoryRecursive": "This will recursively delete {count} directory(s) ({names}){fileSummary}.\n\nThis action cannot be undone.",
"deleteEmptyOnly": "Delete Empty Only",
"moreDeleteOptions": "More Options",
"forceRecursiveDelete": "Force Recursive Delete",
"enterNewName": "Enter the new name for \"{oldName}\":",
"enterNewPermissions": "Enter new permissions for \"{name}\" (octal, e.g., 755):",
"enterFileName": "Enter the name for the new file:"
+7
View File
@@ -543,6 +543,13 @@
"confirmDeleteFolder": "フォルダー \"{name}\" とそのすべての内容を削除しますか?この操作は元に戻せません。",
"confirmDeleteMultiple": "選択した {count} 個の項目を削除しますか?この操作は元に戻せません。",
"confirmOverwrite": "ファイル \"{name}\" はすでに存在します。上書きしますか?",
"confirmUploadToPath": "ドラッグした {count} 件の項目を \"{path}\" にアップロードしますか?",
"deleteIncludedFiles": "、および {count} 件のファイル",
"confirmDeleteDirectoryEmptyOnly": "{count} 個のディレクトリ({names}{fileSummary} を削除します。\n\nまず空ディレクトリのみ削除します。中身があるディレクトリは失敗します。",
"confirmDeleteDirectoryRecursive": "{count} 個のディレクトリ({names}{fileSummary} を再帰的に削除します。\n\nこの操作は元に戻せません。",
"deleteEmptyOnly": "空ディレクトリのみ削除",
"moreDeleteOptions": "他の選択肢",
"forceRecursiveDelete": "再帰削除を強制",
"enterFileName": "新しいファイルの名前を入力してください:",
"enterFolderName": "新しいフォルダーの名前を入力してください:",
"enterNewName": "\"{oldName}\" の新しい名前を入力してください:",
+7
View File
@@ -558,6 +558,13 @@
"confirmDeleteMultiple": "确定要删除选定的 {count} 个项目吗?此操作不可撤销。",
"confirmDeleteFolder": "确定要删除目录 \"{name}\" 及其所有内容吗?此操作不可撤销。",
"confirmDeleteFile": "确定要删除文件 \"{name}\" 吗?此操作不可撤销。",
"confirmUploadToPath": "确认将 {count} 个拖入项目上传到 \"{path}\" 吗?",
"deleteIncludedFiles": ",以及 {count} 个文件",
"confirmDeleteDirectoryEmptyOnly": "将删除 {count} 个目录({names}{fileSummary}。\n\n先尝试仅删除空目录;非空目录会直接失败。",
"confirmDeleteDirectoryRecursive": "将强制递归删除 {count} 个目录({names}{fileSummary}。\n\n此操作不可撤销。",
"deleteEmptyOnly": "仅删除空目录",
"moreDeleteOptions": "更多选项",
"forceRecursiveDelete": "强制递归删除",
"enterNewName": "请输入 \"{oldName}\" 的新名称:",
"enterNewPermissions": "请输入 \"{name}\" 的新权限 (八进制, 例如 755):",
"enterFileName": "请输入新文件的名称:"