Show per-indexer grab share and rebuild the Indexers card as a list
All checks were successful
Deploy / deploy (push) Successful in 26s
All checks were successful
Deploy / deploy (push) Successful in 26s
The Indexers card sat beside Requests as a stretched, vertically centred grid of pills — mostly dead space once the Ombi list was expanded, and it said nothing about which indexer was actually doing the work. - Fetch Prowlarr's indexerstats over a rolling 30-day window and merge per-indexer queries/grabs into the summary. Cached 10 min on success and never on failure, so a stats outage can't blank the column after it recovers or take the up/down list down with it. - Rank indexers busiest-first by grab share (query share as fallback); queries mostly count enabled indexers, grabs count who delivered. - One indexer per line, matched to the Ombi request rows: same padding, gap, radius and two-line body, plus a share bar scaled to the busiest indexer and an Online/Offline badge the 30s poll keeps current. - Let that row size cards to their own content instead of stretching. Bump APP_VERSION to 1.2.0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
2cc62979a2
commit
909a0b568c
4 changed files with 147 additions and 16 deletions
|
|
@ -187,6 +187,12 @@ async function pollProwlarr() {
|
|||
const light = document.getElementById('idx-light-' + idx.id);
|
||||
if (row) { row.classList.toggle('up', idx.up); row.classList.toggle('down', !idx.up); }
|
||||
if (light) { light.classList.toggle('up', idx.up); light.classList.toggle('down', !idx.up); }
|
||||
const badge = document.getElementById('idx-badge-' + idx.id);
|
||||
if (badge) {
|
||||
badge.classList.toggle('online', idx.up);
|
||||
badge.classList.toggle('offline', !idx.up);
|
||||
badge.textContent = idx.up ? 'Online' : 'Offline';
|
||||
}
|
||||
});
|
||||
updateServicePill('prowlarr', d.up_count === d.total && d.total > 0);
|
||||
const stat = document.getElementById('svc-stat-prowlarr');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue