Commit Graph

363 Commits

Author SHA1 Message Date
BTMuli
000cd51dc0 🔥 移除 json-bigint,buffer请求解耦 2026-04-08 17:40:01 +08:00
BTMuli
e67763fa60 ♻️ 将TGHttp标记为弃用 2026-04-08 17:12:57 +08:00
BTMuli
a2985d9719 🚀 0.9.9 2026-04-08 12:05:18 +08:00
BTMuli
211a992022 🌱 尝试迁移部分请求 2026-04-07 22:35:23 +08:00
BTMuli
4b500f6169 🌱 初步创建新请求封装 2026-04-07 21:00:58 +08:00
BTMuli
95ff9ce765 添加游戏配置文件类型定义并优化读取逻辑 2026-03-29 18:47:02 +08:00
BTMuli
38111b6abd 添加帖子详情请求限流
close #233
2026-03-26 06:01:15 +08:00
BTMuli
6445ac4dc1 🩹 修复 ESLint 代码规范错误 2026-03-26 05:11:46 +08:00
BTMuli
b95f0a8f9b ♻️ 重构刷新逻辑,提取获取账号和Cookie的辅助函数 2026-03-26 01:12:35 +08:00
BTMuli
1944f2c55b 🏷️ 优化 Ajv 导入方式 2026-03-25 17:06:46 +08:00
BTMuli
1d810117b0 🚨 修复Sentry报错
TypeError
Cannot read properties of null (reading 'startsWith')
2026-03-13 11:25:25 +08:00
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