Skip to content

chore: 设置页面注册式写入配置,修改了设置界面的UI - #3

Open
Seren-Xia wants to merge 6 commits into
Cyrenefrom
main
Open

Seren-Xia wants to merge 6 commits into
Cyrenefrom
main

Conversation

@Seren-Xia

Copy link
Copy Markdown
Contributor

Can’t automatically merge.
不能对设置界面的UI更改进行合并,正在重新考虑。

- _slider/_switch 改为左标签右控件 + 底部细线分隔
- _group 分组卡片保留圆角半透明底,子项自带分隔线
- 新增 _settingDivider 细分隔线常量
- 纯 Flutter 单程序回归,移除 Avalonia/IPC 实验

提交 83193eb 已回滚 Avalonia 全部改动
- 导航从左侧 NavigationView 改为顶部 TabView (fluent_ui 原生)
- 5 个核心 tab: 组件库/已放置/外观/AI/其他
- 关于信息并入「其他」页底部
- 材质选择/主题选择/刷新频率/更新源 改用 RadioGroup + RadioButton
- 移除自绘 chip, 全部用 fluent_ui 标准控件
- 编译零错误零警告, 启动运行正常
- 移除 material.dart 导入,全部只用 fluent_ui 原生控件
- 移除 _PanelColors 自定义颜色类,全部走 FluentTheme
- 移除 _group/_slider/_switch/_aiField/_aboutRow/_pathLine 自定义 widget
- 新增 _card/_toggleRow/_sliderRow/_radioRow/_textBoxRow/_infoRow 通用 helper
- 导航用 FluentIcons(library/view/color/chat/settings/info)
- 设置分组用 Card 包裹,标签+控件横向排布
- RadioButton 替代自绘 chip(材质/主题/刷新频率/更新源)
- 所有颜色/间距从 FluentTheme 读取,零硬编码
- 编译零错误,启动运行正常
- Card: 8px 圆角、零阴影、1px cardStroke 边框、cardBackgroundFillColorDefault 背景
- 间距全面对齐微软 4-step token (4/8/12/16/24px)
- 辅助文字 caption 统一 80% 透明度
- 颜色选择器色块使用 theme.resources 背景,尺寸 32px
- _card() helper 强制覆写 CardStyle,禁止裸 Card()
- 移除 material.dart 残留 import
Introduce a typed configuration binding/registry layer for app, AI, and card settings, with a coordinator for debounced persistence and hotkey notifications. The panel now routes settings through that system, and plugin manifest validation was tightened for settings entries. The calendar widget was also adjusted to scale cell size for compact card layouts and avoid overflow. Dependency metadata and lockfile entries were refreshed as part of the update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant