Commit Graph

14 Commits

Author SHA1 Message Date
康猛 aa526a2868 feat:设备信息绑定 2026-02-03 15:38:29 +08:00
康猛 e320bc29a2 refactor: 移除不必要的代码和调试信息,优化更新检查逻辑 2026-01-29 18:39:29 +08:00
康猛 f402fd4bdf refactor: replace useFavoriteTemplates with useLikesTemplates and update related components
- Replaced the useFavoriteTemplates hook with useLikesTemplates to manage user likes.
- Updated the Index component to load likes instead of favorites.
- Modified the GridItem component to handle likes and update the UI accordingly.
- Adjusted the Sync component to accommodate changes in data structure.
- Removed the useFavoriteTemplates hook as it is no longer needed.
- Increased the page size for template generations from 5 to 12.
- Updated package dependencies to version 1.0.13 for @repo/sdk.
- Added uploadAndConvertToAniUrl utility function for file uploads and conversions.
- Improved error handling and loading states across components.
2026-01-26 18:54:46 +08:00
康猛 633cc91351 chore: update @repo/sdk to version 1.0.11 and remove console logs in use-template-generations hook 2026-01-23 18:42:03 +08:00
康猛 14c84de1ce feat: 添加占位图支持,优化 Img 和 Video 组件,更新 OTA 升级逻辑 2026-01-23 14:21:40 +08:00
康猛 988472bdbd feat: 更新 OTA URL 逻辑,允许安卓在 release 模式下使用明文流量,增加 OTA 升级过程中的日志输出 2026-01-21 18:07:23 +08:00
康猛 68aba3653e feat: 添加 OTA 升级功能,新增 SpinningLoader 和 SyncProgressToast 组件;更新应用版本号和依赖 2026-01-21 14:14:40 +08:00
康猛 56653da1dd feat: 添加设备名称修改功能,优化设备绑定管理;更新存储逻辑以支持新功能 2026-01-13 18:15:40 +08:00
康猛 e4920f3801 feat: 更新设备管理界面,优化蓝牙连接逻辑,增强错误处理;更新应用版本号 2026-01-12 18:58:55 +08:00
康猛 e08061fa21 feat: 更新图片选择器逻辑,增强 BLE 监控错误处理;更新应用版本号;添加 Figma 服务器配置 2026-01-12 13:37:54 +08:00
康猛 5b721ae274 fix: 优化设备断开后的状态清理逻辑;增加文件上传检查 2026-01-09 11:33:12 +08:00
康猛 e7459cc284 feat:: 增强多个组件的 UI 和功能
为 ListEmpty 组件添加图标,改善无数据时的用户体验
更新 BottomNav 组件,当用户未认证时条件性导航到认证页面
在 Generate 和 Sync 组件中实现 useFocusEffect,将未认证用户重定向到认证页面
重构 Index 组件,使用 ListEmpty 显示无数据状态
改善 Sync 和 BleManager 组件中的错误处理和用户反馈
更新 Auth 组件中的认证流程,简化用户登录和注册过程
增强 BleClient 和 BleManager 中的蓝牙连接管理,确保正确的状态处理
调整 fetch logger,在 401 错误时将用户重定向到认证页面
重构 UserStore 使用 makeAutoObservable 以实现更好的状态管理users to the auth page.
- Refactored Index component to utilize ListEmpty for displaying no data state.
- Improved error handling and user feedback in Sync and BleManager components.
- Updated authentication flow in Auth component to streamline user sign-in and sign-up processes.
- Enhanced BLE connection management in BleClient and BleManager to ensure proper state handling.
- Adjusted fetch logger to redirect users to the auth page on 401 errors.
- Refactored UserStore to use makeAutoObservable for better state management.
2026-01-08 20:04:34 +08:00
康猛 78dbdcf817 fix:蓝牙全局单例,test环境变量更新 2026-01-08 14:23:52 +08:00
康猛 232af6c4cd feat: 添加 BLE 管理器,优化蓝牙设备连接和数据传输逻辑;更新状态管理 2026-01-08 12:14:53 +08:00