Commit Graph

381 Commits

Author SHA1 Message Date
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
a2ff92d00a ♻️ 方法提取 2025-12-22 16:15:23 +08:00
BTMuli
bd8ee19b79 🌱 留影叙佳期xml解析 2025-12-22 14:15:43 +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
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
00c69d1763 💄 调整顶部样式 2025-12-19 17:40:27 +08:00
BTMuli
325457c0dd 🎨 优化性能 2025-12-18 01:40:01 +08:00
BTMuli
8879dfd912 支持手动更新背包记录 2025-12-18 01:34:45 +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
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
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
46cf40734f 🐛 修复成就数据读取异常 2025-12-03 18:53:35 +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
1f4248bde8 ✏️ 修正文本错误 2025-11-19 16:32:02 +08:00
BTMuli
d74e7a7a31 🥅 处理异常,清除缓存后重启 2025-11-15 14:54:06 +08:00
BTMuli
56df920a7d 嵌入官方公告页面(已登录) 2025-10-24 16:15:05 +08:00
BTMuli
01e355b0d6 千星奇域抽卡记录获取 2025-10-23 23:09:58 +08:00
BTMuli
c40b3c6ff0 👽️ 公告添加千星奇域分类 2025-10-23 22:40:30 +08:00
BTMuli
41a144fec2 🚸 优化图片调整浮窗样式 2025-10-08 11:49:47 +08:00
BTMuli
ed878dea9e 💄 微调样式 2025-09-27 21:40:23 +08:00
BTMuli
86dfc134dc 💄 微调样式 2025-09-24 19:54:58 +08:00
BTMuli
6a5b65134e 动态处理游戏卡片组件 2025-09-19 15:01:57 +08:00
BTMuli
de412a1fd6 💄 调整帖子卡片样式 2025-09-18 16:16:15 +08:00
BTMuli
f0555d69bb 🚸 处理话题desc溢出 2025-09-17 15:24:45 +08:00
BTMuli
25dcb86818 🌱 获取近期活动 2025-09-04 17:25:04 +08:00
BTMuli
f8f08cf048 💄 修复渲染异常 2025-07-02 11:49:48 +08:00
BTMuli
8f4d3d2285 🚸 话题列表页触底加载 2025-06-25 23:05:40 +08:00
BTMuli
d3ab4fb6dc ♻️ 调整服务器类型归属 2025-06-25 20:23:18 +08:00
BTMuli
ca1465f43a 🚸 调整加载顺序 2025-06-15 17:34:39 +08:00