Commit Graph

352 Commits

Author SHA1 Message Date
BTMuli
c56b05b4f1 检测版本更新
close #231
2026-03-10 12:46:46 +08:00
Copilot
1497533f14 完善非回正模式下的窗口位置&大小处理 (#226)
* ️大幅提升UIGF导入速度 (#225)

* Initial plan

* perf: optimize gacha import with batch transactions and reduced UI delays

- Wrap DB inserts in transactions (batches of 500) for mergeUIGF/mergeUIGF4
- Pre-transform all data before batch insert loop
- Pass timeout: 0 to showLoading.update in progress callbacks
- Remove 1500ms snackbar delay in cleanGachaRecords
- Reduce per-item loading update delay in refreshGachaPool

Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com>

* fix: increment progress counter per item instead of per batch for accurate progress display

Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com>

* Initial plan

* feat: calculate window size based on resolution/scaling with baseline check and centering

- resizeWindow: add baseline check (1920x1080@150%), clamp to screen bounds
- setWindowPos: ensure window fits on screen and always center
- App.vue: use setWindowPos instead of manual positioning, center on deep link show
- tray.rs: center window when showing from system tray

Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com>

* fix: address code review - add zero guard and use setWindowPos consistently

Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com>

* refactor: address review feedback - move baseline to setWindowPos, revert tray.rs

- tray.rs: reverted, center() removed as redundant
- TGWindow.ts: baseline check moved to setWindowPos, resizeWindow restored as fallback
- App.vue: needResize=false → setWindowPos, else → center; deep link reverted;
  handleResizeListen true path unchanged, setWindowPos moved inside else

Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com>

* refactor: use needResize judgment condition (targetZoom/scaleFactor/textScale) in setWindowPos

Replace the simple curSize > screen.size overflow check with the same
condition used by resizeWindow(): targetZoom < 1, which considers
scaleFactor and textScale. Falls back to resizeWindow() when below
baseline or when targetZoom < 1.

Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com>

* 🚸 调整尺寸判断

* 🚸 处理溢出

* 🚸 优化处理

* 🚸 移除冗余scale处理

* 🎨 CodeStyle

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mikachu2333 <63829496+Mikachu2333@users.noreply.github.com>
Co-authored-by: BTMuli <bt-muli@outlook.com>
2026-02-28 17:58:19 +08:00
BTMuli
b3997815e1 🌱 功能预留
#223
2026-02-27 22:48:53 +08:00
BTMuli
b965cccbf1 🚸 处理大小写
close #219
2026-02-26 17:07:10 +08:00
BTMuli
564a0c173a 🚸 移除回正后的焦点处理 2026-02-25 22:21:03 +08:00
BTMuli
e0a74b0e58 🚸 处理最大化 2026-02-25 21:50:15 +08:00
BTMuli
d2ebcca18a 👽️ 更新内置YAE版本支持 2026-02-25 21:44:48 +08:00
BTMuli
6e40784682 检测本体是否启动 2026-02-22 18:03:49 +08:00
BTMuli
be48c32d0d ♻️ 重构祈愿页面数据刷新逻辑 2026-02-17 12:34:43 +08:00
BTMuli
fcd6a6160a ✏️ 修正API路径 2026-02-14 20:53:30 +08:00
BTMuli
451b0b2762 👽️ 替换祈愿数据源为yatta 2026-02-14 20:50:34 +08:00
BTMuli
9be8c78deb 重构UIGF导入导出备份恢复,支持UIGF4.2 2026-02-07 21:24:35 +08:00
BTMuli
3cb0c423a5 🥅 尝试修复 forceRefresh not in 2026-01-21 19:04:21 +08:00
BTMuli
19b2615d6a 🎨 调整检测逻辑,存在时不复制 2026-01-21 18:20:59 +08:00
BTMuli
1eb36bd606 🐛 修复调用参数异常 2026-01-19 12:40:14 +08:00
BTMuli
24e46706ab 🐛 copy前创建目录
close #206
2026-01-18 19:27:14 +08:00
BTMuli
c1ce2def26 ♻️ msix环境下将dll移动到文档目录
#206
2026-01-18 17:30:04 +08:00
BTMuli
9f7763afd9 ♻️ 调整成就排序&搜索逻辑 2026-01-18 01:05:17 +08:00
BTMuli
b136a93464 ♻️ 调整dll移动方式
#206
2026-01-18 00:02:08 +08:00
BTMuli
3a08234a78 🎨 调整解析逻辑 2026-01-17 16:40:50 +08:00
BTMuli
75b6ba40e9 ♻️ 调整解析逻辑,修复部分数据解析异常 2026-01-17 14:02:20 +08:00
BTMuli
422f6231c8 处理 t-link
close #156
2026-01-16 23:30:32 +08:00
BTMuli
7dcbd8204a ♻️ 合并导入 2026-01-15 20:58:55 +08:00
BTMuli
ed4adf20e9 🐛 尝试修复 Document is not focused. 2026-01-14 23:17:07 +08:00
BTMuli
c27a4683ea 🍱 更新6.3版本资源 2026-01-13 23:31:25 +08:00
BTMuli
ecbc8fd7cd ♻️ 获取游戏版本,完善检测 2026-01-13 14:19:32 +08:00
BTMuli
44dd81463b 重置胡桃云密码 2026-01-12 23:26:38 +08:00
BTMuli
62052d126f 下载祈愿数据
close #202
2026-01-12 01:05:11 +08:00
BTMuli
8d541891ae 上传祈愿数据
#202
2026-01-11 22:15:48 +08:00
BTMuli
16f6289b15 ⬆️ 更新依赖 2026-01-11 12:36:31 +08:00
BTMuli
1cbcdbb31d 设置页添加胡桃云相关模块
#202
2026-01-04 16:53:34 +08:00
BTMuli
5834eee6fc 🐛 修复部分帖子获取内容异常 2026-01-04 15:38:59 +08:00
BTMuli
1fa1f2b780 🧑‍💻 调整输出 2026-01-04 03:33:33 +08:00
BTMuli
c3d6997e0f 🔊 调整网络请求log 2026-01-04 02:11:47 +08:00
BTMuli
b020638b99 🚸 调整hint 2026-01-03 19:38:04 +08:00
BTMuli
96ca483ca7 🔊 修正log输出 2026-01-03 01:43:07 +08:00
BTMuli
fba568ead4 💄 数据适配
close #198
2026-01-02 22:49:19 +08:00
BTMuli
0288e38c95 🌱 发送通知 2026-01-02 00:01:30 +08:00
BTMuli
3e31bae751 🚸 移除opt的err输出 2026-01-01 14:21:57 +08:00
BTMuli
8677a5ccb4 🔊 完善网络请求报错 2026-01-01 02:15:57 +08:00
BTMuli
d50dcc34c6 🌱 构建脚本 2025-12-30 02:53:00 +08:00
BTMuli
01cda62231 处理文本放缩
close #192
2025-12-29 21:42:09 +08:00
BTMuli
37a47205b1 🌱 获取卡池抽卡记录
#188
2025-12-27 21:02:35 +08:00
BTMuli
ff49d3175a 🏷️ 类型对齐 2025-12-26 14:59:37 +08:00
BTMuli
7013f2ea18 🐛 修复 wcag-color 无法对比 keyword 导致的渲染异常 2025-12-26 14:23:01 +08:00
BTMuli
651a89145f 🎨 规范化代码 2025-12-24 17:17:40 +08:00
BTMuli
605efacf67 🚸 调整解析逻辑&渲染 2025-12-22 17:39:16 +08:00
BTMuli
a2ff92d00a ♻️ 方法提取 2025-12-22 16:15:23 +08:00
BTMuli
35851532a5 ♻️ 重构xml解析&处理,支持scene切换 2025-12-22 15:38:22 +08:00
BTMuli
bd8ee19b79 🌱 留影叙佳期xml解析 2025-12-22 14:15:43 +08:00