fix: render dashboard rankings as bar charts

This commit is contained in:
inman committed 2026-09-02 11:14:21 +08:00
1 parent de9f33dc45
commit e530b7a348
6 files changed
+101 -66

No files matched your search

+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-dashboard-ranking-bars-1/);
assert.match(index, /app\.js\?v=20260902-dashboard-ranking-bars-1/);
assert.match(index, /styles\.css\?v=20260902-dashboard-bar-chart-1/);
assert.match(index, /app\.js\?v=20260902-dashboard-bar-chart-1/);
assert.match(index, /id="statusDetailsPopover"/);
assert.match(index, /id="statusDetailsRefresh"/);
assert.match(app, /apiRequest\(`\/api\/tasks\?\$\{params\.toString\(\)\}`/);