mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
refactor(panel): complete shared single-source rules, isolate per-module bundle scopes, and purify scoped selector
This commit is contained in:
@@ -5,18 +5,14 @@
|
||||
* live reordering, and clean instance disposal.
|
||||
*/
|
||||
|
||||
import { OVERVIEW_MODULE_KEYS } from '../../shared/settings-normalization.mjs';
|
||||
import { ContextWindowWidget } from '../components/widgets/ContextWindowWidget.js';
|
||||
import { LiveActivityWidget } from '../components/widgets/LiveActivityWidget.js';
|
||||
import { MetricMatrixWidget } from '../components/widgets/MetricMatrixWidget.js';
|
||||
import { QuotaPoolsWidget } from '../components/widgets/QuotaPoolsWidget.js';
|
||||
import { t } from '../i18n/index.js';
|
||||
|
||||
export const OVERVIEW_WIDGET_KEYS = Object.freeze([
|
||||
'metrics',
|
||||
'context',
|
||||
'quotas',
|
||||
'live_tasks',
|
||||
]);
|
||||
export const OVERVIEW_WIDGET_KEYS = OVERVIEW_MODULE_KEYS;
|
||||
|
||||
export const OVERVIEW_WIDGET_REGISTRY = Object.freeze({
|
||||
metrics: {
|
||||
|
||||
Reference in New Issue
Block a user