mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-22 03:05:32 +02:00
fix(frontend): block playlist submission unless probe is done
Previous guard only blocked while playlistProbeState==='probing'. Two remaining bypass paths: - idle: 800ms debounce not yet fired after URL typed - error: probe failed — no per-video quality data available Change anyProbing and handleArchive guard to: isPlaylistSource(locator) && playlistProbeState !== 'done' This means idle/probing/error all block submission for playlist items. error is intentionally blocking — without quality data the per-video requirement can't be satisfied; user must retry or remove the URL.
This commit is contained in:
parent
dcdfa78073
commit
1cc5f73ae1
3 changed files with 16 additions and 10 deletions
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue