DrSmoothl
34b05e4e16
fix(hooks): remove duplicate save calls in useAutoSave legacy
2026-03-01 19:09:08 +08:00
DrSmoothl
d4bfc9591c
refactor(api): migrate config-api to ApiResponse pattern
2026-03-01 17:49:05 +08:00
DrSmoothl
c863d5a3be
refactor(components): split layout.tsx into layout/ directory
2026-03-01 17:07:38 +08:00
DrSmoothl
6a54a796f1
修复 build 问题
2026-02-19 18:56:49 +08:00
DrSmoothl
06a88a877f
refactor(theme): migrate all CSS variable references and adapt third-party components
...
- Task 10: Bulk migrate CSS variable references from --primary/--secondary/etc to --color-primary/--color-secondary/etc across all components
- Task 11: Adapt CodeEditor to auto-detect theme from ThemeProvider context, remove hardcoded theme='dark' from plugin-config and bot config pages
2026-02-19 18:01:14 +08:00
DrSmoothl
6bb0bc9afc
feat(dashboard): integrate DynamicConfigForm in model config page
...
- Add DynamicConfigForm import and fieldHooks integration
- Replace TaskConfigCard list with DynamicConfigForm in tasks tab
- Use hardcoded schema POC approach (fields: [], nested: {})
- Maintain existing auto-save and state management logic
- TypeScript compilation verified
Task 14 complete - Wave 4 finished (4/4)
2026-02-17 18:32:31 +08:00
DrSmoothl
fa15fef1f0
feat(dashboard): convert 4 Sections to Hook components
...
- Create PersonalitySectionHook (medium complexity)
- Create DebugSectionHook (simple complexity)
- Create ExpressionSectionHook (high complexity)
- Create BotInfoSectionHook (simple complexity)
- Update hooks/index.ts with exports
- Pattern validated across different complexity levels
2026-02-17 18:18:44 +08:00
DrSmoothl
c58ad64352
feat(dashboard): integrate DynamicConfigForm for ChatSection POC
...
- Register ChatSectionHook as 'replace' mode field hook
- Replace ChatSection rendering with DynamicConfigForm
- Use hardcoded minimal schema (POC - API integration pending)
- Preserve all existing state management and auto-save logic
- TypeScript compilation: ✓ PASSED
Complete Task 11 (Wave 3)
Ref: WebUI config visualization refactor plan
2026-02-17 17:46:40 +08:00
DrSmoothl
3fcf02866a
feat(dashboard): export ChatSectionHook in hooks index
...
- Add ChatSectionHook export to hooks/index.ts
- Complete Task 10 (Wave 3)
- ChatSectionHook now available for import and registration
2026-02-17 17:41:41 +08:00
DrSmoothl
b382747398
feat(dashboard): convert ChatSection to Hook component
2026-02-17 17:37:47 +08:00
墨梓柒
812296590e
上传完整的WebUI前端仓库
2026-01-13 06:24:35 +08:00