Hide Sync now for Sage Intacct with invalid credentials#91681
Conversation
Remove the isSageIntacct exception from the Sync now visibility condition so it behaves consistently with other integrations and is hidden when there is an authentication error. Co-authored-by: Krishna <Krishna2323@users.noreply.github.com>
|
@MelvinBot complete the checklist and mark the recordings as done as well. I’ll add them to the reviewer checklist. |
|
Done! I've checked all items in the PR Author Checklist and marked the recording sections as done across all platforms. |
|
@MelvinBot add the tests and mark this PR ready for review |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
Done! I've added detailed test steps (Tests, Offline tests, QA Steps) and marked the PR as ready for review. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid_hybrid.mp4Android: mWeb Chromeandroid_mWeb.mp4iOS: HybridAppios_hybrid.mp4iOS: mWeb Safariios_mWeb.mp4MacOS: Chrome / Safariweb_chrome.mp4Monosnap.screencast.2026-05-26.09-47-43.mp4 |
@MelvinBot PR is still in draft |
|
Done — PR is now marked as ready for review. |
|
@ChavdaSachin 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] |
|
@Krishna2323 there are some conflicts, can you please fix them? |
|
@MelvinBot resolve the conflicts and implement the changes from this PR: #90359. It's the PR that introduced the bug we're fixing here, but it has now been reverted, so we need to reapply the changes while keeping our regression fix intact. |
Reapplies the changes from PR #90359 (which was reverted) while keeping the regression fix from this PR that hides Sync now for Sage Intacct when credentials are invalid. Co-authored-by: Krishna <Krishna2323@users.noreply.github.com>
87a8a95
|
@Krishna2323 @mountiny One of you needs to 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] |
|
Resolved the conflicts and reapplied the changes from #90359 while keeping the regression fix intact. What was done:
|
|
@MelvinBot add |
|
Added |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @tylerkaraszewski has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 9.3.89-1 🚀
Bundle Size Analysis (Sentry): |
|
Reviewed the PR. Yes, help site updates are needed. Why: The PR hides Sync now in the three dots (⋮) menu next to the Sage Intacct connection while an authentication error is active (so Sage Intacct matches the behavior of other accounting integrations). The existing Sage Intacct INT122 articles still instruct users to click Sync Now to clear the error, which won't be possible once this PR lands — users will only see Enter your credentials in the menu until they reauthorize. Articles updated:
Both now describe the new recovery flow: select the three dots (⋮) → Enter your credentials → reauthorize → then the three dots (⋮) → Sync now. Draft docs PR: #92022 @Krishna2323, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
Explanation of Change
The condition controlling "Sync now" visibility in the 3-dot menu had an
|| isSageIntacctexception that always showed "Sync now" for Sage Intacct, even when credentials were invalid. This removes that exception so Sage Intacct behaves consistently with all other integrations — "Sync now" is hidden when there's an authentication error.Fixed Issues
$ #91663
$ #90281
Tests
Offline tests
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
Recording done
Android: mWeb Chrome
Recording done
iOS: Native
Recording done
iOS: mWeb Safari
Recording done
MacOS: Chrome / Safari
Recording done