Commit Graph

92 Commits

Author SHA1 Message Date
7015725
49d73786bf fix: 修复主题模板在设置页预览时不生效的问题
根因: applyThemeTemplate 读/写 this.config,但设置页预览
走的是 pendingUserCfg(临时编辑缓存),模板值在选择后只写入了
pendingUserCfg.THEME_TEMPLATE,applyThemeTemplate 读 this.config
则一直为 system/d 返回,导致模板不生效。

修复:
- applyThemeTemplate 接受 preview 参数,预览态从 pendingUserCfg
  读写,非预览态从 this.config 读写
- getPanelBgColorInt/getPanelTextColorInt 预览态优先从
  pendingUserCfg 读取那4个颜色配置
2026-05-15 02:00:25 +08:00
7015725
d2abbcca9f fix: schema 完整性检测添加 THEME_TEMPLATE 字段
旧设备上持久化的 schema.json 不含 THEME_TEMPLATE 项,
导致设置页的换装分组不显示主题模板选择器。
在 needReset 检测中补充该字段,触发旧 schema 自动重置。
2026-05-15 01:56:58 +08:00
7015725
d8a25aced9 feat: 添加主题模板一键切换功能
- 新增 THEME_TEMPLATE 配置项(system/animal/ocean/sunset/forest/mono)
- 新增 getThemeTemplate() 模板颜色映射
- 新增 applyThemeTemplate() 自动填充面板背景/文字色
- getPanelBgColorInt/getPanelTextColorInt 支持模板覆盖
- 设置页换装分组新增单选选择器
2026-05-15 01:54:40 +08:00
7015725
bba3d800af style: refine island settings home 2026-05-14 23:30:38 +08:00
7015725
7079b633bb style: soften balloon settings page 2026-05-14 23:24:48 +08:00
7015725
8907a2d5d8 style: soften animal island ToolApp copy 2026-05-14 23:17:09 +08:00
7015725
edb26dc593 feat: apply animal island style to ToolApp 2026-05-14 22:28:51 +08:00
7015725
b9409c9056 refactor: prioritize OnBackAnimationCallback 2026-05-14 18:44:57 +08:00
7015725
c92606246e fix: register ToolApp back animation after attach 2026-05-14 18:33:03 +08:00
7015725
47ca2f782f fix: stop fallback strips blocking system back 2026-05-14 18:28:56 +08:00
7015725
2b55e2bdd4 style: refresh ToolApp visual back experience 2026-05-14 18:23:31 +08:00
7015725
f1e2ab7c37 fix: register ToolApp animated back callback 2026-05-14 03:22:14 +08:00
7015725
a8cd7c193d fix: capture screen edge back for ToolApp 2026-05-14 03:10:25 +08:00
7015725
f8463490e1 fix: show ToolApp preview during system back gesture 2026-05-14 03:04:35 +08:00
7015725
65367f0d06 feat: add interactive ToolApp back preview 2026-05-14 03:00:15 +08:00
7015725
1d31638073 fix: add ToolApp edge swipe back fallback 2026-05-14 02:51:46 +08:00
7015725
e394a0f078 Remove duplicate inline color palette 2026-05-13 18:28:06 +08:00
7015725
3d0e57e813 Match ShortX icon picker with settings UI 2026-05-13 18:21:55 +08:00
7015725
b9d3dc89da style: simplify button editor section descriptions 2026-05-13 18:10:07 +08:00
7015725
7fd1430207 fix: add bottom gap to button manager footer 2026-05-13 08:32:06 +08:00
7015725
a5ecbec23b fix: keep button manager footer visible 2026-05-13 08:27:51 +08:00
7015725
e9b6052c6a style: apply minimal button management layout 2026-05-13 08:21:12 +08:00
7015725
648b45585a style: simplify button manager layout 2026-05-13 08:15:45 +08:00
7015725
3b6830e0ec style: polish button manager and editor layout 2026-05-13 07:38:48 +08:00
7015725
09f2aa4d07 feat: adapt ToolApp size to screen 2026-05-13 07:31:28 +08:00
7015725
080cb9abf7 refactor: keep ToolApp as single root view 2026-05-13 07:27:39 +08:00
7015725
2a53c872eb fix: show predictive back affordance for settings overlay 2026-05-13 07:20:26 +08:00
7015725
efb14bcde0 feat: support predictive back gesture 2026-05-12 20:43:42 +08:00
7015725
c4b886f83d style: refine button icon appearance editor 2026-05-12 20:32:08 +08:00
7015725
53967f77d2 feat: add collapsible button editor sections 2026-05-12 20:17:11 +08:00
7015725
46393fe9ba Revert "feat: split button editor into app subpages"
This reverts commit 5a4e3f6423.
2026-05-12 20:10:23 +08:00
7015725
5a4e3f6423 feat: split button editor into app subpages 2026-05-12 20:01:45 +08:00
7015725
c1643924b7 feat: app-style button manager page 2026-05-12 19:11:29 +08:00
7015725
c41e1479b9 feat: app-style ToolHub settings home 2026-05-12 17:31:02 +08:00
7015725
ea72f6b2eb fix: keep ToolHub app stack state on editor return 2026-05-12 11:06:54 +08:00
7015725
a0b6b92f57 feat: introduce ToolHub settings page stack 2026-05-12 10:47:13 +08:00
7015725
7b7fbdf9cf fix: handle system gestures for ToolHub panels 2026-05-12 10:24:30 +08:00
7015725
5c95d04fab feat: add system navigation button actions 2026-05-12 10:16:31 +08:00
7015725
0037aefcb7 fix: improve ToolHub startup and cleanup stability 2026-05-12 10:00:32 +08:00
7015725
7ce5ebeda8 polish: simplify ToolHub startup output 2026-05-07 23:52:33 +08:00
7015725
726ed4465a security: harden ToolHub update trust model 2026-05-07 23:46:46 +08:00
7015725
fdd896aca5 security: verify signed manifest before module updates 2026-05-07 23:25:41 +08:00