diff --git a/docs/UX_THEME_NORMALIZATION_HANDOFF.md b/docs/UX_THEME_NORMALIZATION_HANDOFF.md index eedd99d..1e97be4 100644 --- a/docs/UX_THEME_NORMALIZATION_HANDOFF.md +++ b/docs/UX_THEME_NORMALIZATION_HANDOFF.md @@ -98,7 +98,7 @@ Current public bundle: - [x] Normalize `web/src/components/TradeProfileManager.tsx` - [x] Normalize `web/src/components/StrategyWizard.tsx` - [x] Normalize `web/src/tabs/ReconciliationAuditPanel.tsx` -- [ ] Normalize `web/src/components/GlobalConfigManager.tsx` +- [x] Normalize `web/src/components/GlobalConfigManager.tsx` - [ ] Normalize `web/src/components/EntryForm.tsx` - [ ] Normalize remaining old admin/config surfaces - [ ] Remove remaining dark-only bespoke surface systems diff --git a/web/src/components/GlobalConfigManager.tsx b/web/src/components/GlobalConfigManager.tsx index 3e9e2b0..a539c9a 100644 --- a/web/src/components/GlobalConfigManager.tsx +++ b/web/src/components/GlobalConfigManager.tsx @@ -1,6 +1,9 @@ import React from 'react'; -import { Save, AlertCircle, CheckCircle } from 'lucide-react'; +import { Save, AlertCircle, CheckCircle, Globe2 } from 'lucide-react'; import { fetchDynamicConfigItems, upsertDynamicConfigItems } from '../lib/dynamicConfigApi'; +import { Button } from './ui/button'; +import { Card } from './ui/card'; +import { Input } from './ui/input'; interface ConfigItem { key: string; @@ -46,16 +49,17 @@ export const GlobalConfigManager = () => { setSaving(false); }; - if (loading) return
{config.description || 'System setting used by the trading core.'}
+{config.description || 'System setting used by the trading core.'}
No dynamic configuration entries found.
-The bot is currently using .env defaults.
+No dynamic configuration entries found.
+The bot is currently using .env defaults.
+
Note: Changes to global variables usually require a bot restart to take full effect (e.g. changing intervals or providers). Symbols may update dynamically depending on strategy implementation.