Commit Graph
20 Commits
Author SHA1 Message Date
cheney 4a04720a5e feat(V0.2): OTA 版本与判新口径 + Tab 结构调整
1) 版本对齐分支
- package.json / tauri.conf.json / Cargo.toml / Cargo.lock: 0.1.0 -> 0.2.0, OTA 包版本变为 0.2.0-ota
- 新增 scripts/ci/check-version.mjs: 分支 dev-x.y 与 package.json 版本不一致时 CI 直接失败
- docker-build.yml / ota-build.yml: min_binary_version 与前端版本解耦, 固定 0.1.0
  (现有 APK 原生层仍是 0.1.0, 抬高会导致旧 APK 收不到更新)

2) 我的页 OTA「开发版本」开关 (默认关, 持久化 localStorage.iboard_ota_dev_mode)
- 关: 按版本号逐字段比较 (src/utils/version.js), 服务端 version 更高才算新
- 开: 按 build sequence 判新 (hotswap checkUpdate), 每次构建都能推到设备
- Web 端: 开发口径退化为版本不同即算新; 生产口径严格比较大小

3) 打卡 Tab 移到最左并默认选中, 移除特效开关
- BottomNav: 打卡/宏观/监控/我; 删除 home 图标
- App: / 与 404 均重定向到 /checkin
- RingProgress/Celebrate: 删除 effectsEnabled/setEffectsEnabled, 特效恒开
- HabitView: 去掉头部「特效开/关」按钮

4) 取消首页 Tab, 报警/新闻并入宏观
- 新增 pages/macro/AlertsView.jsx、NewsView.jsx; 删除 HomePage.jsx
- MacroPage: 6 个子 Tab (油价/经济数据/策略研究/经济文章/报警/新闻), 报警角标保留
- 新闻详情 /news/:id -> /macro/news/:id (宏观 Tab 保持高亮)

5) 文档: 需求文档补 F-OT 需求点与已决策项; 设计文档新增 §10 变更记录与判新设计;
   界面设计.html 11 屏 (Tab 4 项/去掉特效开关/宏观合并/我的 OTA 开关 关+开 两态)
2026-10-22 17:17:29 +08:00
cheney 3140eae7db chore: 版本号统一为 V0.1 (package.json 1.0.0 -> 0.1.0, 与 tauri.conf.json/Cargo.toml 对齐) + readme 补充版本管理约定 2026-10-22 09:59:26 +08:00
jif2.zhang 7b4e59957b 修复容器内 news/oil 定时失效: 运行时镜像携带 scripts/ + axios 转生产依赖 + cron 脚本模块惰性加载降级
Docker Build and Push / build-image (push) Failing after 9m34s
2026-09-21 14:09:18 +08:00
jif2.zhang 8e2c6ffa35 新增米家环境监控模块 (采集/聚合/历史/前端 EnvView) + CI 挂载米家凭证目录并自动应用迁移
Docker Build and Push / build-image (push) Successful in 6m54s
2026-09-21 11:42:58 +08:00
cheney 2fa7c7fc70 remove pagespy
Docker Build and Push / build-image (push) Successful in 4m56s
2026-08-08 18:12:48 +08:00
cheney dbe04b7da3 ota 2026-08-07 09:49:26 +08:00
cheney ac8a4b8cd2 准备切换分支 2026-08-07 09:10:40 +08:00
cheney 4f39f428bd 热加载
Docker Build and Push / build-image (push) Successful in 3m0s
2026-08-06 17:12:32 +08:00
cheney 4d02439ecb 更新首页 2026-08-06 16:41:47 +08:00
cheney 547181d333 更新首页 2026-08-06 15:39:59 +08:00
cheney b10b1c44db 修改数据获取方式 2026-08-06 14:00:11 +08:00
Cheney 7f72bf809b 更换 UI 2026-08-06 09:32:15 +08:00
cheney 28d1b5d1c6 添加调试,网络正常
Docker Build and Push / build-image (push) Successful in 2m45s
2026-08-06 08:58:22 +08:00
Cheney 79341bb8cc save
Docker Build and Push / build-image (push) Successful in 3m16s
2026-08-03 18:09:08 +08:00
cheney d232591a38 添加汇率数据 2026-04-25 19:22:57 +08:00
cheney f9e1471487 save 2026-04-19 08:42:20 +08:00
cheney 4c7f600a6b 增加数据库
Docker Build and Push / build-image (push) Failing after 6m27s
2026-04-09 22:07:23 +08:00
cheney 620e46661f 丰富内容 2026-04-06 09:11:22 +08:00
cheney 03f8eb02a9 中国国债 2026-04-05 07:01:15 +08:00
cheney 2e357cfb25 初始化 2026-04-03 22:00:00 +08:00