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
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants