Skip to content

fix(omnibox): restore download mode selector for batch downloads (regression from #197) - #283

Open
Crayz129 wants to merge 1 commit into
tonhowtf:mainfrom
Crayz129:fix/restore-batch-download-mode-selector
Open

fix(omnibox): restore download mode selector for batch downloads (regression from #197)#283
Crayz129 wants to merge 1 commit into
tonhowtf:mainfrom
Crayz129:fix/restore-batch-download-mode-selector

Conversation

@Crayz129

@Crayz129 Crayz129 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Problem

#182 added the DownloadModeSelector above "Download all" in the batch state, so pasting multiple URLs let you force Audio only / No sound (notably for music.youtube.com links, detected as regular YouTube videos). It's gone again as of 0.8.5.

It was not reverted on purpose — it was lost in a merge race:

git log -S"batch-options" -- src/routes/+page.svelte returns exactly two commits: e8cbf1b9 (added) and 9a6abc8e (removed). No revert, no discussion.

Fix

Re-apply the removed markup and the .batch-options style. That's all that's needed — the rest of #182 survived:

  • handleBatchDownload still forwards downloadMode to the backend
  • DownloadModeSelector's onChange prop is still optional

Notes

  • No backend changes, no Rust files touched.
  • pnpm check passes: 0 errors (107 pre-existing warnings, none new).

🤖 Generated with Claude Code

PR tonhowtf#182 added a DownloadModeSelector above "Download all" in the batch
state, so users could force "Audio only" (or "No sound") when pasting
multiple URLs. It was reverted unintentionally by tonhowtf#197: that branch was
cut from main before tonhowtf#182 landed and its squash merge rewrote
src/routes/+page.svelte wholesale, dropping the batch-options block.

Re-apply the removed markup and the .batch-options style. Nothing else
is needed: handleBatchDownload still forwards downloadMode to the
backend, and DownloadModeSelector's onChange prop is still optional.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant