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

Hide unsubscribe button on channel list if this is set in parental controls. #2906

Merged
merged 5 commits into from
Dec 4, 2022

Conversation

elshimone
Copy link
Contributor

@elshimone elshimone commented Dec 2, 2022

Title

Hide unsubscribe button on channel list if this is set in parental controls.

Pull Request Type

  • Bugfix

Related issue

#1086

Description

There is an existing parental control setting to hide the unsubscribe button on the channel page. This PR also hides the unsubscribe button on the channel list page (the channels page in the side bar).

Testing

I tested this PR by building the app and observing that the unsubscribe button was hidden on the channel page and the channels page when the setting was toggled in the parental control settings panel. I also observed that the unsubscribe button was not hidden when this setting is not enabled.

Desktop

  • PopOS
  • 22.04
  • 0.18.0

Additional context

None

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 2, 2022
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 2, 2022 18:04
auto-merge was automatically disabled December 2, 2022 18:09

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 2, 2022 18:10
auto-merge was automatically disabled December 2, 2022 18:14

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 2, 2022 18:14
@ChunkyProgrammer
Copy link
Member

Hi, good catch. Would you be able to remove the package-lock.json file? Thank you for opening this PR 🙂

auto-merge was automatically disabled December 3, 2022 08:07

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 3, 2022 08:07
@elshimone
Copy link
Contributor Author

Hi - sorry about that I have removed it now.

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.

Tested locally

@FreeTubeBot FreeTubeBot merged commit a433c04 into FreeTubeApp:development Dec 4, 2022
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 4, 2022
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.

6 participants