-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编辑评论 UI & 番剧评论 #634
编辑评论 UI & 番剧评论 #634
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我比较关注交互最小大小 (48dp) 问题, 直接在这里讨论吧, 我就不在每一行上面发一个 review 了.
我个人是比较赞成这个交互大小限制的. 哔哩哔哩的按钮虽然看起来小, 但它实际上有隐藏的交互高度 (空白区域是可以点击的), 所以它评论的赞也不是那么难点击 (虽然还是太小)
如果不是非常有必要, 我不赞成调小交互体积.
编辑评论的 actions 用默认 48.dp 高度如果会很丑的话, 能不能通过增大编辑框大小 (which 实际上是你刻意调小的), 来解决?
展示的评论里的这一行, 改成不要有 spacedBy, 用 IconButton 默认大小的情况下, 只把里面的 icon 变小来达到视觉上变小的效果, 会不会更好?
app/shared/src/commonMain/kotlin/ui/subject/components/comment/Comment.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/components/comment/Comment.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/components/comment/Comment.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/components/comment/Comment.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/components/comment/Comment.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/episode/comments/EpisodeCommentColumn.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/episode/comments/EpisodeCommentColumn.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/episode/comments/EpisodeEditCommentSheet.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/episode/comments/EpisodeEditCommentSheet.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/episode/comments/EpisodeEditCommentSheet.kt
Outdated
Show resolved
Hide resolved
# Conflicts: # app/shared/src/commonMain/kotlin/ui/subject/episode/EpisodePage.kt
app/shared/src/commonMain/kotlin/ui/subject/components/comment/EditComment.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/components/comment/EditComment.kt
Outdated
Show resolved
Hide resolved
# Conflicts: # app/shared/src/androidMain/kotlin/ui/subject/episode/comments/CommentColumn.android.kt # app/shared/src/commonMain/kotlin/ui/subject/components/comment/Comment.kt
这个分支 luckily 居然没有任何一行 conflict |
现在还有点问题:
|
不能,这逻辑都冲突了 |
那就写自定义layout了 |
app/shared/src/commonMain/kotlin/ui/subject/components/comment/EditCommentDefaults.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/ui/subject/components/comment/CommentEditorPreviewerState.kt
Outdated
Show resolved
Hide resolved
app/shared/src/commonMain/kotlin/data/repository/CommentRepository.kt
Outdated
Show resolved
Hide resolved
18 conversations must be resolved before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有一些后续需要解决的问题 (不要在这个 PR 解决):
- 仅在 debug 模式显示发送评论和允许点击 (一个 commit, 后面好 revert)
- 提交 reaction 时, 没有显示进度, 没有处理错误
- 发评论有没有处理错误?
- 游客模式需要引导登录
在视频中展示了所有已经做好的功能
S40724-23253756-1.mp4
未完成的功能: