Compare commits

..

156 Commits

Author SHA1 Message Date
BTMuli
f3428f3a41 🚀 v0.3.8 2023-12-20 11:36:57 +08:00
BTMuli
d863f6198e 🍱 补充部分 contentId
close #66
2023-12-20 11:34:04 +08:00
BTMuli
a461fb9a00 🚨 修复 eslint 报错 2023-12-20 00:54:15 +08:00
BTMuli
568b0b5db7 ♻️ 公告页的窗口创建逻辑也顺便改一下 2023-12-20 00:50:41 +08:00
BTMuli
0d5d77e2bd ✏️ 简化类型定义 2023-12-20 00:28:10 +08:00
BTMuli
369d62f4e7 🐛 修复一些 bug
* 部分武器描述存在 \n 导致的渲染错误
* 传入参数类型与定义类型不一致导致控制台 warn
2023-12-20 00:23:46 +08:00
BTMuli
7a36ab6665 ♻️ 复用方法提出来,暂时砍掉数值渲染 2023-12-19 21:20:38 +08:00
BTMuli
bc50acb813 💄 完善 wiki 页面样式 2023-12-19 19:45:17 +08:00
BTMuli
43732578cd ✏️ 类型修正 2023-12-19 18:14:17 +08:00
BTMuli
a04bdee7cb 🌱 角色 wiki 命座样式优化,技能样式草创 2023-12-19 18:11:10 +08:00
BTMuli
1d4621843a 🌱 角色 wiki 材料组件化,命座样式草创 2023-12-19 17:44:20 +08:00
BTMuli
4ca76b168e 💄 调整样式 2023-12-19 17:00:59 +08:00
BTMuli
b00c8b424d ️ 调整 ci 2023-12-18 22:44:07 +08:00
BTMuli
48159aa483 💄 弹窗改为弹出框 2023-12-18 22:05:16 +08:00
BTMuli
5a95fc1eda 🍱 更新 wiki 所需素材 2023-12-18 21:09:15 +08:00
BTMuli
5f95299cf2 🍱 更新角色、武器、素材日历资源 #66 2023-12-18 20:51:31 +08:00
BTMuli
e8734c8483 🍱 更新名片数据 #66 2023-12-18 20:40:18 +08:00
BTMuli
2d65608674 🍱 更新成就 json #66 2023-12-18 20:36:14 +08:00
BTMuli
df5d22d39b ♻️ 窗口创建逻辑变更 2023-12-18 18:34:25 +08:00
BTMuli
8a409f3e9b 🐛 修复帖子跳转异常 2023-12-18 18:24:01 +08:00
BTMuli
430a703c2d 👷 调整 ci 2023-12-18 16:39:51 +08:00
BTMuli
0a33f468a3 🐛 调整不存在时的默认 id 2023-12-18 13:53:55 +08:00
BTMuli
dced5755da 🚚 目录结构调整 2023-12-18 13:42:50 +08:00
BTMuli
842ba3221d 🚚 0星背景与1星相同 2023-12-18 11:34:31 +08:00
BTMuli
05c90e16ad 🍱 初步更新卡牌资源 #66 2023-12-18 11:32:48 +08:00
BTMuli
dd7db68f57 🌱 完善角色 wiki,移除 share 2023-12-18 00:37:38 +08:00
BTMuli
f20622b55c 🔧 允许置顶 2023-12-17 23:43:51 +08:00
BTMuli
762d096f28 💄 修复材料 star 为 0 时的渲染错误 2023-12-17 23:39:53 +08:00
BTMuli
39e33d4dcf 🚚 优化目录结构 2023-12-17 23:09:24 +08:00
BTMuli
7aefd4ebb8 🌱 添加 wiki 需要的 icon 资源 2023-12-17 22:59:33 +08:00
BTMuli
759c585612 🚨 修复 qodana 报错 2023-12-17 22:36:38 +08:00
BTMuli
4370bbaa57 ♻️ userStore 及 cookie 相关类型重构 #51 2023-12-16 22:46:02 +08:00
BTMuli
00386bc7ee ️ 完善 getCookieToken 回调 2023-12-16 21:11:42 +08:00
BTMuli
497c126263 支持打开酒馆内的帖子 2023-12-16 17:41:56 +08:00
BTMuli
1f5daab03f 添加菜单项 2023-12-16 17:25:33 +08:00
BTMuli
154a9183bf 添加菜单项 2023-12-16 17:14:26 +08:00
BTMuli
11fa30bd4f 🔇 清除调整一些 log 2023-12-16 16:40:42 +08:00
BTMuli
02398e3d63 ️ 仅在主窗口添加米社回调处理 2023-12-16 16:04:30 +08:00
BTMuli
5f26e8c01d 🩹 增加两个链接重定向
*旧原神签到页面→新签到页面
*旧原神工具箱→新原神工具箱
2023-12-16 16:03:15 +08:00
BTMuli
cba947ffc8 🐛 修复表情包解析错误
*PostID: 46566582
2023-12-16 00:03:29 +08:00
BTMuli
33a56385d1 ️ 报存 → 保存 2023-12-15 20:53:21 +08:00
BTMuli
7cd8b6ffd9 🎨 保存逻辑调整,取消保存到文件仍可保存到剪贴板 2023-12-15 20:26:38 +08:00
BTMuli
e8432e705b 🐛 修复 UIGF 导出格式错误
fix #71
2023-12-15 19:21:25 +08:00
BTMuli
6e6648f652 ✏️ 部分武器(芙宁娜专武)可能有两个故事 2023-12-15 18:52:36 +08:00
BTMuli
a9f80da053 🌱 添加 wiki 武器类型相关 2023-12-15 18:31:42 +08:00
BTMuli
dffb1475f8 🎨 完善基本的加载处理 2023-12-15 17:28:45 +08:00
BTMuli
49a47a16ee 🌱 添加 wiki 窗口创建逻辑 2023-12-15 17:10:15 +08:00
BTMuli
39cc07694a 🌱 添加 wiki 角色类型相关 2023-12-15 17:00:24 +08:00
BTMuli
2df65515a4 🐛 打了一个补丁,问题肯定还是有的x 2023-12-15 15:08:16 +08:00
BTMuli
058ad8cd8e 🐛 修复拼写错误 2023-12-15 15:06:05 +08:00
BTMuli
01ea7fa4db 🐛 参数搞错了x 2023-12-15 14:18:24 +08:00
BTMuli
56efbcf583 🐛 完善 mihoyobbs: protocol 处理 2023-12-15 13:23:34 +08:00
目棃
f0fc0ecd81 Merge pull request #70 from BTMuli/dependabot/cargo/src-tauri/zerocopy-0.7.31
Bump zerocopy from 0.7.30 to 0.7.31 in /src-tauri
2023-12-15 12:52:16 +08:00
dependabot[bot]
c438c07483 Bump zerocopy from 0.7.30 to 0.7.31 in /src-tauri
Bumps [zerocopy](https://github.com/google/zerocopy) from 0.7.30 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases)
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/zerocopy/compare/v0.7.30...v0.7.31)

---
updated-dependencies:
- dependency-name: zerocopy
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 03:57:00 +00:00
BTMuli
86f7838578 🐛 修复一些 bug
* 天赋为 0 时设为 1
* 修正签到 url
2023-12-15 00:49:45 +08:00
BTMuli
3337cfbf6d deviceInfo 保存到数据库 2023-12-14 21:51:31 +08:00
BTMuli
3844e36fdb ✏️ 类型修正以避免报错 2023-12-14 18:04:50 +08:00
BTMuli
2f9fb30026 🙈 更新 ignore 2023-12-14 18:01:40 +08:00
BTMuli
125ecee943 🌱 图鉴页面开始动工? 2023-12-14 17:58:54 +08:00
BTMuli
6d3c03516f 添加实时便笺快捷入口 2023-12-14 15:22:16 +08:00
BTMuli
833bffba4f 🎨 微改
*侧边栏酒馆 → 帖子
*完善对于 protocol 的判断
2023-12-14 00:32:03 +08:00
BTMuli
cc73997da0 完善分享回调
*增加对于 content.image_base64 的处理
*完善 preview:true 的 dom 判断
2023-12-14 00:27:44 +08:00
BTMuli
07dc2a4f66 完善回调
*增加对于 openApplication 的处理
*支持 screenshot 类型的 share
2023-12-13 23:15:06 +08:00
BTMuli
19c6f265a9 🐛 增加对于 eventTrack 的回调处理
*修复战绩跳转游戏带来的异常
2023-12-13 21:14:25 +08:00
BTMuli
e3c74dc237 🧑‍💻 调整顺序 2023-12-13 20:13:19 +08:00
BTMuli
ffe96e86cd 🔧 避免 a 调用系统浏览器 2023-12-13 18:34:07 +08:00
BTMuli
c2306ed5d7 ♻️ 重构链接识别处理 2023-12-13 18:06:22 +08:00
BTMuli
e9d1d70d36 ️ revert 0141012f,保留必要快捷入口
*签到页用于签到
*战绩页用于1034
*酒馆页用于米社跳转
2023-12-13 16:02:44 +08:00
BTMuli
4664e567db 💄 移除对于 pendant div的裁切 2023-12-13 15:48:53 +08:00
BTMuli
9ad20640e6 🐛 修复文本过长导致的渲染溢出
*PostID:46427968
2023-12-13 15:42:14 +08:00
BTMuli
86c87344ea 💄 -webkit-backdrop-filter 2023-12-12 22:12:56 +08:00
BTMuli
845bcdaae0 🔧 忽略 -webkit-backdrop-filter 2023-12-12 22:12:03 +08:00
BTMuli
a7c7a533db 🐛 修复 macOS 闪退问题
fix #69
2023-12-12 17:51:41 +08:00
BTMuli
0defb65115 🌱 尝试修复 macOS 闪退问题 #69 2023-12-12 15:00:32 +08:00
BTMuli
5dc8c3b7c3 🐛 修复引用错误 2023-12-12 14:50:16 +08:00
BTMuli
888f1f2bdd ️ 增加目录存在判断 2023-12-12 13:53:32 +08:00
BTMuli
57e055ebe8 ♻️ 重构登录态校验 2023-12-12 13:49:18 +08:00
BTMuli
d5beea5c2d ⬆️ 更新依赖 2023-12-12 13:48:21 +08:00
BTMuli
17b0d75d21 🚀 v0.3.7 2023-12-11 19:14:32 +08:00
BTMuli
e973ac41fa 💚 调整 CI 2023-12-11 19:13:55 +08:00
BTMuli
30a97e9973 🚸 完善链接解析 2023-12-11 15:52:38 +08:00
BTMuli
07e944859c 🗑️ 增加几个 callback 处理 2023-12-11 15:49:41 +08:00
BTMuli
17744cc01d ♻️ 重构 pushPage、closePage 逻辑 2023-12-11 15:05:30 +08:00
BTMuli
cfc1f65e3e 🐛 完善链接识别 2023-12-11 01:08:44 +08:00
BTMuli
0965524003 ♻️ 优化切分正则
*PostID: 46252606
*thanks @Lightczx
2023-12-10 20:55:06 +08:00
BTMuli
d4818448b5 🚨 修复 qodana 报错 2023-12-10 20:47:34 +08:00
BTMuli
3ff37fcc83 📝 添加帖子获取说明 2023-12-10 16:38:55 +08:00
BTMuli
838fefac6a ️ 添加 hover 效果 2023-12-10 16:30:37 +08:00
BTMuli
0141012f55 🔥 移除侧边栏点击菜单,可通过新页面打开 2023-12-10 16:20:49 +08:00
BTMuli
347b3ed13d 🔧 完善链接识别 2023-12-10 16:16:46 +08:00
BTMuli
8c50da61b1 🗑️ loadMore 2023-12-10 16:03:07 +08:00
BTMuli
5395304431 💄 修复大别野卡片渲染错误,调整大别野卡片样式 2023-12-10 15:07:07 +08:00
BTMuli
39713bf5d3 添加帖子ID输入 2023-12-10 14:42:49 +08:00
BTMuli
771505b527 🔥 移除首页 emoji 下载 2023-12-10 13:20:59 +08:00
BTMuli
1a381916a5 👔 完善对于链接的判断逻辑 2023-12-10 13:20:12 +08:00
BTMuli
1d0b070451 🐛 修复表情包渲染错误,缺乏时自动下载 2023-12-10 13:12:48 +08:00
BTMuli
9a18fa8e42 🌱 添加应用“发现”接口 2023-12-09 21:18:31 +08:00
BTMuli
7164c7caf2 🔥 删除无用 css
close #64
2023-12-09 20:50:02 +08:00
BTMuli
aeb49dabb2 💄 修复描述过长导致的渲染错误 2023-12-09 20:40:03 +08:00
BTMuli
1ccb99dd1b 完成多游戏多频道多排序帖子获取
close #67
2023-12-09 17:29:13 +08:00
BTMuli
f998ba21b3 💄 增加深色模式下的辨识度 2023-12-09 17:27:53 +08:00
BTMuli
5406e10922 🐛 修复公告标题显示 <br> 的问题 2023-12-09 15:39:22 +08:00
BTMuli
527093b982 🚸 默认最新回复 2023-12-09 15:31:52 +08:00
BTMuli
7b34124cd2 Revert " 打包测试"
This reverts commit 6151d13b96.
2023-12-09 14:06:57 +08:00
BTMuli
3bf48561a1 ️ 避免搞混 2023-12-09 14:04:14 +08:00
BTMuli
c24ae38294 👷 增加 macOS arm 安装包
close #68
2023-12-09 14:00:00 +08:00
BTMuli
e94e3a6821 打包测试x3 2023-12-09 13:44:14 +08:00
BTMuli
ad55e56651 打包测试x2 2023-12-09 13:14:41 +08:00
BTMuli
6151d13b96 打包测试 2023-12-09 12:48:14 +08:00
BTMuli
dbf2ed4a56 💚 增加参数 2023-12-09 12:47:12 +08:00
BTMuli
624970aa57 🩹 MacOS → macOS 2023-12-09 12:42:33 +08:00
BTMuli
4c480d1fa2 👷 macOS 平台打包成 universal #68 2023-12-09 12:39:50 +08:00
BTMuli
4880e6bb8e 🌱 仿照咨讯页写了个酒馆页面 #67 2023-12-09 00:52:11 +08:00
BTMuli
7d142d02b3 ✏️ 适应 api 返回更新数据类型 2023-12-09 00:19:43 +08:00
BTMuli
df06d7aba0 💄 调整应用标识样式 2023-12-08 17:21:08 +08:00
BTMuli
b01e4e680f 💄 修复分享图生成错误 2023-12-08 17:15:26 +08:00
BTMuli
be3d49566d 🐛 插入 obj,自动转为 unknown 2023-12-08 16:58:43 +08:00
BTMuli
9aac81cbc4 🌱 video 缺乏数据源 2023-12-08 13:28:23 +08:00
BTMuli
e61f9519db 👷 调整参数 2023-12-08 13:19:19 +08:00
BTMuli
48f6d95c7a 🎨 修正一些小错误 2023-12-08 13:17:58 +08:00
BTMuli
0cb68dfe6f ✏️ 结构化数据类型分解 #51 2023-12-08 13:10:09 +08:00
BTMuli
1df568e26a 🔥 弃用旧渲染方式 #64 2023-12-08 13:03:42 +08:00
BTMuli
e249b5e956 🐛 修复默认画质错误,调整 aspect-ratio 2023-12-08 12:38:31 +08:00
BTMuli
c9370b0a22 📝 增加第三方组件说明 2023-12-07 15:25:20 +08:00
BTMuli
32691c6c92 🙈 删除过时 submodule 2023-12-07 15:24:46 +08:00
BTMuli
68edc6bcab 🙈 忽略图像文件 2023-12-07 15:23:42 +08:00
BTMuli
a800ed532d 💄 添加折叠框 icon 2023-12-07 15:08:35 +08:00
BTMuli
0bb730d2e3 💄 帖子增加应用标识 2023-12-07 14:08:04 +08:00
BTMuli
fcb5f94656 ✏️ 修正 vod.id 类型 2023-12-07 13:57:03 +08:00
BTMuli
3883f9880a 🐛 修复一些问题
*无法实例化多个Artplayer
*生成图 div 无实际占位
2023-12-07 13:51:08 +08:00
BTMuli
919baca46c 👷 适应 pnpm 进行切分 2023-12-07 13:19:29 +08:00
BTMuli
2e63d310af ♻️ 优化逻辑,完善大小计算 2023-12-07 12:57:37 +08:00
BTMuli
64ee8a36dc ️ 完善组件样式
*完善活动链接识别
*调整特殊文本偏移
*调整链接卡片图片宽度
*大别野卡片样式重构
2023-12-07 01:23:55 +08:00
BTMuli
71d7337384 完善 share 回调 2023-12-07 00:17:59 +08:00
BTMuli
389acf19fe ♻️ 优化代码 2023-12-06 23:35:34 +08:00
BTMuli
f55f4116d5 🐛 canvas 超过 80MB 时不予保存,超过 20MB 时给予提示 2023-12-06 23:31:31 +08:00
BTMuli
68b84d2bc7 ️ 全屏播放视频,默认最高清晰度 2023-12-06 23:28:51 +08:00
BTMuli
669dec73ba ️ 移除遮罩,自动聚焦 2023-12-06 22:15:53 +08:00
BTMuli
03b83ba2d1 ️ 完善组件样式 #64
*优化换行符渲染
*增加网页活动识别
*调整折叠文本样式
*限制最大宽度而非写死宽度
2023-12-06 20:30:14 +08:00
BTMuli
0f07f8c031 ️ 添加播放次数 2023-12-06 19:43:02 +08:00
BTMuli
3b08dd9a14 ✏️ 更新互动类型 2023-12-06 19:24:27 +08:00
BTMuli
f11c1ef984 🎨 默认采用新渲染方式 2023-12-06 18:11:50 +08:00
BTMuli
d271444610 采用 Artplayer #64 2023-12-06 18:10:40 +08:00
目棃
d9fa158076 Merge pull request #65 from BTMuli/dependabot/npm_and_yarn/vite-5.0.5
Bump vite from 5.0.3 to 5.0.5
2023-12-06 15:21:20 +08:00
dependabot[bot]
e08f37b89e Bump vite from 5.0.3 to 5.0.5
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 23:55:25 +00:00
BTMuli
7ba2011b35 🚨 修复 qodana 报错 2023-12-03 18:02:45 +08:00
BTMuli
cab0c9a9c8 大概完成渲染方式重构,点击标题切换
#64
2023-12-03 00:34:59 +08:00
BTMuli
885a8b22da ️ 完善 linkCard 解析样式 2023-12-03 00:23:06 +08:00
BTMuli
b5eec739e7 🌱 完成 mention,backupText,linkCard 类型的解析组件化 2023-12-03 00:06:05 +08:00
BTMuli
3640a43fa7 💄 完善样式 2023-12-02 23:54:38 +08:00
BTMuli
bb58e6ef03 🌱 完成 image,divider,vod,unknown 类型的解析组件化 2023-12-02 23:26:41 +08:00
BTMuli
9b27e8d955 🌱 完成 text,emoji,link 类型的解析组件化 2023-12-02 22:58:17 +08:00
BTMuli
7ae8b5ec46 ️ 副标题过长时进行折行 2023-12-02 22:36:33 +08:00
BTMuli
060382b3a7 🐛 修复 tag_list 字段 undefined 导致的解析错误
fix #63
2023-11-30 14:02:54 +08:00
BTMuli
747763601b ✏️ 修正大别野数据结构 2023-11-30 14:00:40 +08:00
BTMuli
5b8610ab5b ⬆️ 更新依赖 2023-11-29 16:57:57 +08:00
585 changed files with 7105 additions and 3200 deletions

View File

@@ -1,8 +1,6 @@
# Build
dist
src-tauri/target
# Submodules
TGAssistant
# Package files
pnpm-lock.yaml
# lint files

View File

@@ -35,7 +35,7 @@ body:
attributes:
label: 当前使用版本
description: 请填写当前使用版本
placeholder: 如 Beta v0.3.4
placeholder: 如 Beta v0.3.7
validations:
required: true
- type: textarea

View File

@@ -34,7 +34,7 @@ body:
attributes:
label: 当前使用版本
description: 请填写当前使用版本
placeholder: 如 Beta v0.3.4
placeholder: 如 Beta v0.3.7
validations:
required: true
- type: textarea

View File

@@ -33,7 +33,7 @@ body:
attributes:
label: 当前提交
description: 请填写当前提交
placeholder: 如 Beta v0.3.4
placeholder: 如 Beta v0.3.7
validations:
required: true
- type: textarea

View File

@@ -11,12 +11,24 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
settings:
- platform: windows-latest
args: "--verbose"
target: "windows"
- platform: macos-latest
args: "--target x86_64-apple-darwin"
target: "macos-intel"
- platform: macos-latest
args: "--target aarch64-apple-darwin"
target: "macos-arm"
runs-on: ${{ matrix.settings.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Add Rust targets(macOS)
if: matrix.settings.target == 'macos-arm'
run: rustup target add aarch64-apple-darwin
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
@@ -28,11 +40,11 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18.16.0
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.10.5
version: 8.11.0
- name: Install frontend dependencies
run: pnpm install
@@ -40,13 +52,13 @@ jobs:
uses: tauri-apps/tauri-action@dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
args: ${{ matrix.settings.args }}
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: v__VERSION__-beta
releaseBody: |
> Windows 平台用户建议通过微软应用商店下载MacOS 平台仅在此发布Linux 平台暂不支持。
> [!TIP]
> Windows 平台用户建议通过微软应用商店下载macOS 平台仅在此发布Linux 平台暂不支持。
<a href="https://apps.microsoft.com/store/detail/9NLBNNNBNSJN?launch=true&cid=BTMuli&mode=mini">
<img src="https://get.microsoft.com/images/zh-cn%20dark.svg" alt="download"/>

View File

@@ -1,26 +1,27 @@
name: Qodana
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
qodana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 21.4.0
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.7
- name: Install frontend dependencies
version: 8.12.1
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: "Qodana Scan"
uses: JetBrains/qodana-action@v2022.3.4
uses: JetBrains/qodana-action@v2023.3
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

4
.gitignore vendored
View File

@@ -6,3 +6,7 @@ node_modules
dist
# Secrets
.env.sh
# wiki-json(dev)
src/data/WIKI/Character/
src/data/WIKI/Weapon/
src/data/WIKI/GCG/

View File

@@ -5,9 +5,11 @@
# Tauri build
dist
src-tauri/target
# submodules
TGAssistant
# Pnpm
pnpm-lock.yaml
# Qodana
qodana.yaml
# sourse
*.webp
*.png
*.svg

View File

@@ -9,3 +9,6 @@ plugins:
- stylelint-order
rules:
prettier/prettier: true
property-no-vendor-prefix:
- true
- ignoreProperties: [backdrop-filter]

3
.vscode/launch.json vendored
View File

@@ -1,7 +1,4 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{

View File

@@ -2,12 +2,63 @@
Author: 目棃
Description: CHANGELOG
Date: 2023-09-08
Update: 2023-11-28
Update: 2023-12-11
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-09-08 09:45:17 `
>
> 更新于 `2023-11-28 15:18:27`
> 更新于 `2023-12-11 19:01:09`
## [0.3.8](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.8) (2023-12-20)
### Feat
- JSBridge新增部分回调的处理
- JSBridge完善 `share` 回调处理,目前已经能够支持大部分分享图的生成
- 应用:角色图鉴开始动工
- JSBridge添加菜单项支持 `置顶``取消置顶``打开帖子`
- 成就:名片子弹窗改为 `overlay` 模式
- 应用:添加 4.3 版本相关资源 [`#66`](https://github.com/BTMuli/TeyvatGuide/issues/66)
### Fix
- 应用:备份时进行目录存在性检测
- 应用:修复 macOS 启动闪退 [`#69`](https://github.com/BTMuli/TeyvatGuide/issues/69)
- 帖子:修复文本过长导致渲染溢出
- 应用:修复 UIGF 导出格式错误 [`#71`](https://github.com/BTMuli/TeyvatGuide/issues/71)
- 应用分享图保存逻辑调整超过20M未到80M时取消保存文件仍会保存至剪贴板
- 帖子:修复部分帖子表情包渲染错误
### Change
- 组件:移除对于头像的裁剪
- 应用:侧边栏必要快捷入口保留
- 应用:重构链接识别处理
- 应用:用于获取 `deviceFp` 的设备信息将保存到数据库中
- 应用:重构 `userStore``cookie` 相关类型
## [0.3.7](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.7) (2023-12-11)
### Feat
- 帖子:渲染方式迭代,由 `v-html` 改为组件渲染 [`#64`](https://github.com/BTMuli/TeyvatGuide/issues/64)
- 帖子:分享图增加应用标识
- 应用:新增帖子页面,支持浏览各游戏分区各版块按不同排序方式的帖子 [`#67`](https://github.com/BTMuli/TeyvatGuide/issues/67)
- 应用macOS 新增 arm64 架构支持 [`#68`](https://github.com/BTMuli/TeyvatGuide/issues/68)
- JSBridge: 部分原先存在遮罩的页面将去除遮罩
- JSBridge: 新增部分回调的处理
### Fix
- 帖子:修复大别野卡片渲染错误 [`#63`](https://github.com/BTMuli/TeyvatGuide/issues/63)
- 公告:修复标题错误显示 `<br>` 的问题
- 帖子:修复表情包渲染错误,移除首页表情包下载
### Change
- 帖子:分享图大小超过 80M 时不予保存,超过 20M 时可选保存至文件
- 应用:移除侧边栏点击菜单,可以通过帖子页面触发各功能入口
- JSBridge重构 `pushPage``closePage` 逻辑
## [0.3.6](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.6) (2023-11-25)

View File

@@ -2,12 +2,12 @@
Author: 目棃
Description: 说明文档
Date: 2023-03-05
Update: 2023-11-15
Update: 2023-12-10
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
>
> 更新于 `2023-11-15 21:01:51`
> 更新于 `2023-12-10 16:38:32`
![](https://img.shields.io/github/last-commit/BTMuli/TeyvatGuide?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/TeyvatGuide/latest?include_prereleases&style=for-the-badge)
@@ -19,9 +19,9 @@ Update: 2023-11-15
# Teyvat Guide
基于 Tauri 的原神工具应用,支持 Windows 和 MacOS 平台。
基于 Tauri 的原神工具应用,支持 Windows 和 macOS 平台。
Game Tool for Genshin Impact player, supports Windows and MacOS.
Game Tool for Genshin Impact player, supports Windows and macOS.
## 下载 / Download
@@ -31,7 +31,7 @@ Game Tool for Genshin Impact player, supports Windows and MacOS.
<img src="https://get.microsoft.com/images/zh-cn%20dark.svg" alt="download"/>
</a>
> MacOS 用户可以通过 Github Release 下载
> macOS 用户可以通过 Github Release 下载
[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/BTMuli/TeyvatGuide?include_prereleases&style=for-the-badge)](https://github.com/BTMuli/TeyvatGuide/releases/latest)
@@ -46,6 +46,7 @@ Game Tool for Genshin Impact player, supports Windows and MacOS.
- [x] 当前卡池、近期活动、素材日历
- [x] 游戏内公告&活动获取
- [x] 米游社官方帖获取(支持通过 ID 获取)
- [x] 米游社各分区帖子获取(支持通过 ID 获取)
- [x] 成就管理UIAF支持 [`YaeAchievement`](https://github.com/HolographicHat/YaeAchievement) 导入
- [x] 祈愿管理UIGF
@@ -100,7 +101,11 @@ Game Tool for Genshin Impact player, supports Windows and MacOS.
- [Vue3](https://github.com/vuejs/core)
- [Vite](https://github.com/vitejs/vite)
- [Vuetify](https://github.com/vuetifyjs/vuetify)
- [Echarts](https://echarts.apache.org/zh/index.html)
## 第三方组件 / Plugins
- [Echarts](https://echarts.apache.org/zh/index.html):用于祈愿概览图生成
- [Artplayer](https://artplayer.org/):用于米游社帖子视频播放解析
## 协议 / License

View File

@@ -1,9 +1,9 @@
{
"name": "TeyvatGuide",
"version": "0.3.6",
"version": "0.3.8",
"description": "Game Tool for Genshin Impact player",
"private": true,
"packageManager": "pnpm@8.10.5",
"packageManager": "pnpm@8.11.0",
"scripts": {
"build": "tauri build",
"debug": "tauri build --debug",
@@ -67,7 +67,8 @@
},
"dependencies": {
"@mdi/font": "7.3.67",
"@tauri-apps/api": "^1.5.1",
"@tauri-apps/api": "^1.5.2",
"artplayer": "^5.0.9",
"clipboard": "^2.0.11",
"color-convert": "^2.0.1",
"echarts": "^5.4.3",
@@ -78,47 +79,47 @@
"qrcode.vue": "^3.4.1",
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql#v1",
"uuid": "^9.0.1",
"vue": "^3.3.8",
"vue-echarts": "^6.6.1",
"vue": "^3.3.11",
"vue-echarts": "^6.6.3",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.2.5",
"vuetify": "^3.4.2",
"vuetify": "^3.4.6",
"wcag-color": "^1.1.1"
},
"devDependencies": {
"@tauri-apps/cli": "^1.5.6",
"@tauri-apps/cli": "^1.5.7",
"@types/color-convert": "^2.0.3",
"@types/js-md5": "^0.7.2",
"@types/node": "^20.9.1",
"@types/node": "^20.10.4",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@vitejs/plugin-vue": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/devtools": "^6.5.1",
"concurrently": "^8.2.2",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsonc": "^2.10.0",
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-n": "^16.4.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.18.1",
"eslint-plugin-vue": "^9.19.2",
"eslint-plugin-yml": "^1.10.0",
"husky": "^8.0.3",
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.1.0",
"lint-staged": "^15.2.0",
"prettier": "3.1.0",
"stylelint": "^15.11.0",
"stylelint-config-idiomatic-order": "^9.0.0",
"stylelint-config-idiomatic-order": "^10.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
"stylelint-high-performance-animation": "^1.9.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^4.0.2",
"typescript": "^5.2.2",
"vite": "^5.0.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^4.1.0",
"typescript": "^5.3.3",
"vite": "^5.0.7",
"vite-plugin-vuetify": "^1.0.2",
"yaml-eslint-parser": "^1.2.2"
}

1601
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Some files were not shown because too many files have changed in this diff Show More