[Wave Collect][Xero] Enforce 2FA for xero#44059
Conversation
|
cc @mananjadhav |
|
Needs lint fix and filling author checklist completion. |
|
@rushatgabhane Looks like there's a small conflict now, can we resolve? Let's try to get this PR merged, we're so close! |
|
@francoisl all resolved and retested. Updated the screenshots with new ones. ✅ |
|
Looking good! One issue I'm seeing is that after enabling 2FA, chats don't load at all. Expenses on the Search page initially don't load either, but after switching between tabs they load. Are you guys seeing that on your side too? Screen.Recording.2024-07-15.at.11.58.54.AM.mov |
|
@francoisl nice catch! It might be due to bad data. I fixed it by clearing onyx data and then making the api calls. Here is how it looks - Screen.Recording.2024-07-16.at.05.49.15.mov |
|
Thanks for the quick fix. Tested again and it works great now 🚀 |
|
✋ 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/francoisl in version: 9.0.8-1 🚀
|
|
@rushatgabhane @c3024 this might have caused a deploy blocker #45572 |
|
@MonilBhavsar the issue is unrelated to the PR and related to navigation |
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.0.8-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.9-5 🚀
|
| <RequireTwoFactorAuthenticationModal | ||
| onSubmit={() => { | ||
| setShouldShowRequire2FAModal(false); | ||
| Navigation.navigate(ROUTES.SETTINGS_2FA.getRoute(ROUTES.HOME)); |
There was a problem hiding this comment.
An edge case on ios hybrid required us to call navigate only after the modal is closed. This is addressed in #58245
Details
Fixed Issues
$ #43015
PROPOSAL:
Tests
Test 1 - Require 2FA for connection
Test 2 - Require 2FA for admin that signs in
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
Screen.Recording.2024-07-15.at.00.31.51.mov
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-06-20.at.06.12.33.mov
Screen.Recording.2024-06-20.at.07.18.16.mov
MacOS: Desktop