Commit Graph

2565 Commits

Author SHA1 Message Date
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
子寻
3b6970d8c3 🚸实用脚本支持一键执行多账号 (#227)
* 💄 标识当前登录账号

*  实用脚本支持一键执行全部账号

* fix: 去除非必要的代码,样式调整

* 😭 图标多好看啊

* 🎨 remove empty line

---------

Co-authored-by: BTMuli <bt-muli@outlook.com>
2026-02-28 13:19:18 +08:00
BTMuli
8fc90d7144 🚸 loading显示区域禁用右键
#221
2026-02-28 11:51:34 +08:00
BTMuli
c716cf79ed 🔒️ 调整用户数据目录选取&旧目录删除 2026-02-28 11:35:53 +08:00
BTMuli
9057e613c7 🚸 调整位置判断 2026-02-28 00:31:31 +08:00
BTMuli
a929e2cbe8 💄 调整最大宽度 2026-02-28 00:14:02 +08:00
Copilot
2d321aad9c ️大幅提升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>
2026-02-27 23:52:15 +08:00
BTMuli
43de734884 💄 样式适配 2026-02-27 23:41:55 +08:00
BTMuli
b3997815e1 🌱 功能预留
#223
2026-02-27 22:48:53 +08:00
BTMuli
52cbfb9f6b 💄 微调位置 2026-02-27 22:41:13 +08:00
BTMuli
6d2d2b18d1 💄 调整展开后的侧边栏宽度 2026-02-27 22:34:57 +08:00
BTMuli
f7df9ec804 🚸 UI适配,修复 .v-application 颜色样式导致分享图生成异常 2026-02-27 22:34:32 +08:00
BTMuli
240356da0a 🚸 调整部分图片缓存策略 2026-02-27 22:22:27 +08:00
BTMuli
57de268f06 💄 处理溢出 2026-02-27 22:08:33 +08:00
BTMuli
3c238a0f0b 💄 移除间距处理 2026-02-27 21:57:24 +08:00
BTMuli
d6dbddaf87 🚸 处理标题可能为空的情况 2026-02-27 11:46:11 +08:00
BTMuli
2a84e25f4a 🐛 处理vuetify4的color-mix导致的分享异常 2026-02-26 23:49:59 +08:00
BTMuli
d1a4b6e97d ️ 采用useTemplateRef获取dom 2026-02-26 23:38:10 +08:00
BTMuli
f4a9069ea4 💄 调整样式 2026-02-26 19:20:39 +08:00
BTMuli
fcc5d3db15 💄 增加可见度
#221
2026-02-26 17:49:09 +08:00
BTMuli
2f19691a57 💄 UI适配 2026-02-26 17:30:36 +08:00
BTMuli
83ddadd451 💄 UI适配
#221
2026-02-26 17:27:53 +08:00
BTMuli
b965cccbf1 🚸 处理大小写
close #219
2026-02-26 17:07:10 +08:00
BTMuli
8b60a7f8dd 🐛 修复脚本页面账号切换异常 2026-02-26 15:41:59 +08:00
BTMuli
04c9907490 💄 调整浅色模式下滚动条可见度
#221
2026-02-26 12:56:16 +08:00
BTMuli
adef358534 💄 修正图标样式 2026-02-26 12:50:32 +08:00
BTMuli
fcdad22d94 💄 移除冗余跳转
#221
2026-02-26 12:44:24 +08:00
BTMuli
bbc142ac2d 💄 替换部分侧边栏图标
#221
2026-02-26 12:35:24 +08:00
BTMuli
7169bc202e 🚸 调整游戏安装目录选取逻辑
close #219
2026-02-26 11:58:56 +08:00
BTMuli
40ffb41f39 🍱 更新武器数据 2026-02-25 23:47:36 +08:00
BTMuli
fe8960687e 💄 调整样式 2026-02-25 23:33:48 +08:00
BTMuli
37882ab4bc 💄 调整垫数显示位置&样式 2026-02-25 22:44:19 +08:00
BTMuli
5d892684b8 🚸 完善输入校验 2026-02-25 22:40:36 +08:00
BTMuli
9b5f30ed22 💄 调整zIdx
close #218
2026-02-25 22:27:09 +08:00
BTMuli
564a0c173a 🚸 移除回正后的焦点处理 2026-02-25 22:21:03 +08:00
BTMuli
60a171f1ca 💄 调整样式 2026-02-25 22:20:19 +08:00
BTMuli
e0a74b0e58 🚸 处理最大化 2026-02-25 21:50:15 +08:00
BTMuli
d2ebcca18a 👽️ 更新内置YAE版本支持 2026-02-25 21:44:48 +08:00
BTMuli
a096bdcae4 🚸 调整取消回正后的窗口位置处理 2026-02-25 21:41:31 +08:00
BTMuli
e5b360b457 💄 回退菜单项合并 2026-02-25 21:21:58 +08:00
BTMuli
608c7834a1 🚸 垫数显示切换 2026-02-25 20:55:11 +08:00
BTMuli
9de79611c3 🍱 更新成就触发条件 2026-02-25 19:26:08 +08:00
BTMuli
a4b4232671 👽️ migrate to vuetify4 2026-02-25 19:13:58 +08:00
BTMuli
f42e6d4c8a 💄 采用swiper 2026-02-25 10:25:41 +08:00
BTMuli
07c45ea9ca 💄 添加图标 2026-02-24 23:16:28 +08:00
BTMuli
6363d8d1a2 🍱 更新6.4版本资源 2026-02-24 22:55:33 +08:00
BTMuli
e3ffbb7ffb 🚸 版本更新后重置反馈按钮显示 2026-02-23 23:20:58 +08:00
BTMuli
8664d46938 ♻️ 重构脚本页面加载&执行逻辑 2026-02-22 18:36:15 +08:00
BTMuli
6e40784682 检测本体是否启动 2026-02-22 18:03:49 +08:00
BTMuli
eb4061748e 🔥 移除无用启动器登录扫码调用 2026-02-22 16:46:06 +08:00