feat: cit-4765 source top nav categories from browsingCategories - #7115
Draft
mcstover wants to merge 2 commits into
Draft
feat: cit-4765 source top nav categories from browsingCategories#7115mcstover wants to merge 2 commits into
mcstover wants to merge 2 commits into
Conversation
Collaborator
Author
|
There's one outstanding concern with the new browsingCategories endpoint in prod. The Social Enterprises category is not currently enabled in prod and doesn't have a correct loan search criteria set at this time. |
mcstover
marked this pull request as draft
July 28, 2026 21:39
Replaces the deprecated lend.loanChannels query with the new browsingCategories field for the lend menu and MyKiva bailout chips. CIT-4765
browsingCategories is non-null on Query, so a field error nulls the whole data object rather than just the field. Optional-chain data itself so the catch reports the real GraphQL error instead of a TypeError. CIT-4765
mcstover
force-pushed
the
fix-cit-4765-cit-4127
branch
from
July 30, 2026 16:33
cb6fe20 to
64bc529
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Replaces the deprecated
lend.loanChannelsquery with the newbrowsingCategoriesfield for the two UI consumers named in CIT-4127: the lend menu (desktop mega menu + mobile list menu) and the MyKiva bailout chips.browsingCategoriessits on theQueryroot rather than underlend, so the sharedlendMenuData.graphqldocument is rewritten and each component's data path changes by one line. The query keeps its filename and operation name. All mapping, sorting, URL rewriting, loading states, and analytics are unchanged.IMPORTANT: There's one outstanding concern with the new browsingCategories endpoint in prod. The Social Enterprises category is not currently enabled in prod and doesn't have a correct loan search criteria set at this time.