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

Only show the load more comments button when necessary #2917

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

absidue
Copy link
Member

@absidue absidue commented Dec 5, 2022

Only show the load more comments button when necessary

Pull Request Type

  • Bugfix

Related issue

closes #2894

Description

Only show the "Load More Comments" button if there are more comments available, otherwise hide it.

Testing

Video from the issue with only one page of comments: https://youtu.be/rKOkJqUWnPM
LTT video with lots of comments: https://youtu.be/OHKKcd3sx2c

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 0.18.0

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 5, 2022
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 5, 2022 17:44
Copy link
Collaborator

@PikachuEXE PikachuEXE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also tested with limited of pages
https://youtu.be/-erMT-LvWz8 - 2 pages

@iwoithe
Copy link

iwoithe commented Dec 6, 2022

Only a thought that occurred to me a few days ago: it might also be worth adding a label with "No More Comments", otherwise some users may not be aware of why the Load More Comments is hidden (e.g. when a video has no comments).

@PikachuEXE
Copy link
Collaborator

Let's merge this first and add it later?

@FreeTubeBot FreeTubeBot merged commit c569744 into FreeTubeApp:development Dec 6, 2022
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 6, 2022
@absidue absidue deleted the load-more-comments branch December 6, 2022 11:07
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

Successfully merging this pull request may close these issues.

[Feature Request]: Hide/Disable The "Load More Comments" Button When There Are No More Comments
6 participants