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

Channels: Add support for release and podcast tab #3778

Conversation

ChunkyProgrammer
Copy link
Member

@ChunkyProgrammer ChunkyProgrammer commented Jul 14, 2023

Channels: Add support for release and podcast tab

Pull Request Type

  • Feature Implementation

Related issue

closes #3763

Description

Adds Podcasts and Releases tabs to channels (local api only).
This PR also:

  • hides missing tabs from the UI (empty tabs will still appear)
  • uses the updated Invidious API calls for channel endpoints (channel/id/subResource instead of channel/subResource/id)

Screenshots

image

image

Testing

Using both the Local API and the Invidious API the following tests should be done:
Channel with podcasts: https://www.youtube.com/channel/UCGk1LitxAZVnqQn0_nt5qxw

Channel with releases: https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A

Other test (trying to access a tab that doesn't exist)

Desktop

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

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) July 14, 2023 21:18
@github-actions github-actions bot added PR: dependencies Pull requests that update a dependency file PR: waiting for review For PRs that are complete, tested, and ready for review labels Jul 14, 2023
@efb4f5ff-1298-471a-8973-3d47447115dc

So the IV PR to support this just got merged. Will u make a commit here to support it or a separate PR?

@ChunkyProgrammer ChunkyProgrammer changed the title Channels: Add support for release and podcast tab (Local API) Channels: Add support for release and podcast tab Jul 16, 2023
@ChunkyProgrammer
Copy link
Member Author

So the IV PR to support this just got merged. Will u make a commit here to support it or a separate PR?

I updated this PR to add IV support

Copy link
Member

Choose a reason for hiding this comment

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

LGTM

PikachuEXE
PikachuEXE previously approved these changes Jul 17, 2023
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.

Local & IV tested with instance inv.tux.pizza (randomly picked from those with version at least 2023.07.16-69e2eac)

@PikachuEXE
Copy link
Collaborator

Is this error related?
image

@ChunkyProgrammer
Copy link
Member Author

That error is unrelated (there's a pr open in invidious for it, basically community wasnt using innertube and is getting rate limited now)

@github-actions github-actions bot added PR: merge conflicts / rebase needed and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Jul 17, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@ChunkyProgrammer ChunkyProgrammer added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jul 17, 2023
@ChunkyProgrammer ChunkyProgrammer removed the PR: dependencies Pull requests that update a dependency file label Jul 17, 2023
PikachuEXE
PikachuEXE previously approved these changes Jul 17, 2023
@absidue
Copy link
Member

absidue commented Jul 18, 2023

Looks like the no releases message shows up even when there are releases:
message-showing-up

Co-Authored-By: absidue <[email protected]>
@FreeTubeBot FreeTubeBot merged commit 095568e into FreeTubeApp:development Jul 19, 2023
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Jul 19, 2023
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]: Add the “Releases” tab to channels
5 participants