You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(FR-84): add bulk file download as ZIP archive in vfolder explorer (#6153)
Resolves#2100 [FR-84](https://lablup.atlassian.net/browse/FR-84)
## Summary
- Add bulk download button in vfolder explorer toolbar when files are selected
- Use `POST /folders/{name}/request-download-archive` API to get download token, then download ZIP via storage proxy
- Add `request_download_archive` method to backend client with `download-archive` feature flag (requires manager >= 26.3.0)
- Add `targetVFolderName` to `FolderInfoContext` for custom ZIP filename (`vfolder-{name}-{timestamp}.zip`)
- Add i18n keys for download button tooltip and success message
## Test plan
- [ ] Select multiple files/folders in vfolder explorer and verify download button appears
- [ ] Click download button and verify ZIP file downloads with correct name format
- [ ] Verify download button is hidden on manager versions < 26.3.0
- [ ] Verify download button is disabled when user lacks download permission
- [ ] Test download from subdirectory (non-root path)
[FR-84]: https://lablup.atlassian.net/browse/FR-84?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Copy file name to clipboardExpand all lines: packages/backend.ai-ui/src/locale/de.json
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -277,6 +277,7 @@
277
277
"SelectFolder": "Ordner auswählen"
278
278
},
279
279
"comp:FileExplorer": {
280
+
"ArchiveDownloadStarted": "Der Download von {{count}} Element(en) wurde gestartet.",
280
281
"ChangeFileExtension": "Dateierweiterung ändern",
281
282
"ChangeFileExtensionDesc": "Das Ändern der Dateierweiterung kann dazu führen, dass die Datei unbrauchbar oder falsch geöffnet wird. \nMöchten Sie fortfahren?",
282
283
"Controls": "Kontrollen",
@@ -287,6 +288,7 @@
287
288
"CreatedAt": "Erstellt at",
288
289
"DeleteSelectedItemDesc": "Löschte Dateien und Ordner können nicht wiederhergestellt werden. \nMöchten Sie fortfahren?",
Copy file name to clipboardExpand all lines: packages/backend.ai-ui/src/locale/es.json
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -277,6 +277,7 @@
277
277
"SelectFolder": "Seleccionar carpeta"
278
278
},
279
279
"comp:FileExplorer": {
280
+
"ArchiveDownloadStarted": "Se ha iniciado la descarga de {{count}} elemento(s).",
280
281
"ChangeFileExtension": "Cambiar la extensión del archivo",
281
282
"ChangeFileExtensionDesc": "Cambiar la extensión del archivo puede hacer que el archivo se vuelva inutilizable o se abra incorrectamente. \n¿Quieres continuar?",
282
283
"Controls": "Control",
@@ -287,6 +288,7 @@
287
288
"CreatedAt": "Creado a",
288
289
"DeleteSelectedItemDesc": "Los archivos y carpetas eliminados no se pueden restaurar. \n¿Quieres continuar?",
0 commit comments