redirect Anon user to sign in page on shortcut use#29323
redirect Anon user to sign in page on shortcut use#29323AndrewGable merged 4 commits intoExpensify:mainfrom
Anon user to sign in page on shortcut use#29323Conversation
|
@0xmiroslav 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] |
|
I found weird bug on main Repro step:
Screen.Recording.2023-10-12.at.6.35.41.PM.mov |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
|
Conflicts! |
| } else { | ||
| if (Navigation.isActiveRoute(ROUTES.SIGN_IN_MODAL)) { | ||
| return; | ||
| } |
There was a problem hiding this comment.
@0xmiroslav conflicts resolved
cc @AndrewGable
|
@0xmiroslav - Were you able to run through the tests once more before approving? Just wanted to double check, thanks. |
yes, tested |
|
✋ 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/AndrewGable in version: 1.3.91-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.91-8 🚀
|
Details
Fixing redirect issue with using shortcut
CMD + KorCMD + SHIFT + Kin public room as anonymous userFixed Issues
$ #28249
PROPOSAL: #28249 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
CMD + K, verify that login modal appears.CMD + SHIFT + K, verify that login modal appears.PR 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
Android: Native
WhatsApp.Video.2023-10-11.at.10.06.25.PM.1.mp4
Android: mWeb Chrome
android-chrome.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
mweb-safari.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov