feat(web): order the In-queue tab next-up-first with a "Next up" marker
The queue tab showed newest-first (API returns createdAt desc) but the worker claims the oldest queued job next (claim_next: ORDER BY createdAt ASC) — so the item that ran next was at the BOTTOM. Sort the queue bucket ascending so it matches processing order, and badge the first claimable row (oldest, not individually paused) as "Next up". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -388,6 +388,13 @@ nav.contents .sep { flex: 1; }
|
||||
.tab .n { color: var(--rule-2); margin-left: 6px; }
|
||||
.tab.has-errors .n { color: var(--alert); }
|
||||
|
||||
/* "Next up" badge on the first queued row (the item the worker claims next) */
|
||||
.nextup {
|
||||
display: inline-block; vertical-align: middle; margin-right: 9px; transform: translateY(-2px);
|
||||
font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.13em; text-transform: uppercase;
|
||||
color: var(--accent-ink); background: var(--accent); padding: 2px 7px; border-radius: 4px;
|
||||
}
|
||||
|
||||
/* ── Kebab menu (⋮ popup for press actions) ───────────── */
|
||||
.dept.has-actions { align-items: center; }
|
||||
.dept.has-actions .fill { transform: none; }
|
||||
|
||||
Reference in New Issue
Block a user