This repository has been archived by the owner on Dec 20, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
将内容固定到首页的功能之前在用户和PGC内容上进行了实验,个人体验不错,对于短期追踪有着较大的帮助。
现在将其扩展,支持更多的视频类型,并将不同类型的固定内容进行合并处理。
目前支持将 视频/PGC/直播/用户 固定在首页
PR 类型
这个 PR 的目的是什么?
当前行为是什么?
仅支持固定用户和PGC内容,且内容是分隔开的
新的行为是什么?
支持更多内容类型的固定,并且将内容区块合并
PR 检查清单
请检查你的 PR 是否满足以下要求:
固定内容的数据将被放在一个新的文件中,所以之前使用了固定内容的用户的数据会丢失
备注
这并不是bilibili官方所支持的功能,所以数据都保存在本地,且和账户相关联。这意味着登录不同账户可以看到不同的固定内容,可一旦卸载应用,这些保存的数据都会被清除