ComfyUI_frontend
ComfyUI_frontend copied to clipboard
[feat] Add ZIP download support for multiple assets
Summary
When downloading multiple selected assets, they are now bundled into a single ZIP file instead of downloading each file individually.
Changes
- Use
client-ziplibrary to generate ZIP files in the browser - Use
Promise.allSettledto include remaining files in ZIP even if some fail - Automatically add numbers to duplicate filenames
- Notify users with toast messages based on download status
- Auto-generate filename with timestamp to prevent filename collisions
Modified Files
src/platform/assets/composables/useMediaAssetActions.ts: Implement ZIP download logicsrc/locales/en/main.json: Add new i18n stringspackage.json: Addclient-zipdependency
🤖 Generated with Claude Code Co-Authored-By: Claude [email protected]
┆Issue is synchronized with this Notion page by Unito