Commit Graph

902 Commits

Author SHA1 Message Date
BTMuli
9cc9918d87 🐛 修正筛选逻辑 2025-12-28 23:49:21 +08:00
BTMuli
f30e396c03 💄 修正排序逻辑,调整顶部样式 2025-12-28 23:17:19 +08:00
BTMuli
e779467034 ♻️ 重构WIKI筛选组件筛选逻辑 2025-12-28 23:06:32 +08:00
BTMuli
bfab4a6ac6 重构角色筛选组件 2025-12-28 22:32:47 +08:00
BTMuli
8ef9132506 💄 微调顶部样式 2025-12-28 18:01:11 +08:00
BTMuli
280b0e6423 🐛 修复isFetterUp监听异常 2025-12-28 17:43:05 +08:00
BTMuli
8a8087d8e1 🚸 增加等级/好感/命座排序 2025-12-28 16:17:34 +08:00
BTMuli
2316bb1fe8 🚸 调整Hakushi获取逻辑 2025-12-28 13:53:40 +08:00
BTMuli
c7c666579a ✏️ 调整引用 2025-12-27 22:04:52 +08:00
BTMuli
37a47205b1 🌱 获取卡池抽卡记录
#188
2025-12-27 21:02:35 +08:00
BTMuli
600149f99b 🏷️ 调整参数类型 2025-12-27 15:09:36 +08:00
BTMuli
90eb4facf9 ♻️ 移除isInAdmin的store 2025-12-27 14:59:15 +08:00
BTMuli
b7ffbf8270 🚸 支持排序,调整默认排序逻辑 2025-12-25 01:22:50 +08:00
BTMuli
b910496477 🌐 处理国际化 2025-12-24 17:55:45 +08:00
BTMuli
651a89145f 🎨 规范化代码 2025-12-24 17:17:40 +08:00
BTMuli
88cd657525 ♻️ 统一uid选取逻辑 2025-12-22 20:24:11 +08:00
BTMuli
605efacf67 🚸 调整解析逻辑&渲染 2025-12-22 17:39:16 +08:00
BTMuli
a2ff92d00a ♻️ 方法提取 2025-12-22 16:15:23 +08:00
BTMuli
86b2dfa184 🏷️ 修正描述 2025-12-22 15:39:31 +08:00
BTMuli
bd8ee19b79 🌱 留影叙佳期xml解析 2025-12-22 14:15:43 +08:00
BTMuli
4b3625527f 左右切换&支持翻页 2025-12-22 11:14:35 +08:00
BTMuli
f8b9500def ♻️ 重构留影叙佳期页面,处理部分文本加载异常 2025-12-21 23:05:57 +08:00
LuoYunXi
696ca40f7f Fix typo (#187)
根据定义「咨讯」应为「资讯」。

News 是「资讯」
而「咨讯」在网络上检索到的定义为 Valuable Information,且现代汉语词典(第 7 版)中未收录该词
2025-12-21 11:26:25 +08:00
BTMuli
b0a95ba46e 支持搜索 2025-12-20 16:55:11 +08:00
BTMuli
00239c26d2 💄 移除冗余样式 2025-12-20 16:48:54 +08:00
BTMuli
6911d61025 💄 合成显示具有材料 2025-12-20 00:36:41 +08:00
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