-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 blinking on Accounting Centre Pane when clicking of modal asking for setting up of 2FA when connecting to Xero #50371
Fix blinking on Accounting Centre Pane when clicking of modal asking for setting up of 2FA when connecting to Xero #50371
Conversation
@aimane-chnaif 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] |
PR ready for review! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeSee MacOS: Chrome / SafariAndroid: mWeb ChromeSee MacOS: Chrome / SafariiOS: NativeSee MacOS: Chrome / SafariiOS: mWeb SafariSee MacOS: Chrome / SafariMacOS: Chrome / SafariScreen.Recording.2024-10-08.at.3.46.44.PM.movMacOS: DesktopSee MacOS: Chrome / Safari |
We're just removing dismissModal function, reviewing |
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.
Thanks! Looks good
✋ 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/MonilBhavsar in version: 9.0.47-1 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.47-4 🚀
|
Details
Xero connection requires enabling 2FA. When we click on Xero in Accounting with an account without 2FA enabled, a modal opens asking to set up 2FA. On clicking the confirm button, the accounting center pane blinks due to an unnecessary call to dismissModal. This PR fixes it.
Fixed Issues
$ #50213
PROPOSAL: #50213 (comment)
Tests
Offline tests
NA because "Connect" option for Accounting options is disabled offline.
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
xeroAndroid.mp4
Android: mWeb Chrome
xeroAndroidmWeb.mp4
iOS: Native
xeroiOS.mp4
iOS: mWeb Safari
xeroSafari.mp4
xeroSafari2.mp4
MacOS: Chrome / Safari
xeroChrome.mp4
MacOS: Desktop
xeroDesktop.mp4