mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
feat(panel): add per-pool cycle filter and harden weekly reset anchors
- Add a compact inline quota-pool selector on ConsumptionView when Cycle is active, pre-bundling per-pool cycle slices for instant switching and scoping range labels in exports - Classify >6h clientModelConfigs resetTime fallbacks as weekly anchors and advance usageRevision when official reset windows arrive or shift - Deduplicate same-day and same-month date span badges (e.g. Nov 24, Nov 24 ~ 25)
This commit is contained in:
@@ -258,8 +258,10 @@ export async function executeTelemetryAction(data, opts = {}) {
|
||||
rawScope === 'conversation'
|
||||
? rawScope
|
||||
: '';
|
||||
const rawPool = typeof data?.pool === 'string' ? data.pool.trim().slice(0, 48) : '';
|
||||
const filterOpts = {
|
||||
range: data?.range || 'all',
|
||||
...(rawPool ? { pool: rawPool } : {}),
|
||||
startMs: sanitizePositiveFiniteMs(data?.startMs),
|
||||
endMs: sanitizePositiveFiniteMs(data?.endMs),
|
||||
...(scope ? { scope } : {}),
|
||||
|
||||
Reference in New Issue
Block a user