Skip to content

feat: cit-4765 source top nav categories from browsingCategories - #7115

Draft
mcstover wants to merge 2 commits into
mainfrom
fix-cit-4765-cit-4127
Draft

feat: cit-4765 source top nav categories from browsingCategories#7115
mcstover wants to merge 2 commits into
mainfrom
fix-cit-4765-cit-4127

Conversation

@mcstover

@mcstover mcstover commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

What

Replaces the deprecated lend.loanChannels query with the new browsingCategories field for the two UI consumers named in CIT-4127: the lend menu (desktop mega menu + mobile list menu) and the MyKiva bailout chips.

browsingCategories sits on the Query root rather than under lend, so the shared lendMenuData.graphql document 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.

@mcstover mcstover changed the title CIT-4765: source top nav categories from browsingCategories feat: cit-4765 source top nav categories from browsingCategories Jul 28, 2026
@mcstover

Copy link
Copy Markdown
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
mcstover marked this pull request as draft July 28, 2026 21:39
mcstover added 2 commits July 30, 2026 09:33
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
mcstover force-pushed the fix-cit-4765-cit-4127 branch from cb6fe20 to 64bc529 Compare July 30, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant