Update conciergeReportID to remove Onyx.connect - 33 - #97371
Open
cretadn22 wants to merge 1 commit into
Open
Conversation
…st and requestMoney Makes conciergeChat required in CompleteOnboardingProps and RequestMoneyInformation, and threads the Concierge chat report from useOnyx sources through completePaymentOnboarding, payMoneyRequest and the test-drive requestMoney path so prepareOnboardingOnyxData no longer needs the deprecated CONCIERGE_REPORT_ID Onyx.connect fallback on these call paths (Expensify#66411). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
melvin-bot
Bot
requested review from
DylanDylann and
heyjennahay
and removed request for
a team
July 29, 2026 18:50
|
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
melvin-bot
Bot
requested review from
a team and
rlinoz
and removed request for
a team
July 29, 2026 18:51
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
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.
Explanation of Change
Part of the incremental removal of the deprecated
Onyx.connect(CONCIERGE_REPORT_ID)usage inReportUtils(#66411). This PR threads the Concierge chat report through two remaining call chains that feedprepareOnboardingOnyxData:conciergeChatis now a required field ofCompleteOnboardingProps.completePaymentOnboardingaccepts a newconciergeChatparameter and forwards it, threaded frompayMoneyRequest,payInvoice,AddPaymentMethodMenuandBaseKYCWall(sourced withuseOnyx(CONCIERGE_REPORT_ID)+ the report collection key).payMoneyRequestaccepts a requiredconciergeChat, threaded from all 8 call sites. The Search chain (handleActionButtonPress→getPayActionCallback) and the search list items get it fromusePaymentContext, which already subscribes to it.RequestMoneyInformation.conciergeChatis a new required field, andrequestMoneyforwards it to the test-driveprepareOnboardingOnyxDatacall. Page/hook callers pass the real report; theIOUAmountSubmission/Duplicate/MoneyRequestcascades pass an explicitundefinedwith aDeferred:marker, consistent with their existing markers, until those cascades are migrated.The
prepareOnboardingOnyxDatafallback itself stays in place until the remaining deferred callers (getGuidedSetupDataForOpenReportand the marked cascades) are threaded in follow-up PRs.New unit tests cover both threading paths:
completePaymentOnboardingforwardingconciergeChattocompleteOnboarding, and the test-driverequestMoneypath forwarding it toprepareOnboardingOnyxData.Fixed Issues
$ #66411
PROPOSAL:
Tests
npx jest tests/actions/IOUTest/PayMoneyRequestTest.ts tests/actions/IOU/RequestMoneyTest.tsand verify all tests passOffline tests
Same as tests. The onboarding data is written optimistically, so the Concierge messages should appear while offline and sync once back online.
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari