mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Add Comment Count to Video Preview Components (#6635)
* WIP: Add backend functionality to store comment count per video and update on comment visibility actions * WIP: Display image icon and comment count on video miniature component * Probably don't need to index the comment count * Added comment count back to mini video component * Added basic tests * Sort by comments, more robust comments count --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
parent
75d7c2a9dc
commit
25a9f37ded
14 changed files with 255 additions and 56 deletions
|
@ -7186,6 +7186,7 @@ components:
|
|||
- -publishedAt
|
||||
- -views
|
||||
- -likes
|
||||
- -comments
|
||||
- -trending
|
||||
- -hot
|
||||
- -best
|
||||
|
@ -8445,6 +8446,9 @@ components:
|
|||
dislikes:
|
||||
type: integer
|
||||
example: 7
|
||||
comments:
|
||||
description: "**PeerTube >= 7.2** Number of comments on the video"
|
||||
type: integer
|
||||
nsfw:
|
||||
type: boolean
|
||||
waitTranscoding:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue