mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
feat(panel): refine session picker, summary cards, and curve dots
- Declutter session dropdown rows by moving workspace tags to search and hover tooltips, compacting inline UUIDs and multi-agent step counts, separating the auto-follow option, and aligning right-hand step columns - Align StepsDetailView model summary cards with ConsumptionView breakdown rows using share pills and right-aligned call counts, and restyle the session anomaly strip with a status dot and neutral pill tags - Replace baseline anomaly rug ticks in SessionLineChart with borderless on-curve spline dots backed by anomaly-aware downsampling and exact cubic y-evaluation - Compact the second row of ConsumptionView overview metrics by removing redundant sub-captions and matching the top-row label-over-hero-number hierarchy
This commit is contained in:
@@ -2491,9 +2491,12 @@ test('Compiled app.js mounts dual Shadow DOM hosts, tracks /c/<uuid> routes, pro
|
||||
assert.equal(smodelCards.length, 2, 'Two minimalist model summary cards rendered');
|
||||
assert.equal(smodelCards[0].classList.contains('is-fit-active'), true);
|
||||
assert.equal(smodelCards[0].querySelector('.smodel-name').textContent, 'gemini-4-hydrogen');
|
||||
assert.equal(smodelCards[0].querySelector('.smodel-calls-pill').textContent, '1次 · 50%');
|
||||
assert.match(smodelCards[0].querySelector('.cons-share-pill').textContent, /%/);
|
||||
assert.match(smodelCards[0].querySelector('.smodel-perf').textContent, /均速 92\.3 tok\/s · 首字 5\.6s · 缓存 93\.3%/);
|
||||
assert.match(smodelCards[0].querySelector('.smodel-split').textContent, /输入 2\.5k.*缓存 34\.6k.*思考 420.*输出 265/);
|
||||
assert.match(
|
||||
smodelCards[0].querySelector('.smodel-foot').textContent,
|
||||
/输入 2\.5k.*缓存 34\.6k.*思考 420.*输出 265.*调用 1/
|
||||
);
|
||||
|
||||
// Simulate live telemetry poll where a subagent spawns on 'Gemini 3 Flash' (changing activeModelLabel)
|
||||
// while the user remains inside 总汇总 -> fit model MUST NOT jump!
|
||||
|
||||
Reference in New Issue
Block a user