Fix: Login page loads infinitely when logging in from Another login page is open page#29797
Fix: Login page loads infinitely when logging in from Another login page is open page#29797flodnv merged 3 commits intoExpensify:mainfrom
Another login page is open page#29797Conversation
|
Can't test on mWeb Chrome because the tab preview is not live while it is on Safari. |
Reviewer Checklist
Screenshots/VideosWeb29797-web.mp4Mobile Web - Chrome29797-mobile-chrome.mp4Mobile Web - Safari29797-mobile-safari.mp4Desktop29797-desktop.mp4iOS29797-mobile-ios.mp4Android29797-mobile-android.mp4 |
ntdiary
left a comment
There was a problem hiding this comment.
Although we can only test this on web platform, since we are modifying platform-independent file, it would be better to ensure other platforms can still display and log in properly. 🙂
|
Additionally, a bit strange, for the multiple tabs, sometimes logging in fails, but I think this is already out of the scope. error.mp4 |
|
Actually there're problems with |
|
✋ 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/flodnv in version: 1.3.87-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/flodnv in version: 1.3.87-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.87-12 🚀
|
|
🚀 Deployed to staging by https://github.com/flodnv in version: 1.3.88-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.88-11 🚀
|
Details
Login page loads infinitely when logging in from
Another login page is openpage. This PR hides all login-related components if the current tab is not the leader one.Fixed Issues
$ #29170
PROPOSAL: #29170 (comment)
Tests
Another login page is openmessage appearsAnother login page is openmessage still appear, without any login-related componens, such as magic code input, only the message itselfOffline tests
NA
QA Steps
Another login page is openmessage appearsAnother login page is openmessage still appear, without any login-related componens, such as magic code input, only the message itselfPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
iOS: mWeb Safari
login-safari-compressed.mov
MacOS: Chrome / Safari
login-compressed.mov