Replace broken trending with a local API only equivalent #8289
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Type
Related issue
Description
This pull request adds a local API only replacement for YouTube's removed trending page, by pulling data from the trending sections on the Gaming, Sports and Podcasts system channels.
If you don't like this approach we can also remove the trending page entirely from FreeTube. Adding support for YouTube Charts is going to be a much bigger task, if that is something we want to do, as it a completely separate website and client, it also consists of not just the charts but detail pages about the songs, artists and regions and has different filters on different chart types.
So the open question for the moment is, do you like this approach or should we remove the trending page entirely now that it is gone from YouTube?
Screenshots
Testing
Test the new trending tabs with the local API and check that it is correctly hidden when the Invidious API is selected and backend fallback is disabled.
Desktop