You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
The Report_Card_Activate RHP (opened by Add shipping details in a report chat) has no valid central-pane mapping, so the RHP renders over whatever full-screen was already mounted (the Wallet/Settings page) instead of the report.
When you tap the button, IssueCardMessage.tsx:76 navigates to ROUTES.REPORT_CARD_ACTIVATE. To decide which screen sits under an RHP, navigation calls getMatchingFullScreenRoute(). That function resolves the background either from an RHP_TO_* relation or by stripping a dynamic route suffix back to the report. REPORT_CARD_ACTIVATE is registered as a plain static route in config.ts:1511-1515 and appears in none of the RHP_TO_* relations — unlike its working sibling report RHPs (REPORT_DETAILS, REPORT_CHANGE_WORKSPACE, REPORT_SETTINGS), which are all dynamic routes. So getMatchingFullScreenRoute() returns undefined, linkTo skips the background swap, and the previous full-screen (Wallet) stays visible behind the panel.
Why now (regression, staging-only): the report-scoped card-activate flow has existed since Oct 2025, but the sibling report RHPs were converted to dynamic routes in the recent dynamic-routes navigation migration (Expensify/App#94172, merged 2026-07-02, in this staging deploy). REPORT_CARD_ACTIVATE was left behind as a static route, which is why the background regressed on staging but not production.
What changes do you think we should make in order to solve the problem?
Give REPORT_CARD_ACTIVATE a valid background mapping, consistent with the dynamic-routes migration:
Preferred: convert REPORT_CARD_ACTIVATE to a dynamic route like its sibling report RHPs (REPORT_DETAILS / REPORT_CHANGE_WORKSPACE), so the underlying r/:reportID report central pane is resolved automatically. It was simply missed in Expensify/App#94172.
Alternative (smaller): add REPORT_CARD_ACTIVATE to the report/home RHP relation so getMatchingFullScreenRoute() maps it to the report central pane.
Secondary bug found while investigating (should be fixed too)
ActivatePhysicalCardPage.tsx:21 calls ROUTES.REPORT_WITH_ID.getRoute(cardID, reportID, reportActionID), but the signature is getRoute(reportID, reportActionID?, referrer?, backTo?). cardID is passed where reportID is expected, so navigateBackTo becomes a garbage URL (r/<cardID>/<reportID>...) pointing at a non-existent report. This is a long-standing bug (since Expensify/App#60290, Oct 2025), not the cause of the wallet background, but it breaks the RHP's back/return-to-report and should be corrected to getRoute(reportID, reportActionID) in the same fix.
Also note ActivatePhysicalCardPageBase.tsx:61-70: the shared base auto-goBacks to SETTINGS_WALLET_DOMAIN_CARD (a Wallet route) once the card state is OPEN, ignoring navigateBackTo. For the report caller this can also pull navigation into the Wallet tab and is worth verifying alongside the primary fix.
linkTo calls getMatchingFullScreenRoute(REPORT_CARD_ACTIVATE) in getAdaptedStateFromPath.ts: no backTo, absent from every RHP_TO_* relation, and static (no dynamic suffix) → returns undefined.
With no match, linkTo/index.ts skips the full-screen swap, so the current Wallet full-screen remains under the RHP.
Sibling report RHPs are dynamic (config.ts:1504-1520); REPORT_CARD_ACTIVATE is not.
Confidence: High — code-verified end to end. Not disproven by an alternative (a deep-link/refresh would recover via getDefaultFullScreenRoute since reportID is in params, which matches this being an in-app linkTo-only, staging-only regression). A quick repro from a report chat would confirm which path (missing mapping vs. base-page auto-goBack) the tester hit.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/95720) to create a draft PR. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
Since this issue is related to the dynamic routes PR, I'd like to get @collectioneur's input on the best approach. @collectioneur, could you please review Melvin's proposal? Do you think we should update the navigation utils, or would it be better to migrate REPORT_CARD_ACTIVATE to a dynamic route instead?
Activity
applause-bot commentedon Jul 9, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/118ffbfb2768621f273cc65927ff1a445a6afe1977da962375cb686d6b4682e1
melvin-bot commentedon Jul 9, 2026
Triggered auto assignment to @mjasikowski (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jul 9, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jul 9, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
MelvinBot commentedon Jul 9, 2026
Proposal
What is the root cause of that problem?
The
Report_Card_ActivateRHP (opened by Add shipping details in a report chat) has no valid central-pane mapping, so the RHP renders over whatever full-screen was already mounted (the Wallet/Settings page) instead of the report.When you tap the button,
IssueCardMessage.tsx:76navigates toROUTES.REPORT_CARD_ACTIVATE. To decide which screen sits under an RHP, navigation callsgetMatchingFullScreenRoute(). That function resolves the background either from anRHP_TO_*relation or by stripping a dynamic route suffix back to the report.REPORT_CARD_ACTIVATEis registered as a plain static route inconfig.ts:1511-1515and appears in none of theRHP_TO_*relations — unlike its working sibling report RHPs (REPORT_DETAILS,REPORT_CHANGE_WORKSPACE,REPORT_SETTINGS), which are all dynamic routes. SogetMatchingFullScreenRoute()returnsundefined,linkToskips the background swap, and the previous full-screen (Wallet) stays visible behind the panel.Why now (regression, staging-only): the report-scoped card-activate flow has existed since Oct 2025, but the sibling report RHPs were converted to dynamic routes in the recent dynamic-routes navigation migration (
Expensify/App#94172, merged 2026-07-02, in this staging deploy).REPORT_CARD_ACTIVATEwas left behind as a static route, which is why the background regressed on staging but not production.What changes do you think we should make in order to solve the problem?
Give
REPORT_CARD_ACTIVATEa valid background mapping, consistent with the dynamic-routes migration:REPORT_CARD_ACTIVATEto a dynamic route like its sibling report RHPs (REPORT_DETAILS/REPORT_CHANGE_WORKSPACE), so the underlyingr/:reportIDreport central pane is resolved automatically. It was simply missed inExpensify/App#94172.REPORT_CARD_ACTIVATEto the report/home RHP relation sogetMatchingFullScreenRoute()maps it to the report central pane.Secondary bug found while investigating (should be fixed too)
ActivatePhysicalCardPage.tsx:21callsROUTES.REPORT_WITH_ID.getRoute(cardID, reportID, reportActionID), but the signature isgetRoute(reportID, reportActionID?, referrer?, backTo?).cardIDis passed wherereportIDis expected, sonavigateBackTobecomes a garbage URL (r/<cardID>/<reportID>...) pointing at a non-existent report. This is a long-standing bug (sinceExpensify/App#60290, Oct 2025), not the cause of the wallet background, but it breaks the RHP's back/return-to-report and should be corrected togetRoute(reportID, reportActionID)in the same fix.Also note
ActivatePhysicalCardPageBase.tsx:61-70: the shared base auto-goBacks toSETTINGS_WALLET_DOMAIN_CARD(a Wallet route) once the card state isOPEN, ignoringnavigateBackTo. For the report caller this can also pull navigation into the Wallet tab and is worth verifying alongside the primary fix.Investigation details & evidence chain
IssueCardMessage.tsx:76Navigation.navigate(ROUTES.REPORT_CARD_ACTIVATE.getRoute(...)).linkTocallsgetMatchingFullScreenRoute(REPORT_CARD_ACTIVATE)ingetAdaptedStateFromPath.ts: nobackTo, absent from everyRHP_TO_*relation, and static (no dynamic suffix) → returnsundefined.linkTo/index.tsskips the full-screen swap, so the current Wallet full-screen remains under the RHP.config.ts:1504-1520);REPORT_CARD_ACTIVATEis not.Confidence: High — code-verified end to end. Not disproven by an alternative (a deep-link/refresh would recover via
getDefaultFullScreenRoutesincereportIDis in params, which matches this being an in-applinkTo-only, staging-only regression). A quick repro from a report chat would confirm which path (missing mapping vs. base-page auto-goBack) the tester hit.Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/95720)to create a draft PR.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
mjasikowski commentedon Jul 9, 2026
@huult @suneox
huult commentedon Jul 9, 2026
@mjasikowski I’ll check it tomorrow as soon as I can
huult commentedon Jul 10, 2026
Checking...
huult commentedon Jul 10, 2026
Since this issue is related to the dynamic routes PR, I'd like to get @collectioneur's input on the best approach. @collectioneur, could you please review Melvin's proposal? Do you think we should update the navigation utils, or would it be better to migrate
REPORT_CARD_ACTIVATEto a dynamic route instead?7 remaining items
huult commentedon Jul 10, 2026
I've opened a draft PR to discuss the approach with @collectioneur: https://github.com/Expensify/App/compare/main...huult:App:95720-test?expand=1.
I'll do some more testing and let you know when it's ready for review.
huult commentedon Jul 13, 2026
MelvinBot commentedon Jul 13, 2026
Run details
huult commentedon Jul 13, 2026
The PR is up
melvin-bot commentedon Jul 13, 2026
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
huult commentedon Jul 23, 2026
Screen.Recording.2026-07-23.at.09.35.42.mov
This issue has been fixed, and we can close it. cc @mjasikowski @suneox