Repository navigation
[CP Staging] Only apply interaction for desktop - #34449
Conversation
|
@eVoloshchak 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromestartChatAndroidChrome-compressed.mp4iOS: NativeScreen.Recording.2024-01-15.at.8.04.53.AM.moviOS: mWeb SafaristartChatiOSSafari.mp4MacOS: Chrome / SafaristartChatChrome.mp4MacOS: DesktopstartChatDesktop.mp4 |
| @@ -0,0 +1,6 @@ | |||
| function doInteractionTask(callback: () => void) { | |||
| callback(); | |||
| return null; | |||
There was a problem hiding this comment.
NAB: Is this returning null for explicit clarity or does it serve any other purpose as well?
There was a problem hiding this comment.
For desktop we return an interaction and cancel it in cleanup function. For others, only need to return null.
There was a problem hiding this comment.
I saw that. By default it returns undefined anyway if we dont add any return statement. Returning null does not appear to serve any additional purpose. That's why I asked.
There was a problem hiding this comment.
By default it returns undefined anyway if we don't add any return statement
I know that but I think a function should return something.
mountiny
left a comment
There was a problem hiding this comment.
Thanks for the review moving this ahead as one of only two remaining deploy blockers
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
[CP Staging] Only apply interaction for desktop (cherry picked from commit 2c44394)
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.4.24-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
Re-running Desktop so we can confirm the fix -- update: @mountiny beat me to it |
|
Verified Andrroid, Android mWeb, and Web |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.4.24-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
Verified Desktop ✅ |
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.24-8 🚀
|
Details
Only apply interaction for desktop
Fixed Issues
$ #34371
PROPOSAL: #34371 (comment)
Tests
Offline tests
Same as above
QA Steps
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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-01-12.at.22.55.51.mov
Android: mWeb Chrome
Screen.Recording.2024-01-12.at.22.53.47.mov
iOS: Native
Screen.Recording.2024-01-12.at.22.57.04.mov
iOS: mWeb Safari
Screen.Recording.2024-01-12.at.22.52.17.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-12.at.22.47.28.mov
MacOS: Desktop
Screen.Recording.2024-01-12.at.23.01.44.mov