fix: correct landing page for Intelligent Routing on merchant switch#4383
Open
gitanjli525 wants to merge 1 commit intomainfrom
Open
fix: correct landing page for Intelligent Routing on merchant switch#4383gitanjli525 wants to merge 1 commit intomainfrom
gitanjli525 wants to merge 1 commit intomainfrom
Conversation
… switch Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
susrithasabbini
approved these changes
Mar 18, 2026
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.
Type of Change
Description
When a user switches to the Intelligent Routing product via the merchant selection modal ("Select Merchant"), they were incorrectly landing on
/v2/dynamic-routing/home(renderingIntelligentRoutingConfiguration) instead of/v2/dynamic-routing(renderingIntelligentRoutingHome).Two fixes applied:
IntelligentRoutingApp.res— Changed the_ =>catch-all fallback path from/v2/dynamic-routing/hometo/v2/dynamic-routing. During a product switch, the URL is not automatically updated, so any unrecognised path hits this fallback. Previously it redirected to/homewhich loaded the configuration screen instead of the home screen.ProductUtils.res— MovedDynamicRoutingout of the groupedVault | CostObservability | Orchestration(V2)case (which appends/hometo the route) and gave it its own explicit case returningv2/dynamic-routing. This ensuresgetProductUrl(used inUnauthorizedPageandDefaultHomeUtils) also returns the correct URL for Intelligent Routing.Motivation and Context
The
IntelligentRoutingHomecomponent is the intended entry point for the Intelligent Routing product.IntelligentRoutingConfigurationis a deeper screen that should only be reached by navigating to/v2/dynamic-routing/homeexplicitly, not on initial product load.How did you test it?
Manually verified that switching to the Intelligent Routing product via the merchant selection modal lands on
IntelligentRoutingHomeat/v2/dynamic-routing.Where to test it?
Checklist
npm run re:build