Display sync error when connecting to NetSuite with invalid credentials#47059
Display sync error when connecting to NetSuite with invalid credentials#47059tgolen merged 3 commits intoExpensify:mainfrom
Conversation
|
@tgolen The original issue was resolved, we were unable to register with invalid credentials. Screen.Recording.2024-08-10.at.17.42.12.movthanks :D |
|
Yes, please update that error message in this PR. |
|
Should we change the existing message 'Waiting for imported data to load' or add a new loading message? If so, what message should we display for this scenario? |
I believe we should add another message/step @nyomanjyotisa, I haven't looked deep into it yet but it doesn't seem like we're going to have any complications, what do you think? |
|
I don't know... sorry. I'm not very familiar with all the different states. Maybe @yuwenmemon or @francoisl could offer some opinions. Also, it would probably help them if you could lay out more clearly what you are asking for. I'm a little lost at this point. |
|
Sorry for the mess, give me a moment and I'll summarize Edit: Sorry team, I made a mess here. @nyomanjyotisa's work is fine, I thought we should create a message for the verification moment, but the current one is correct, we use the same one for the other login methods (Xero, Sage, ...), sorry for that, my inattention. I will fill out the checklist today. Sorry again for the that @tgolen. |
Reviewer Checklist
Screenshots/VideosAndroid: Native47059_android_native.movAndroid: mWeb Chrome47059_android_web.moviOS: Native47059_ios_native.moviOS: mWeb Safari47059_ios_web.movMacOS: Chrome / Safari47059_chorme_web.movMacOS: Desktop47059_chorme_desktop.mov |
|
✋ 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/tgolen in version: 9.0.23-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.23-0 🚀
|
| // NetSuite does not use the conventional lastSync object, so we need to check for lastErrorSyncDate | ||
| if (connectionName === CONST.POLICY.CONNECTIONS.NAME.NETSUITE) { | ||
| if (!isSyncInProgress && !!policy?.connections?.[CONST.POLICY.CONNECTIONS.NAME.NETSUITE].lastErrorSyncDate) { | ||
| if ( |
There was a problem hiding this comment.
This was causing "Can't connect to NetSuite" message to appear after connecting to Netsuite, we fixed this in #50032.
Details
Fixed Issues
$ #46768
PROPOSAL: #46768 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Display-sync-error-when-connecting-to-NetSuite-with-invalid-credentials-by-nyomanjyotisa-.-Pull-Request-47059-.-Expensify-App.1.mp4
Android: mWeb Chrome
Video-detail-page.2.mp4
iOS: Native
iOS: mWeb Safari
RPReplay_Final1723117099.1.mp4
MacOS: Chrome / Safari
-1-New-Expensify.20.mp4
MacOS: Desktop
Display-sync-error-when-connecting-to-NetSuite-with-invalid-credentials-by-nyomanjyotisa-.-Pull-Request-47059-.-Expensify-App.mp4