Skip to content

ADFA-5062 refactor(content-type): carry the Home endpoint alias on ContentType, retire the kiwix→zim remap - #441

Merged
luisguzman-adfa merged 1 commit into
mainfrom
refactor/ADFA-5062-home-endpoint
Aug 20, 2026
Merged

luisguzman-adfa merged 1 commit into
mainfrom
refactor/ADFA-5062-home-endpoint

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

Moves the one place the Home card endpoint and the content key disagree — the Wikipedia card is
"kiwix", its content type is "zim" — onto ContentType as an endpoint field, with a byEndpoint()
lookup. LibraryHomeFragment.contentInFlight now resolves the type by endpoint instead of the
hand-rolled "kiwix"→"zim" remap the code comment flagged as "one more instance of ADFA-5062".
Behaviour-preserving; ContentType.byKey and its other callers are untouched.

@luisguzman-adfa
luisguzman-adfa merged commit 6ad790f into main Aug 20, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the refactor/ADFA-5062-home-endpoint branch August 20, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant