Commit Graph

3 Commits

Author SHA1 Message Date
jeffusion
28d86aff16 fix(ui): align card headers and stabilize themed layout polish 2026-03-24 12:30:13 +08:00
jeffusion
9c9ef05d13 feat(frontend): update config UI for DB-first config architecture
- ConfigSource type: 'default' | 'db' (removed 'env')
- Badge: 'db' shows '已配置', 'default' shows '默认值'
- Removed readonly field lock icon and env-var-only warning message
- Updated 'override' → 'db' references in ConfigGroupCard and ConfigManager
- Removed readonly/readonlyWarning from ConfigFieldDto interface
2026-03-24 12:30:13 +08:00
jeffusion
f223e35cbb feat(frontend): add config management page with UI components
Add comprehensive configuration management UI:
- ConfigManager: Main page with grouped config display
- ConfigGroupCard: Expandable cards for each config group
- ConfigFieldInput: Smart input based on field type
  - Text, URL, password (masked), number, boolean, enum, textarea

UI Components added:
- Select, Switch, Tabs, Textarea, Separator from shadcn/ui

Features:
- Real-time field validation
- Source indicator (default/env/override)
- Save/reset functionality with toast notifications
- Responsive layout with collapsible groups
2026-03-03 16:32:21 +08:00