Commit Graph

15 Commits

Author SHA1 Message Date
DrSmoothl
a576313b22 Ruff Format 2026-03-13 11:45:26 +08:00
DrSmoothl
b056ad2c34 feat: 添加动态 Tab 分组支持,优化配置界面 UI 元数据 2026-03-07 23:13:04 +08:00
DrSmoothl
278a084c23 feat(webui): enhance ConfigSchemaGenerator with field_docs and UI metadata
- Add AttrDocBase.get_class_field_docs() classmethod for class-level field docs extraction
- Merge json_schema_extra (x-widget, x-icon, step) into schema output
- Map Pydantic constraints (ge/le) to minValue/maxValue for frontend compatibility
- Add ge=0, le=1 constraints to ChatConfig.talk_value for validation

Completes Task 1 (including subtasks 1a, 1b, 1c, 1d) of webui-config-visualization-refactor plan.
2026-02-17 17:05:25 +08:00
UnCLAS-Prommer
9186d14100 解决ConfigBase问题,更严格测试,实际测试 2026-01-15 17:05:23 +08:00
UnCLAS-Prommer
13f095f231 使用Sourcery的Test,修复测出来的Bug 2026-01-12 21:48:54 +08:00
UnCLAS-Prommer
207dc460cb ConfigBase and Test 2026-01-12 18:20:03 +08:00
墨梓柒
fe75dad3bb feat:添加对Optional类型的安全检查,禁止多类型Union 2025-12-24 21:59:54 +08:00
墨梓柒
e1c03608c2 feat:支持Union/Optional类型的字段转换,增强配置加载的灵活性 2025-12-24 21:57:35 +08:00
UnCLAS-Prommer
7ef0bfb7c8 完成所有类型注解的修复 2025-07-13 00:19:54 +08:00
github-actions[bot]
1bff478fcc 🤖 自动格式化代码 [skip ci] 2025-07-11 05:19:35 +00:00
github-actions[bot]
243d5184e6 🤖 自动格式化代码 [skip ci] 2025-06-02 13:15:04 +00:00
SengokuCola
2432c8d0ea feat:修复了关键词功能,并且在focus可用 2025-06-02 17:46:03 +08:00
github-actions[bot]
222080f6c4 🤖 自动格式化代码 [skip ci] 2025-05-24 12:29:28 +00:00
SengokuCola
ca55aca750 fix:处理特殊类型 2025-05-24 19:24:34 +08:00
Oct-autumn
021e7f1a97 refactor: 重构配置模块 2025-05-16 16:50:53 +08:00