Skip to content

Commit

Permalink
Merge branch 'preview-fixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Apr 23, 2024
2 parents 8a4e422 + 5a864d3 commit e998998
Show file tree
Hide file tree
Showing 59 changed files with 5,871 additions and 6,142 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ module.exports = {
'lines-between-class-members': 'off',
radix: ['error', 'as-needed'],
'max-classes-per-file': 'off',
'class-methods-use-this': 'off',
'prefer-destructuring': [
'error',
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
uses: pnpm/[email protected]
with:
version: latest
version: 8.12.1
run_install: true
- name: Type check
run: pnpm run type
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Install dependencies
uses: pnpm/[email protected]
with:
version: 8.6.12
version: 8.12.1
run_install: true
- name: Type check
run: pnpm run type
Expand Down
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"preload",
"protobuf",
"pubdate",
"rcount",
"reimu",
"reloadable",
"reloadables",
Expand All @@ -84,6 +85,7 @@
"reposts",
"Roadmap",
"roomid",
"rpid",
"saturationv",
"Sendbar",
"sortablejs",
Expand All @@ -95,8 +97,10 @@
"Touhou",
"truetype",
"uname",
"usercard",
"userscript",
"Violentmonkey",
"vnode",
"Vuex",
"Wasm",
"watchlater",
Expand Down
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,47 @@
<!-- spell-checker: disable -->
# 更新日志

## v2.8.10-preview
`2024-04-23`

包含 [v2.8.10](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.10) 的所有更新内容.

- 更新了 `动态过滤器` 的描述, 当开启 `直播信息扩充` 时不可配置 `正在直播` 的显隐. (#4705)

## v2.8.10
`2024-04-23`

<details>
<summary>获得 v2.8.9-preview 的所有新功能, 点击展开查看</summary>

- `下载视频 - WASM 混流输出` 支持更持久的缓存方式. (PR #4667 by [WakelessSloth56](https://github.com/WakelessSloth56))
- `外置稍后再看``启用快速收藏` 增加了 `显示方式` 选项, 出现无法自动适配的排版问题时可以尝试手动调整此设置. (#4532)
- 新增插件 `动态过滤器 - 移除商品带货动态`. (#4425)
> 移除动态里的商品带货动态 (UP主的推荐 · 来自 XX), 装有 `动态过滤器` 时生效.
- 新增组件 `动态图片平铺展示`. (#4645)
> 将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)
- 更换了 `自定义顶栏` 的动态提醒数字来源. (#4427)

</details>

✨新增
- 夜间模式更新对视频和直播页面的样式. (#4701, PR #4675 by [WangYK](https://github.com/AnotiaWang))
- 增强 `下载视频 - WASM 混流输出` 对错误输入流的检测, 支持 FLAC 音频流 (产生 `.mkv` 文件). (PR #4686 by [DBeidachazi](https://github.com/DBeidachazi))
- `复制动态链接` 改用 `opus` 格式的链接, 并支持新版话题页面. (PR #4695, PR #4696 by [星海](https://github.com/lovelyCARDINAL))
- 同时安装了 pakku 时, 支持下载处理后的弹幕. (PR #4712 by [xmcp](https://github.com/xmcp))
- `传统连播模式` 支持识别和处理视频列表. (#4699, PR #4713 by [Wuch](https://github.com/IEXPECTATION))
- `删除视频弹窗` 支持屏蔽收起后的弹窗. (#4703)

🐛修复
- 再次修复 `快速收起评论` 遮挡评论的表情等弹窗.
- 修复评论区相关功能失效. (#4690)
- 修复 `自定义顶栏` 导致稍后再看页面布局错位. (#4668)

☕开发者相关
- Comment API 现已重构并支持 Vue 3 版本的评论区. (#4690)

## v2.8.9-preview
`2024-03-09`

Expand Down
9 changes: 9 additions & 0 deletions doc/donate.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ https://afdian.net/@the1812?tab=sponsor

| 时间 | 用户名 | 单号后4位 | 金额 |
| ------------------- | --------------------- | --------- | ------- |
| 2024.04.08 16:02:38 | 匿名 | 2455 | ¥5.00 |
| 2024.03.31 16:36:20 | N*r | 3391 | ¥5.20 |
| 2024.03.27 21:25:21 | M*g | 0180 | ¥10.00 |
| 2024.03.23 08:36:29 | 匿名 | 3363 | ¥7.00 |
| 2024.03.23 04:28:31 | 智木人 | 2847 | ¥2.33 |
| 2024.03.21 22:06:40 | X*r | 0185 | ¥5.00 |
| 2024.03.20 19:34:30 | 匿名 | 5133 | ¥52.10 |
| 2024.03.12 19:16:12 | 匿名 | 0321 | ¥20.00 |
| 2024.03.09 21:40:26 | 匿名 | 1963 | ¥2.33 |
| 2024.03.01 16:12:34 | 5*B | 0619 | ¥2.33 |
| 2024.02.29 08:53:14 | M*z | 8723 | ¥2.33 |
| 2024.02.20 14:47:10 | 匿名 | 4111 | ¥5.00 |
Expand Down
18 changes: 17 additions & 1 deletion doc/features/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@
"fullRelativePath": "../../registry/dist/components/feeds/image-auto-back-to-top.js",
"fullAbsolutePath": "registry/dist/components/feeds/image-auto-back-to-top.js"
},
{
"type": "component",
"name": "legacyFeedsImageViewer",
"displayName": "动态图片平铺展示",
"description": "将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)\r\n",
"fullRelativePath": "../../registry/dist/components/feeds/legacy-image-viewer.js",
"fullAbsolutePath": "registry/dist/components/feeds/legacy-image-viewer.js"
},
{
"type": "component",
"name": "unfoldFeeds",
Expand Down Expand Up @@ -827,7 +835,7 @@
"type": "component",
"name": "removePlayerPopup",
"displayName": "删除视频弹窗",
"description": "删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择.\r\n",
"description": "删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择. 如果之前点了收起弹窗, 则收起后的小弹窗则会直接删除. (不受类别选择影响)\r\n",
"fullRelativePath": "../../registry/dist/components/video/player/remove-popup.js",
"fullAbsolutePath": "registry/dist/components/video/player/remove-popup.js"
},
Expand Down Expand Up @@ -912,6 +920,14 @@
"fullRelativePath": "../../registry/dist/plugins/feeds/filter/hide-charge-feeds.js",
"fullAbsolutePath": "registry/dist/plugins/feeds/filter/hide-charge-feeds.js"
},
{
"type": "plugin",
"name": "feedsFilter.pluginBlocks.goods",
"displayName": "动态过滤器 - 移除商品带货动态",
"description": "移除动态里的商品带货动态 (UP主的推荐 · 来自 XX), 装有 `动态过滤器` 时生效.\r\n",
"fullRelativePath": "../../registry/dist/plugins/feeds/filter/hide-goods.js",
"fullAbsolutePath": "registry/dist/plugins/feeds/filter/hide-goods.js"
},
{
"type": "plugin",
"name": "launchBar.actions.audioSearch",
Expand Down
20 changes: 19 additions & 1 deletion doc/features/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@

在动态里查看图片详情时 (非全屏), 切换图片自动回到图片顶部; 退出查看图片模式时, 自动将动态移入视图内.

### [动态图片平铺展示](../../registry/dist/components/feeds/legacy-image-viewer.js)
`legacyFeedsImageViewer`

**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/feeds/legacy-image-viewer.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/feeds/legacy-image-viewer.js)

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/legacy-image-viewer.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/feeds/legacy-image-viewer.js)

将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)

### [动态反折叠](../../registry/dist/components/feeds/unfold.js)
`unfoldFeeds`

Expand Down Expand Up @@ -1149,7 +1158,7 @@ by [@JLoeve](https://github.com/LonelySteve)

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/remove-popup.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/remove-popup.js)

删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择.
删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择. 如果之前点了收起弹窗, 则收起后的小弹窗则会直接删除. (不受类别选择影响)

### [启用视频截图](../../registry/dist/components/video/player/screenshot.js)
`videoScreenshot`
Expand Down Expand Up @@ -1261,6 +1270,15 @@ by FoundTheWOUT

移除动态里的充电专属动态, 装有 `动态过滤器` 时生效.

### [动态过滤器 - 移除商品带货动态](../../registry/dist/plugins/feeds/filter/hide-goods.js)
`feedsFilter.pluginBlocks.goods`

**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/plugins/feeds/filter/hide-goods.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/plugins/feeds/filter/hide-goods.js)

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/feeds/filter/hide-goods.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/plugins/feeds/filter/hide-goods.js)

移除动态里的商品带货动态 (UP主的推荐 · 来自 XX), 装有 `动态过滤器` 时生效.

### [搜索栏 - 音频跳转](../../registry/dist/plugins/launch-bar/audio-search.js)
`launchBar.actions.audioSearch`

Expand Down
2 changes: 1 addition & 1 deletion doc/features/pack/pack.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"type": "component",
"name": "removePlayerPopup",
"displayName": "删除视频弹窗",
"description": "删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择.\r\n",
"description": "删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择. 如果之前点了收起弹窗, 则收起后的小弹窗则会直接删除. (不受类别选择影响)\r\n",
"fullRelativePath": "../../registry/dist/components/video/player/remove-popup.js",
"fullAbsolutePath": "registry/dist/components/video/player/remove-popup.js"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"pnpm": {
"overrides": {
"caniuse-lite": "1.0.30001547",
"caniuse-lite": "1.0.30001609",
"consolidate": "1.0.1"
}
},
Expand Down
Loading

0 comments on commit e998998

Please sign in to comment.