fix: support Het Parool 7.55.0 (tile feed removed) #160
No reviewers
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!160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/159-parool-7.55.0"
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?
Closes #159
Het Parool 7.55.0 removed the whole
teasers/feedmodule (sections, lists and the digital paper are overview pages now,NavigationRoute.FeedSection/FeedListare gone), movedtoolbarActionTagfromTestTagsKttoToolbarActionTagKt, and dropped Heap's autocapture provider.fix:
ToolbarActionTagFingerprintmatches the name, the static(ToolbarAction)Stringsignature and thetoolbar_action_sharetag, not the file class.feedTileFilterPatchhookstoModel(TileDto, ...)only whenTileDtoexists (hasTileFeed()); while it exists the hook stays required. Hide game promotions registers its toggle only then (it does nothing on 7.55.0). Hide notification suggestions keeps its article half.ContentFiltersmatches the tile DTOs by class name and readsgetTeaser().getGameId()by reflection, so the extension doesn't reference classes 7.55.0 lacks (the patch check's class verification failed on them). Their 4 stubs moved to the extension's test sources as fakes (check-stubs.sh flagged them as missing on 7.55.0).editionManifestCleanupPatch:HeapViewAutocaptureContentProviderisoptional;HeapContentProviderstays required.bump:
7.55.0inEDITION_TARGETS,untestedVersionsfor Volkskrant and Trouw (APKPure only has 7.54.0 of those).Verification:
buildAndroid(incl. contract check) and:extensions:extension:testDebugUnitTest: green.check-patches.sh: Het Parool 7.55.0 (APKPure XAPK) exit 0, 13x Applied, class check 0 to fix; Volkskrant 7.53.1 and Volkskrant 7.54.0 (APKPure) exit 0, 13x Applied.check-stubs.sh: OK on Parool 7.55.0 and Volkskrant 7.53.1.Open:
EditionTitle.kt/Constants*.kt).🤖 Generated with Claude Code
Merged into dev as part of #155 (same commits).
Pull request closed