Skip to content

Commit

Permalink
Merge branch 'preview-fixes' into master-cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Mar 9, 2024
2 parents 7473791 + 1c57de2 commit 986758c
Show file tree
Hide file tree
Showing 29 changed files with 320 additions and 98 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,54 @@
<!-- spell-checker: disable -->
# 更新日志

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

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

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


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

✨新增
- `下载视频 - IDM 输出支持` 补充了保留文件名相关内容的描述. (PR #4664 by [LY](https://github.com/Young-Lord))
- 夜间模式更新对以下区域的支持:
- 新版评论区输入框 (#4605)
- 动态详情页
- 搜索页面 (#4354)
- `删除广告` 现在可以在新版首页中将删除后的空位移除. (#4610)
- `删除视频弹窗` 支持屏蔽 "请评价视频播放效果" 等小弹窗, 归属于投票类. (#4610)

🐛修复
- 修复 XML 弹幕下载遇到空弹幕时报错. (#4629)
- 修复播放前显示封面在中途暂停仍会出现. (#4491)
- 修复 `自定义顶栏` 的搜索结果描述溢出. (#4464)
- 修复自动关灯无效. (PR #4659 by [Waua](https://github.com/FoundTheWOUT), #4631)
- 修复 `网址参数清理` 导致搜索页出现 `https://search.bilibili.com/undefined`. (PR #4663 by [sunfkny](https://github.com/sunfkny), #4656)
- 修复 `禁止跳转动态详情` 导致动态中的查看图片按钮失效. (PR #4662 by [sunfkny](https://github.com/sunfkny))
- 修复 `展开动态内容` 对部分用户失效. (#4633)
- 修复 `高分辨率图片` 导致旧版首页 logo 比例出错. (#4480)
- 修复个人空间中搜索过动态后再返回导致常规动态里的相关功能失效. (#4458)
- 修复番剧区的 `扩展倍速` 失效. (#4571)
- 修复 `快速收起评论` 遮挡评论的表情等弹窗.
- 修复 `自定义顶栏` 导致网课分区内容错位. (#4610)
- 修复 `隐藏顶部横幅` 导致部分分区页面内容错位. (#4610)

☕开发者相关
- PlayerAgent 支持监听 `pause` 事件.
- `forEachFeedsCard` 现在不会在非动态页面执行.

## v2.8.8 / v2.8.8-preview
`2024-01-18`

Expand Down
10 changes: 9 additions & 1 deletion doc/donate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## 爱发电

<a href="https://afdian.net/@the1812" target="_blank">
<a href="https://afdian.net/a/the1812" target="_blank">
<img alt="爱发电" src="../images/compressed/afdian.jpg" width="400">
</a>

Expand All @@ -29,6 +29,14 @@ https://afdian.net/@the1812?tab=sponsor

| 时间 | 用户名 | 单号后4位 | 金额 |
| ------------------- | --------------------- | --------- | ------- |
| 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 |
| 2024.01.31 01:19:43 | *| 6909 | ¥2.33 |
| 2024.01.29 21:03:27 | 匿名 | 0302 | ¥2.33 |
| 2024.01.29 21:02:54 | 匿名 | 6268 | ¥2.33 |
| 2024.01.29 21:01:19 | 匿名 | 9601 | ¥2.33 |
| 2024.01.19 01:11:57 | 远去之蓝 | 7860 | ¥5.00 |
| 2024.01.12 22:02:24 | 简式谐_LastofNESTS | 5700 | ¥22.33 |
| 2024.01.02 16:44:38 | O*h | 5101 | ¥10.00 |
| 2023.12.18 21:46:53 | *| 1206 | ¥20.00 |
Expand Down
2 changes: 1 addition & 1 deletion doc/features/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@
"type": "plugin",
"name": "downloadVideo.outputs.idm",
"displayName": "下载视频 - IDM 输出支持",
"description": "为下载视频增加 IDM 输出支持.",
"description": "为下载视频增加 IDM 输出支持,建议配合 [ef2.exe](https://github.com/MotooriKashin/ef2) 以简化操作、保留文件名.",
"fullRelativePath": "../../registry/dist/plugins/video/download/idm-output.js",
"fullAbsolutePath": "registry/dist/plugins/video/download/idm-output.js"
},
Expand Down
2 changes: 1 addition & 1 deletion doc/features/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ by FoundTheWOUT

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/idm-output.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/plugins/video/download/idm-output.js)

为下载视频增加 IDM 输出支持.
为下载视频增加 IDM 输出支持,建议配合 [ef2.exe](https://github.com/MotooriKashin/ef2) 以简化操作、保留文件名.

### [下载视频 - 手动输入](../../registry/dist/plugins/video/download/manual-input.js)
`downloadVideo.inputs.manual`
Expand Down
3 changes: 3 additions & 0 deletions registry/lib/components/feeds/disable-details/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ const entry = async () => {
if (target.hasAttribute('click-title')) {
return
}
if (target.hasAttribute('data-pics')) {
return
}
if (
[
'bili-rich-text__action',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
.at-panel,
.emoji-panel,
.reply-operation .operation-list {
z-index: 111;
z-index: 111 !important;
}
}
12 changes: 9 additions & 3 deletions registry/lib/components/feeds/full-content/full-content.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
.dyn-card-opus__summary:first-child,
.bili-rich-text__content.folded {
-webkit-line-clamp: unset !important;
display: block !important;
height: auto !important;
max-height: unset !important;
~ .bili-rich-text__action {
display: none !important;
}
}
.card .main-content {
.bili-rich-text__action,
.expand-btn,
.content-ellipsis {
display: none !important;
}
.bili-rich-text__content,
.content-full {
-webkit-line-clamp: unset !important;
display: block !important;
Expand Down
1 change: 1 addition & 0 deletions registry/lib/components/style/custom-navbar/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ export const urlExclude = [
// '//www.bilibili.com/blackboard/',
'//member.bilibili.com/v2',
'//game.bilibili.com/',
'//www.bilibili.com/mooc/',
]
26 changes: 26 additions & 0 deletions registry/lib/components/style/dark-mode/dark-slice-16.scss
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,32 @@
}
}
}
.bili-dyn-item,
.bili-opus-view {
~ .bili-tabs {
.bili-tabs__header {
@include background-color('4');
@include border-color('5');
}
.bili-tabs__nav__item {
@include color('e');
&.is-active,
&:hover {
@include theme-color();
}
}
// .bili-tabs__content {
// .comment-wrap {
// @include background-color();
// }
// }
}
}
.reaction-list {
.reaction-item {
box-shadow: inset 0 -0.5px 0 0 #666 !important;
}
}
.bili-dyn-forward {
&__item {
@include border-color('6');
Expand Down
19 changes: 19 additions & 0 deletions registry/lib/components/style/dark-mode/dark-slice-17.scss
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,10 @@
.reply-box-textarea::-webkit-input-placeholder {
@include color('8');
}
.reply-box-warp {
@include background-color('2');
@include border-color('5');
}
.fixed-reply-box {
.reply-box {
@include background-color('2');
Expand Down Expand Up @@ -457,14 +461,29 @@
}
}
}
.image-btn {
.image-icon path {
@include fill('a');
}
&:hover {
.image-icon path {
@include fill('e');
}
}
}
.image-btn,
.emoji-btn,
.at-btn {
@include border-color('4');
@include background-color('3');
@include color('a');
&:hover {
@include color('e');
}
}
.reply-loading {
@include color('a');
}
.emoji-panel {
@include border-color('8884');
@include color('e');
Expand Down
113 changes: 92 additions & 21 deletions registry/lib/components/style/dark-mode/dark-slice-18.scss
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,16 @@
@include theme-color();
}
}
.opus-module-topic {
@include theme-color();
}
.opus-more__btn {
@include color('a');
&:hover {
@include color('e');
@include background-color('3');
}
}
.opus-tabs {
.bili-tabs {
&__header {
Expand All @@ -508,27 +518,28 @@
}
}
}
.side-toolbar {
&__box,
&__btn {
@include background-color('3');
&.backtop span::before {
@include to-white();
}
}
.side-toolbar {
&__box,
&__btn {
@include background-color('3');
&.backtop span::before {
@include to-white();
}
&__action {
}
&__action {
&,
& svg {
@include color('e');
}
&:hover,
&.is-active {
&,
.side-toolbar__action__text,
& svg {
@include color('e');
}
&:hover,
&.is-active {
&,
& svg {
@include theme-color();
path {
@include theme-fill();
}
@include theme-color();
path {
@include theme-fill();
}
}
}
Expand Down Expand Up @@ -697,9 +708,7 @@
@include set-color('border-top-color', '4');
}
#{contains('mediainfo_mediaRight')} {
#{contains('mediainfo_media_desc_section')}
#{contains('mediainfo_display_area')}
#{contains('mediainfo_ellipsis')} {
#{contains('mediainfo_media_desc_section')} #{contains('mediainfo_display_area')} #{contains('mediainfo_ellipsis')} {
background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #222 20%, #222);
@include theme-color();
}
Expand Down Expand Up @@ -795,3 +804,65 @@
}
}
}
#bili-header-container {
@include background-color('2');
}
.bili-button {
&.primary {
&.plain {
@include background-color();
}
}
}
.vui_button {
&.blue {
@include theme-background-color();
@include border-color();
@include foreground-color();
&:hover {
@include theme-background-color('80');
}
}
}
.be-shielding::after,
.shielding::after {
@include color('e');
@include background-color();
}
.activity-game-list-item {
.activity-card {
@include background-color();
.activity-card-content-head-title {
@include color('e');
}
.activity-card-content-head-desc {
@include color('a');
}
}
}
.activity-game-list .game-card {
.game-card-content-head-title {
@include color('e');
.tag {
@include color('a');
@include border-color('a');
}
}
.game-card-content-head-text {
@include color('a');
}
}
.bangumi-pgc-list {
.media-card {
.media-card-content-head-title {
@include color('e');
}
.media-card-content-head-cv,
.media-card-content-head-label {
@include color('a');
}
.media-card-content-head-desc {
@include color('8');
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
}
html:root {
--brand_blue: var(--theme-color);
--brand_blue_hover: var(--theme-color-80);
--brand_blue_thin: var(--theme-color-10);
--text_link: var(--theme-color);
}
3 changes: 3 additions & 0 deletions registry/lib/components/style/hide/banner/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#biliMainHeader {
min-height: unset !important;
}
.header-v3 .z-top-container {
min-height: 160px !important;
}
.bili-header {
padding-top: 50px !important;
min-height: 0 !important;
Expand Down
Loading

0 comments on commit 986758c

Please sign in to comment.