Skip to content
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

[Feature] Better Comment Sorting #37

Closed
Coldblackice opened this issue Nov 29, 2022 · 4 comments
Closed

[Feature] Better Comment Sorting #37

Coldblackice opened this issue Nov 29, 2022 · 4 comments

Comments

@Coldblackice
Copy link

A function for comment-sorting (better than Youtube's sorting) would be phenomenal.

Namely, the ability to sort all comments by:

  • most-upvotes
  • most-replies-to
  • newest/oldest
  • comments-that-creator-replied-to

The two most useful sortings would be by most-upvotes and newest vs. oldest.

Currently, Youtube's comment-sorting is algorithmically selective, Youtube choosing from a pool of comments to present as "Top Comments". Even then, Youtube doesn't sort them in proper order. Even worse, you're not actually seeing the highest upvoted comments of all, but rather, Youtube's "digest" of picked recent comments with upvotes.

It would be great to be able to see an absolute scale of comment sorting from highest-to-lowest across all comments.

@raingart
Copy link
Owner

I'll think about it. But I doubt it. Since the Youtube API has a limit on the number of calls per unit of time

@Coldblackice
Copy link
Author

Makes sense. Even just 1-2 extra "Load more"s (then sorted), would be useful. Just an idea.

@raingart
Copy link
Owner

Test version (extension). This is an example of the functionality that will be available
Loads only the top 100 (by Google comment versions) possible by date but not yet implemented

nova-extensions_v1.34.0.zip

Here is the full list of available data in the comment

{
      "snippet": {
         "videoId": "aabbcc11",
         "textDisplay": "text",
         "textOriginal": "text",
         "authorDisplayName": "user A",
         "authorProfileImageUrl": "https://yt3.ggpht.com/ytc/..",
         "authorChannelUrl": "http://www.youtube.com/channel/UC1..",
         "authorChannelId": { "value": "UC.." },
         "canRate": true,
         "viewerRating": "none",
         "likeCount": 5,
         "publishedAt": "2022-01-01T01:23:00Z",
         "updatedAt": "2022-01-01T01:23:00Z"
      },
   "canReply": true,
   "totalReplyCount": 7,
   "isPublic": true
}

p.s. may need your api key

@raingart
Copy link
Owner

Here is the pre-release version.
nova-extensions_v1.34.0.zip

Missing reply view totaly. But the left link to the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants