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

Add local api support for viewing individual community posts + comments #6491

Draft
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

ChunkyProgrammer
Copy link
Member

Add local api support for viewing community posts

Pull Request Type

  • Feature Implementation

Related issue

closes #3253

Description

This PR also adds support for viewing community posts + comments to the local API

Testing

  • set local api as primary api
  • disable invidious
  • go to mr beast channel
  • go to community tab
  • click on the link to view one of the posts
  • load comments
  • load comment replies
  • load more comments

See tests here: #5589

Desktop

  • OS: Fedora Linux
  • OS Version: 41
  • FreeTube version: latest nightly

Copy link
Member

@absidue absidue left a comment

Choose a reason for hiding this comment

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

Doesn't need to be done just yet as this PR is still a draft, but it would be good to remove the now unused "posts are only supported by invidious" string once this is ready for review.

src/renderer/helpers/api/local.js Outdated Show resolved Hide resolved
…ethods to reflect naming changes made in the youtube.js PR
@ChunkyProgrammer ChunkyProgrammer force-pushed the add-local-api-support-for-viewing-community-posts branch from 134a6e6 to 22911ff Compare December 31, 2024 23:04
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]: View post on community tab
2 participants