feat: add bars to dashboard rankings

This commit is contained in:
inman committed 2026-09-02 11:08:04 +08:00
1 parent f11aa6416b
commit de9f33dc45
6 files changed
+148 -9

No files matched your search

@@ -244,6 +244,8 @@ test('operator UI exposes role-aware accounts, executive drill-through, original
assert.match(app, /business_route_id/);
assert.match(app, /data-operations-status|dataset\.operationsStatus/);
assert.match(app, /data-operations-business|dataset\.operationsBusiness/);
assert.match(app, /operationsDashboardRankBar/);
assert.match(app, /operations-dashboard-rank-bar/);
assert.doesNotMatch(app, /完成率|operationsDashboardCompletionRate|operationsDashboardDays/);
assert.match(app, /function operationsDashboardReadableResult/);
assert.match(app, /function operationsDashboardReadableInput/);
+2 -2
View File
@@ -1225,8 +1225,8 @@ test('operator page has a login gate and uses the durable task API', async () =>
const inpage = await readFile(new URL('../../chrome-extension/ltjt-order-assistant/inpage.js', import.meta.url), 'utf8');
assert.match(index, /id="loginPanel"/);
assert.match(index, /id="workbench"[^>]*hidden/);
assert.match(index, /styles\.css\?v=20260902-compact-dashboard-1/);
assert.match(index, /app\.js\?v=20260902-compact-dashboard-1/);
assert.match(index, /styles\.css\?v=20260902-dashboard-ranking-bars-1/);
assert.match(index, /app\.js\?v=20260902-dashboard-ranking-bars-1/);
assert.match(index, /id="statusDetailsPopover"/);
assert.match(index, /id="statusDetailsRefresh"/);
assert.match(app, /apiRequest\(`\/api\/tasks\?\$\{params\.toString\(\)\}`/);