feat(panel): upgrade modular dashboard UI, 6-segment context meter, and consumption analytics

This commit is contained in:
yuhuan2498281558
2026-10-15 19:02:53 +09:00
parent f6cbd92fdb
commit 10a002afbe
42 changed files with 11102 additions and 1960 deletions
+19
View File
@@ -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,
});