feat(gelderlander): hide shopping and deals blocks #39

Closed
opened 2026-10-10 12:23:06 +02:00 by midas · 0 comments
Owner

Part of #16. Depends on #18.

Feature description

De Gelderlander's feeds contain commercial blocks: deals banners, promo banners and shop product lists. They are advertising in all but name. Hide them, either as part of Hide ads or as an option of a new patch (e.g. Hide promotional blocks).

Findings (9.21.1)

Feed models, all in the unobfuscated package com.kubus.module.network.model:

  • DealsBannerTeaser (TeaserType dealsbanner) and PromoBannerTeaser (promobanner). Both are mapped by on0.a(TeaserBlock) and rendered through s7b's PromoBanner branch.
  • ShopListTeaser (shop): shop products, rendered by s7b.E3 / pjb.

Approach

  • Add these three classes to the feed filter (#18).
  • Decide with the user: fold this into Hide ads (it is advertising), or make it an option.

Done when

  • Build passes; patch applied on 9.21.1.
  • Device check (after asking): browse sections that show deals or shop blocks; they are gone and leave no gaps.
  • Documented in docs/apps/gelderlander.md.

Midas Settings

  • Toggle: Verberg shop- en dealsblokken (hide_shop_blocks), category "Advertenties en promotie", default on.
  • This settles the "fold into Hide ads?" question: it stays a separate patch with a toggle, so users can keep the deals if they want them.
  • Read in the feed filter (#18). Needs #49 and #51.
Part of #16. Depends on #18. ## Feature description De Gelderlander's feeds contain commercial blocks: deals banners, promo banners and shop product lists. They are advertising in all but name. Hide them, either as part of **Hide ads** or as an option of a new patch (e.g. **Hide promotional blocks**). ## Findings (9.21.1) Feed models, all in the unobfuscated package `com.kubus.module.network.model`: - `DealsBannerTeaser` (TeaserType `dealsbanner`) and `PromoBannerTeaser` (`promobanner`). Both are mapped by `on0.a(TeaserBlock)` and rendered through `s7b`'s PromoBanner branch. - `ShopListTeaser` (`shop`): shop products, rendered by `s7b.E3` / `pjb`. ## Approach - Add these three classes to the feed filter (#18). - Decide with the user: fold this into **Hide ads** (it is advertising), or make it an option. ## Done when - [ ] Build passes; patch applied on 9.21.1. - [ ] Device check (after asking): browse sections that show deals or shop blocks; they are gone and leave no gaps. - [ ] Documented in `docs/apps/gelderlander.md`. ## Midas Settings - Toggle: **Verberg shop- en dealsblokken** (`hide_shop_blocks`), category "Advertenties en promotie", default **on**. - This settles the "fold into Hide ads?" question: it stays a separate patch with a toggle, so users can keep the deals if they want them. - Read in the feed filter (#18). Needs #49 and #51.
midas closed this issue 2026-10-10 20:59:18 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
midas/midas-patches#39
No description provided.