feat: add post action buttons in drawer preview#16
Open
konlu wants to merge 1 commit into
Open
Conversation
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
feat: 为抽屉预览补充帖子操作按钮
变更说明
这个 PR 为侧边抽屉预览补充了帖子级操作按钮,让抽屉内的交互更接近 linux.do 原生帖子页。
本次新增:
变更原因
目前抽屉预览适合快速阅读,但缺少帖子常用操作。
用户如果想点赞、复制链接、举报或加入书签,仍然需要打开原帖页面,使用上不够完整。
这次改动的目标,是让抽屉预览在不跳转页面的前提下,覆盖更多常见交互场景。
实现方式
/post_actions接口处理/bookmarks接口处理手动验证
已按改动范围进行手动验证,建议 reviewer 重点验证以下路径:
备注