Add scraper job queue management (delete, clear failed)

New API endpoints: DELETE single job, clear all failed/cancelled.
Dashboard now shows Delete buttons on completed/failed jobs,
Retry+Delete on failed jobs, and a Clear Failed bulk action.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-04-18 21:03:39 +00:00
commit 45c3bb8d56
3 changed files with 60 additions and 4 deletions

View file

@ -65,7 +65,10 @@
<!-- Jobs Table -->
<div class="panel">
<h3 class="section-title" style="margin-bottom:12px;">Scrape Jobs</h3>
<div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;">
<h3 class="section-title" style="margin:0;">Scrape Jobs</h3>
<button class="btn btn-danger" onclick="SCRAPER.clearFailed()" id="sc-clear-btn" style="display:none;">Clear Failed</button>
</div>
<table class="data-table" id="sc-table">
<thead>
<tr>