feat(gelderlander): hide cross-promotion and region promotion #40
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #16. Depends on #18.
Feature description
De Gelderlander shows promotion for other content and other titles:
Make these hideable, ideally one option per kind, because some users like the "read also" links.
Findings (9.21.1)
Article
CrossPromotionComponentmaps ing20.atoi30.j(id, sectionId, personalised).vf2(CrossPromotionTeasersRepositoryImpl, anchor"com.kubus.module.article.data.repository.CrossPromotionTeasersRepositoryImpl$getCrossPromotionTeasers$1") through Retrofittf2.g20.e(CrossPromotionTeasersResponse)maps them.CrossPromotionItembecomes either:ArticleTeaserComponent(pf2.b); orCrossPromotionAdvertisementComponent(pf2.a(slotId)), which is an ad slot inside the block.CrossPromotionBasic(ArticlesCrossPromotion/VideoCrossPromotion/ADCrossPromotion) sits insideRecommendationResponseand is mapped by privateg20.c(CrossPromotionBasic): j20.a, which returns null for unknown types.ADCrossPromotionis an ad slot.Other media
UitAndereMedia(an article component with abrand) has no explicit branch, so it falls into the "unsupported" mappingi30.u0. Check whether it renders anything at all.UAM(Metadata.uam) andcom.popular.core.model.data.UitAndereMedia(rendered invs1) are "from other media" source labels. Probably keep these; they are attribution.Feed
RegionPromotionTeaser(TeaserTyperegionPromotion) is enriched iny8b.o(SectionViewModel).RecommendationBlockTeaser(recommendations) is rendered bydaa.k.Approach
CrossPromotionAdvertisementComponentandADCrossPromotion, because they are ads. These belong in Hide ads.CrossPromotionComponent,ArticlesCrossPromotion,VideoCrossPromotion.RegionPromotionTeaser.RecommendationBlockTeaser.Done when
docs/apps/gelderlander.md.Midas Settings
These toggles replace the options suggested above. Category "Inhoud":
hide_read_alsohide_region_promohide_recommendationsCrossPromotionAdvertisementComponent,ADCrossPromotion) have no toggle. They are always hidden by Hide ads.