-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix(onboarding): update plan when integration is selected #60551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(onboarding): update plan when integration is selected #60551
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
@@ -9989,11 +9989,18 @@ function prepareOnboardingOnyxData( | |||
} | |||
|
|||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use AllConnections instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eVoloshchak I have updated, please review again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jaydamani, can we use AllConnections instead of manually listing the connections?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
✋ 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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