Image Pipeline Playground
fix(frontend/hooks): stop auto-downloading save zip archives
Mohammad Rajaeib6acc1230aea
diff --git a/frontend/src/hooks/useExecutionSocket.ts b/frontend/src/hooks/useExecutionSocket.tsindex 9cba9ac..4e01bc7 100644--- a/frontend/src/hooks/useExecutionSocket.ts+++ b/frontend/src/hooks/useExecutionSocket.ts@@ -126,19 +126,6 @@ export function useExecutionSocket() {})}}- if (event.type === 'download' && event.download_url) {- const filename = event.download_filename ?? 'results.zip'- appendLog(event.message ?? `Download ready: ${filename}`)- // Desktop with folder saves already revealed the output; ZIP is fallback only.- const anchor = document.createElement('a')- anchor.href = event.download_url- anchor.download = filename- anchor.rel = 'noopener'- document.body.appendChild(anchor)- anchor.click()- anchor.remove()- notifySuccess(event.message ?? `Downloading ${filename}`)- }if (event.type === 'done') {appendLog(event.message ?? 'done')const target = targetLabelRef.current