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
{{ message }}
Repository navigation
enhancement(transcriber/frontend): extract file download blob pattern into useFileDownload() composable #9204
ExportMenu.vue:21–38 implements a blob-to-file download pattern (fetch blob → createObjectURL → click → revokeObjectURL) inline. This pattern is likely to be needed elsewhere and should be a shared composable.
Activity
enhancement(transcriber/frontend): extract file download blob pattern…
enhancement(transcriber/frontend): extract file download blob pattern…
mrveiss commentedon Jun 5, 2026
✅ Implemented in commit
c7a6980f2Created
autobot-frontend/src/composables/useFileDownload.tswith:download(blob, filename)- core download functiondownloadText(content, filename, mimeType?)- convenience wrapperRefactored
ExportMenu.vueto use the composable, reducing inline code from 7 lines to 1.Additional candidates for future refactoring (out of scope for this issue):
Part of #9044.
enhancement(transcriber/frontend): extract file download blob pattern…
enhancement(transcriber/frontend): extract file download blob pattern…