mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
feat(panel): upgrade modular dashboard UI, 6-segment context meter, and consumption analytics
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @fileoverview UI navigation and view state store.
|
||||
*/
|
||||
|
||||
import { createReactiveStore } from '../core/reactive.js';
|
||||
|
||||
export const VIEW_TABS = Object.freeze([
|
||||
{ value: 'overview', label: '实时监控', icon: 'pulse' },
|
||||
{ value: 'consumption', label: '消耗统计', icon: 'chart-bar' },
|
||||
{ value: 'steps', label: '步骤明细', icon: 'table' },
|
||||
{ value: 'settings', label: '系统设置', icon: 'sliders' },
|
||||
]);
|
||||
|
||||
export const uiStore = createReactiveStore({
|
||||
activeView: 'overview',
|
||||
stepsSubTab: 'steps', // 'steps' | 'models'
|
||||
showAllPools: true,
|
||||
ctxBreakdownOpen: true,
|
||||
});
|
||||
Reference in New Issue
Block a user