Commit Graph

30 Commits

Author SHA1 Message Date
Hermes
ec64ef07d9 fix(icon): 宽松 ShortX 图标库匹配规则,修复图标不显示问题
- 将 APK 扫描正则从 ic_remix_ 放宽到所有 ic_ 开头的图标
- 反射获取 R 时接受所有 ic_ 开头的字段,不再限\u5b9a ic_remix_
- 弹\u7a97\u9009\u62e9\u5668\u589e\u52a0\u9519\u8bef\u63d0\u793a\u548c\u5f3a\u5236\u91cd\u8bd5\u673a\u5236
2026-04-20 17:48:14 +08:00
Hermes
f2714d5101 feat: 调色板改为弹出式 UI,支持图标颜色预览
- 按钮编辑器中调色板改为弹出窗口,不再嵌入表单
- 添加 showColorPickerPopup(),支持图标实时预览着色效果
- 包含 21 色快捷网格、RGB 滑块、透明度滑块
- 选中后自动填回表单
2026-04-20 17:40:04 +08:00
Hermes
273c299ea0 feat: ShortX 图标选择器改为弹出式 UI
- 按钮编辑器中 ShortX 图标选择改为弹出窗口,不再嵌入表单
- 添加 showPopupOverlay() 通用弹窗框架,支持搜索/分类/分页/点选
- 点击选择图标按钮直接打开弹窗,选中后自动填回表单
2026-04-20 17:35:04 +08:00
Hermes
c68f0d1209 fix(ui): 修复 GridLayout.LayoutParams 构造函数参数错误导致设置面板打不开
- GridLayout.LayoutParams 不支持 (width, height) 双参数构造
- 改用无参构造 + 分别设置 width/height 属性
2026-04-20 16:34:19 +08:00
Hermes
b5e7695d1a fix(ui): 将设置面板的图标和颜色选择器改为内嵌式,修复 AlertDialog 在后台无法弹出问题
- ball_shortx_icon: 使用内嵌 ListView + 搜索框替代 AlertDialog
- ball_color: 使用内嵌调色板网格 + 输入框替代 AlertDialog
- 添加展开/收起按钮,与按钮编辑器的交互模式保持一致
- 移除所有 AlertDialog.Builder 调用(在 ShortX 后台服务环境无法显示)
2026-04-20 16:24:20 +08:00
Hermes
f2c80112c1 feat(settings): 设置面板改造,悬浮球图标支持 ShortX 选择器与调色板
- 从设置页面移除“执行与查看器”、“悬浮球文字/大小/颜色”设置项
- BALL_ICON_RES_NAME 改为 ball_shortx_icon 类型,支持弹窗列表+搜索选择 ShortX 图标
- BALL_ICON_TINT_HEX 改为 ball_color 类型,支持调色板选色+手动输入
- 移除无用的 BALL_ICON_PKG 通用文本输入(仅保留 file 路径输入作为兜底)
- 同步更新 README Changelog
2026-04-20 16:10:17 +08:00
Hermes
2bbe9c3609 docs: 添加更新记录(Changelog)
- 按天归档,同一天多次提交合并为一条
- 记录2026-04-20全部更新:自适应布局、分页图标选择器、默认收起、返回信息中文化
2026-04-20 15:26:03 +08:00
Hermes
26e1ebefef docs: 更新 README 图标选择器交互说明
- 取消“切到 ShortX 图标时自动展开图标库”的描述
- 增加“默认收起,点击展开按钮后手动打开”的说明
- 补充选中图标后自动回填并收起的交互要点
2026-04-20 15:19:22 +08:00
Hermes
b61c27ee85 fix(panels): 图标库和调色板默认收起
- 调色板展开状态不再从 saved state 恢复,默认始终收起
- 调色板 body 初始可见性设为 GONE,避免创建时显示
- 移除切换到 ShortX 图标模式时自动展开图标库的逻辑
- 保留展开/收起按钮,用户手动点击才展开
2026-04-20 14:55:08 +08:00
Hermes
ffbbcf647f feat(panels): 常用颜色改为自适应布局,图标选择器分页优化
- 常用颜色网格从固定 4x5 改为根据屏幕宽度自动计算列数
  (与 ShortX 图标列表一致的 adaptive layout)
- 图标浮窗选择器改为翻页模式,按当前可见容量动态分页
- 修复图标选择器关闭后无法再次打开的问题
- 入口返回信息增加中文 msg/syncMsg 及 updatedModules 字段
- 同步更新 README 文档
2026-04-20 14:48:01 +08:00
Hermes Bot
fbb8b6e682 refactor: 常用颜色按色相自动排序 2026-04-20 14:37:37 +08:00
Hermes Bot
4a9aff570c feat: 图标调色板增加 RGB 调色器 2026-04-20 14:26:38 +08:00
Hermes Bot
8d02291a27 feat: 升级图标调色板并移除名称输入 2026-04-20 14:16:09 +08:00
Hermes Bot
4a91b9631f feat: 按钮图标颜色增加快捷色板 2026-04-20 13:55:36 +08:00
Hermes Bot
313688275b refactor: 图标选择器按宽度自动排列 2026-04-20 13:45:37 +08:00
Hermes Bot
6bf2be1bf1 fix: 同步入口 ToolHub.js 与本地版本 2026-04-20 13:38:03 +08:00
Hermes Bot
96275e8028 feat: 优化图标分页选择器与中文返回信息 2026-04-20 13:34:28 +08:00
Hermes Bot
2022c2d1c1 feat: 图标选择器翻页+入口中文摘要
- ToolHub.js: __out 返回添加中文摘要字段(状态/按钮数量/面板布局/日志/崩溃处理/线程模型等)
- th_07_shortcut.js: showIconPicker 改为翻页模式,动态计算每页图标数
- th_07_shortcut.js: 修复关闭后再点击打不开的问题(api.show 不提前设置 state.hidden)
2026-04-20 13:19:31 +08:00
Hermes Bot
034ed61e22 feat: ShortX 图标库选择器 + 入口更新信息返回
- th_07_shortcut.js: 新增 showIconPicker() 多宫格自适应图标选择器
- th_14_panels.js: 按钮编辑器内联图标库改为浮窗选择器
- ToolHub.js: 返回 JSON 新增 updates/errors 字段
2026-04-20 13:07:30 +08:00
root
9ef8bdae40 refactor: replace version-based update with HEAD Last-Modified check
- Remove MODULE_MANIFEST and getFileVersion()
- Add getRemoteLastModified() via HTTP HEAD
- Add getLocalLastModified() / saveLocalLastModified() caching to .lm_* files
- loadScript now checks remote Last-Modified against local cache on every run
- File missing -> download; File exists + remote newer -> download; otherwise skip
- Network failure gracefully falls back to local file
- Entry file no longer needs version bumps when submodules update
2026-04-20 12:41:13 +08:00
root
9b07a888a5 chore: bump version for shell refactor (1.0.0 -> 1.0.1)
- th_01_base.js: 1.0.1 (Base64 decode comment cleanup)
- th_10_shell.js: 1.0.1 (remove Action-first path, keep only broadcast bridge)
- th_11_action.js: 1.0.1 (toast msg update)
- ToolHub.js: MODULE_MANIFEST synced
2026-04-20 12:32:55 +08:00
root
40a60a6912 refactor: remove Action-first shell path, keep only broadcast bridge
- th_10_shell.js: clean up outdated comments, title now 'Shell: broadcast execution'
- th_11_action.js: update toast msg from 'Action + bridge both failed' to 'broadcast bridge send failed'
- th_01_base.js: remove 'Action-first path' reference in Base64 decode comment
- th_16_entry.js already has useActionFirst: false / hasShellCommand: false
2026-04-20 12:29:04 +08:00
root
e375f7d7ba docs: update README for 16-module architecture
- Sync directory tree with new th_01 ~ th_16 file listing
- Update module descriptions and line counts
- Update load order and manifest count (5 -> 16)
- Update deployment notes
2026-04-20 12:11:11 +08:00
root
c7e9b92322 refactor: split th_2_core.js into 12 modules, rename all files to 2-digit numbering
- Split th_2_core.js (4715 lines, 177KB) into:
  th_02_core.js, th_03_icon.js, th_04_theme.js, th_05_persistence.js,
  th_06_icon_parser.js, th_07_shortcut.js, th_08_content.js,
  th_09_animation.js, th_10_shell.js, th_11_action.js,
  th_12_rebuild.js, th_13_panel_ui.js
- Rename existing: th_1_base→th_01_base, th_3_panels→th_14_panels,
  th_4_extra→th_15_extra, th_5_entry→th_16_entry
- Update ToolHub.js MODULE_MANIFEST, modules array, and critical module check
2026-04-20 11:53:13 +08:00
root
c64d4c336b chore: 更新 git 仓库链接 chenziran -> linshenjianlu 2026-04-20 11:03:36 +08:00
root
6b112d011a feat: 更新入口文件与模块 — 自动下载、版本校验、权限管理、日志落盘 2026-04-20 10:40:12 +08:00
root
72702d557b docs: 更新 README — 增加自动下载、版本管理、权限控制、日志系统等说明 2026-04-20 10:29:48 +08:00
a1f684cca9 上传文件至「/」 2026-04-19 23:51:29 +08:00
c9c35bda9b 上传文件至「/」 2026-04-19 23:40:43 +08:00
74628d3b55 上传文件至「code」 2026-04-19 23:32:29 +08:00