Commit Graph

876 Commits

Author SHA1 Message Date
BTMuli
7218b70da4 🔧 调整排序&格式化 2025-12-19 22:46:19 +08:00
BTMuli
4ffcdda093 ♻️ 排序&空数据处理 2025-12-19 21:01:40 +08:00
BTMuli
86013fac72 ♻️ wiki材料项组件提取&UI改版 2025-12-19 18:29:45 +08:00
BTMuli
00c69d1763 💄 调整顶部样式 2025-12-19 17:40:27 +08:00
BTMuli
7e50461ab2 🚸 优化错误处理 2025-12-19 15:46:35 +08:00
BTMuli
11582330b5 💄 调整UI 2025-12-19 01:04:48 +08:00
BTMuli
325457c0dd 🎨 优化性能 2025-12-18 01:40:01 +08:00
BTMuli
8879dfd912 支持手动更新背包记录 2025-12-18 01:34:45 +08:00
BTMuli
66006bb0f9 🐛 修复高度计算异常 2025-12-14 18:40:36 +08:00
Copilot
6cca6e56be 🚸重构千星页面,高度动态计算&活动次数计算共享 (#186)
* Initial plan

* Fix event pool pity count sharing for male/female gacha pools

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Use gachaType for pool filtering and simplify data passing

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Add dynamic height calculation and window resize listener to GbrDataView

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🎨 Code style

* 🚸 没有数据更新时不刷新

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>
Co-authored-by: BTMuli <bt-muli@outlook.com>
2025-12-14 17:23:59 +08:00
BTMuli
a1befe8eff 添加release字段,调整WIKI角色页面排序
close #180
2025-12-14 14:51:16 +08:00
Copilot
7544fa1489 支持托盘 (#181)
* Initial plan

* Add system tray icon feature with show/quit menu

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Apply Rust code formatting

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Address code review feedback: improve documentation and reduce duplication

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Make tray behavior configurable - add closeToTray setting

- Add closeToTray setting in app store (default: false)
- Add UI toggle in PageConfig.vue for "关闭到托盘" setting
- Modify window close handler to emit event instead of always hiding
- Add hide_main_window and quit_app commands in backend
- Frontend listens for close event and respects user preference
- When closeToTray is enabled, window minimizes to tray on close
- When disabled, application quits on close (original behavior)

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Remove duplicate SUB_WINDOW_LABELS constant - use shared constant from lib.rs

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix tray icon issues: remove duplicate tray, add icon loading, close sub-windows on hide

1. Remove duplicate tray icon: Removed trayIcon config from tauri.conf.json (was creating 2 trays)
2. Add proper icon loading: Use image crate to decode PNG and create RGBA icon data
3. Close sub-windows when hiding: Modified hide_main_window to close all sub-windows before hiding
4. Sync with master branch: Merged latest commit c8fe03c

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Address code review: remove anyhow, add separator, improve comments

1. Remove anyhow dependency - Use Tauri's InvalidIcon error instead
2. Add menu separator between "显示窗口" and "退出应用"
3. Add comment explaining image crate necessity (Tauri Image only accepts raw RGBA)
4. Keep HTTPS URLs with note about SSH preference for local development
5. Image crate remains necessary as Tauri doesn't provide PNG decoding

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Revert to SSH URLs for plugin dependencies as requested

Changed all tauri-plugin git URLs from HTTPS to SSH format.
Project CI has SSH configuration, so SSH is the preferred method.

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Use storeToRefs for closeToTray property

Changed closeToTray access to use storeToRefs in both App.vue and PageConfig.vue
for better reactivity and consistency with other store properties.

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>
2025-12-14 14:30:15 +08:00
BTMuli
c8fe03c7ee 🏷️ 修正描述 2025-12-14 12:08:05 +08:00
BTMuli
a36c08aed5 补充itemId 字段
close #183
2025-12-14 02:46:09 +08:00
BTMuli
1b2399822c 从Hakushi获取动态字典
#183
2025-12-14 02:34:21 +08:00
Copilot
53174ffdd7 首页添加游戏签到组件,支持补签 (#182)
* Initial plan

* Add sign-in card component to homepage

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix v-icon usage in sign-in card buttons

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix: Merge new home components into existing localStorage

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Refactor: Remove redundant code in getShowItems

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Add error handling for localStorage parsing

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Redesign sign-in card to show multiple game accounts with compact UI

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix reward item spacing with flex properties

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Redesign sign-in card: grid layout, account switching, light mode fixes

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Add forceReload parameter to prevent unnecessary API calls

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Show multiple game accounts with grid layout and MiHoYo account in append

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Use unique keys and concurrent API requests for better performance

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Refactor sign-in component: split into reusable parts with user switcher

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix sign-in logic: highlight based on count not date, enable resign button

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Remove duplicate code and fix comment

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Add reward cell component, extra rewards support, and improved visual distinction

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🏷️ 添加Store类型,调整首页选项框宽度

* 🏷️签到 → 游戏签到

* ♻️ 首页组件重构,支持组件分享

* ♻️ 调整组件UI

* 💄 调整loading标题文本大小

* 💄 微调样式

* Refactor sign-in component: sequential loading, progress bar, internal data processing

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix code review issues: correct gameInfo reference and add refresh event

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🎨 调整逻辑

* Refactor: self-contained data updates and numeric state enums

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🚸 调整排序逻辑

* 🚸 调整loading文本

* ✏️ 调整类型,修复打包失败

* ♻️ 添加补签相关请求

* 💄 调整脚本页布局

* 💄 调整首页布局

* Implement resign feature with local data updates and confirmation dialog

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* ✏️ 补充类型描述

* Fix resign logic: check is_sub, optimize resign info loading, improve success message

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🎨 调整逻辑,微调样式

* 🎨 调整唤起位置

* Add click handlers to reward cells for sign-in and resign actions

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🐛 对ID进行限制

* 💄 微调顶部gameNav样式

* Fix resign logic: only first missed day is clickable

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🎨 放宽补签限制

* 🐛 修正删除逻辑判断

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>
Co-authored-by: BTMuli <bt-muli@outlook.com>
2025-12-14 02:01:26 +08:00
BTMuli
16af3dcd24 ♻️ 支持空存档 2025-12-11 18:05:59 +08:00
BTMuli
073cd5e35d 👽️ 更新用户活动日历处理 2025-12-11 17:24:19 +08:00
BTMuli
abe34b8ee5 💄 深境螺旋UI迭代 2025-12-11 16:13:14 +08:00
BTMuli
a1dca3a1cc 💄 微调 2025-12-09 17:50:09 +08:00
BTMuli
cc2020c64e ♻️ Yae数据传递移至App层,重构命令处理逻辑 2025-12-09 16:43:32 +08:00
BTMuli
17690bb024 参考材料WIKI完善背包物品处理 2025-12-09 14:35:00 +08:00
BTMuli
eafd2fdff8 🌱 修复数据库读取异常,页面草创 2025-12-09 01:41:22 +08:00
BTMuli
7008aa5604 💄 适配资源 2025-12-08 22:56:31 +08:00
BTMuli
06c0253bb2 🎨 微调 2025-12-06 23:23:27 +08:00
BTMuli
2ca77b9944 重构真境剧诗页面UI,优化组件结构与样式 2025-12-06 20:57:03 +08:00
BTMuli
3477ca2962 💩 暂时隐藏内置祈愿页面 2025-12-04 18:06:07 +08:00
BTMuli
46cf40734f 🐛 修复成就数据读取异常 2025-12-03 18:53:35 +08:00
BTMuli
98efd557d6 🚸 完善奇偶处理 2025-12-02 23:04:10 +08:00
BTMuli
c2ea3cf026 🐛 修复左侧列表顺序异常 2025-12-02 22:51:20 +08:00
BTMuli
b267599039 🐛 修复重启异常 2025-12-02 11:37:37 +08:00
BTMuli
51ce0217f0 💩 release模式下重启不一定成功 2025-12-02 02:03:25 +08:00
BTMuli
a12a12e786 🚨 修复部分异常 2025-12-02 00:37:00 +08:00
BTMuli
38f3301664 完成成就导入 2025-12-02 00:37:00 +08:00
BTMuli
14c47369e7 🌱 尝试检测管理员&以管理员模式重启 2025-12-02 00:37:00 +08:00
BTMuli
aca47f822b 实现成就数据读取 2025-12-02 00:37:00 +08:00
BTMuli
93cca5f715 🌱 初步建立pipe&成功调用dll 2025-12-02 00:37:00 +08:00
BTMuli
b5e4b013c9 🚸 调整hint 2025-11-22 17:35:08 +08:00
BTMuli
dcc0d7d052 💄 增加浅色模式下的可见度 2025-11-22 01:15:25 +08:00
BTMuli
dce90b64a6 💄 增加浅色模式下的可见度 2025-11-22 01:07:49 +08:00
BTMuli
260e9ce4dd 🐛 修复无法手动关闭验证弹窗 2025-11-21 17:17:49 +08:00
BTMuli
0ba4690085 🚸 调整UI显示 2025-11-21 14:59:43 +08:00
BTMuli
1f4248bde8 ✏️ 修正文本错误 2025-11-19 16:32:02 +08:00
BTMuli
ae7b4acb88 🚸 执行脚本时不允许切换账号 2025-11-19 14:33:20 +08:00
BTMuli
d96d451156 👽️ 调整读取格式 2025-11-19 13:50:47 +08:00
BTMuli
68809a93c6 支撑导入剧诗数据 2025-11-18 22:51:32 +08:00
BTMuli
0edcadef63 👽️ 移除剧诗概览,支撑导入剧诗数据 2025-11-18 22:42:46 +08:00
BTMuli
9f9c30914f 🔥 移除胡桃深渊统计页面 2025-11-18 22:29:24 +08:00
BTMuli
6617a26c90 👽️ 移除深渊上传,支撑导入胡桃深渊数据 2025-11-18 22:20:58 +08:00
BTMuli
d74e7a7a31 🥅 处理异常,清除缓存后重启 2025-11-15 14:54:06 +08:00