soulsync/webui/static
Broque Thomas 2852e2b39f Add candidates review modal & API
Expose cached search results for failed downloads and add a UI to review them. Implements a new GET /api/downloads/task/<task_id>/candidates endpoint that serializes any cached_candidates and track_info for a task and returns an error message and candidate count. The download worker now collects top raw search results (all_raw_results) and stores them in download_tasks[task_id]['cached_candidates'] when no match is found so users can inspect what Soulseek returned. The batch status payload includes has_candidates to mark "not_found" tasks as reviewable. On the frontend, new script functions (_ensureCandidatesClickListener, showCandidatesModal, _renderCandidatesModal, closeCandidatesModal) fetch and render a modal table of candidates; existing status rendering is updated to attach click handlers and error tooltips. Styles for the modal and a clickable .has-candidates state are added to style.css.
2026-02-26 13:09:51 -08:00
..
favicon.png enlarge favicon 2026-02-13 16:11:32 -08:00
hydrabase.png Add Hydrabase dev UI and WebSocket support 2026-02-21 00:32:04 -08:00
mobile.css Add track selection UI and backend mapping 2026-02-23 15:54:58 -08:00
script.js Add candidates review modal & API 2026-02-26 13:09:51 -08:00
style.css Add candidates review modal & API 2026-02-26 13:09:51 -08:00
whisoul.png Add library repair worker and UI 2026-02-21 15:00:23 -08:00