-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB: Is this returning null for explicit clarity or does it serve any other purpose as well?
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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.
LGTM
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 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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
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