invidious icon indicating copy to clipboard operation
invidious copied to clipboard

Comments: Load more comments when JS is disabled

Open ChunkyProgrammer opened this issue 2 years ago • 2 comments

This PR allows for comments to be opened in a new page when viewing repleis/fetching more comments.

Tests (tests written for when JS is disabled but it should probably also be tested with JS enabled for regression testing)

Video comments

  • go to a video page
  • scroll to comments
  • click load comments
  • scroll back to comments
  • click on view reply on a comment (a new page opens with the repleis)
  • click on Load more (a new page opens with the next page of comments)
  • click on the YT link of a comment to make sure the comment that is highlighted is correct

Community:

  • go to a channel page
  • go on the community tab
  • click load more
  • see list of comments
  • click on the YT link of a comment to make sure the comment that is highlighted is correct

Community:

  • go to a channel page
  • go on the community tab
  • clcik view replies
  • click load comments
  • click view replies
  • a new page opens with replies
  • click load more on the new page
  • go back to the previous page and click load more
  • click on the YT link of a comment and make sure that the comment that is highlighted is correct

closes #409 https://github.com/iv-org/invidious/issues/341

ChunkyProgrammer avatar Oct 16 '23 17:10 ChunkyProgrammer