Skip to content

Add blocked channels to search, trending, and recommendations - #13492

Open
mstudio005 wants to merge 1 commit into
TeamNewPipe:refactorfrom
mstudio005:feat/block-channels-refactor
Open

Add blocked channels to search, trending, and recommendations#13492
mstudio005 wants to merge 1 commit into
TeamNewPipe:refactorfrom
mstudio005:feat/block-channels-refactor

Conversation

@mstudio005

Copy link
Copy Markdown

What is it?

  • Feature (user facing)

Description of the changes in your PR

  • Added a Room database table to store blocked channels with their name and URL
  • Added a Blocked Channels screen under Settings → Content
  • Added a Block channel option in the video long-press menu with an undo snackbar
  • Filtered blocked channels from search results, trending, and related videos
  • Fixed a crash on the Blocked Channels settings screen on Android 16
  • Fixed a bug where filtering tried to modify immutable lists

Before/After Screenshots/Screen Record

WhatsApp Image 2026-05-11 at 11 24 13 WhatsApp Image 2026-05-11 at 11 24 13 (1) WhatsApp Image 2026-05-11 at 11 24 13 (2)

Fixes the following issue(s)

Relies on the following changes

  • None

APK testing

The APK can be found by going to the "Checks" tab below the title. On the
left pane, click on "CI", scroll down to "artifacts" and click "app" to
download the zip file which contains the debug APK of this PR.

Due diligence

  • I read the contribution guidelines
  • The proposed changes follow the AI policy
  • I tested the changes using a physical device (Samsung Galaxy Tab A9+ 5G, Android 16)

This was a hand-written implementation of channel blocking from scratch, including Room storage, a settings screen, long-press block actions, undo support, and filtering across the app.

I also used a little Claude Code during the process for support while keeping the implementation itself written and verified by hand.
@github-actions github-actions Bot added the size/giant PRs with more than 750 changed lines label May 11, 2026
@TobiGr TobiGr added feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface labels May 12, 2026
@RobertKillick

RobertKillick commented Jul 3, 2026

Copy link
Copy Markdown

I have been increasingly wanting this feature to exclude the vast amount of AI slop out there. I have vibe coded what looks to mostly be a duplicate of this work (the irony isn't lost on me).

It is passing tests, I have also validated back up and restore of the DB is working.
I have only been test driving it for a short time on an S26 Ultra but it seems work well. I planed to also test it on number of other old phones I have until i saw this.

Given the last commit was a while ago are people trying to push this work forward? Opening another PR for what I have isn't going help as this is still open

@TobiGr

TobiGr commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Please take look at the failing DB migrations and add tests for the new feature. YOu might want to rebase your PR

@AudricV AudricV added the template ignored The user didn't follow the template/instructions (or removed them) label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface size/giant PRs with more than 750 changed lines template ignored The user didn't follow the template/instructions (or removed them)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants