fix(onboarding): update plan when integration is selected#60551
fix(onboarding): update plan when integration is selected#60551blimpich merged 4 commits intoExpensify:mainfrom
Conversation
|
@eVoloshchak 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] |
|
@eVoloshchak minor bump |
src/libs/ReportUtils.ts
Outdated
| } | ||
|
|
||
| if (userReportedIntegration) { | ||
| const requiresCorporatPlan: OnboardingAccounting[] = [CONST.POLICY.CONNECTIONS.NAME.NETSUITE, CONST.POLICY.CONNECTIONS.NAME.QBD, CONST.POLICY.CONNECTIONS.NAME.SAGE_INTACCT]; |
There was a problem hiding this comment.
| const requiresCorporatPlan: OnboardingAccounting[] = [CONST.POLICY.CONNECTIONS.NAME.NETSUITE, CONST.POLICY.CONNECTIONS.NAME.QBD, CONST.POLICY.CONNECTIONS.NAME.SAGE_INTACCT]; | |
| const requiresControlPlan: OnboardingAccounting[] = [CONST.POLICY.CONNECTIONS.NAME.NETSUITE, CONST.POLICY.CONNECTIONS.NAME.QBD, CONST.POLICY.CONNECTIONS.NAME.SAGE_INTACCT]; |
There was a problem hiding this comment.
@eVoloshchak I have updated, please review again
There was a problem hiding this comment.
@jaydamani, can we use AllConnections instead of manually listing the connections?
There was a problem hiding this comment.
@eVoloshchak Not sure if I follow but allConnections is a type and we need to check on runtime so we need the values as array/object. Also I think allConnections is like interface/type for data after the connection is enabled so it does not have any information about the plan required to enable a configuration.
|
Could you also add the screen recordings for native platforms, please? |
…ng/updte-plan-for-integrations
Done |
|
Also, could you pull the latest main please? There seems to be an issue with GH checks |
…ng/updte-plan-for-integrations
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-05-07.at.22.09.31.movAndroid: mWeb ChromeScreen.Recording.2025-05-04.at.20.53.19.moviOS: HybridAppScreen.Recording.2025-05-07.at.22.19.18.moviOS: mWeb SafariScreen.Recording.2025-05-04.at.20.48.54.movMacOS: Chrome / SafariScreen.Recording.2025-05-04.at.20.40.59.movMacOS: DesktopScreen.Recording.2025-05-07.at.22.24.15.mov |
|
Still experiencing problems building HybridApp (iOS and Android), expect an update later today |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.1.42-0 🚀
|
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.1.43-5 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.44-8 🚀
|
Explanation of Change
Fixed Issues
$ #59473
PROPOSAL: #59473 (comment)
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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))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
onboarding-a.mp4
Android: mWeb Chrome
android.webm.mp4
iOS: Native
ios-onboarding.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-04-20.at.23.05.57.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov