[CP Staging] Fix problem with non-worklet tooltip and switch with update modal#53379
Conversation
|
@shubham1206agra 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] |
|
Is there anything needed from a design-perspective here? |
|
@shawnborton No 😄 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-12-03.at.1.36.58.PM.moviOS: NativeScreen.Recording.2024-12-03.at.2.00.43.PM.moviOS: mWeb SafariScreen.Recording.2024-12-03.at.1.36.58.PM.movMacOS: Chrome / SafariScreen.Recording.2024-12-03.at.1.32.46.PM.movMacOS: DesktopScreen.Recording.2024-12-03.at.1.39.39.PM.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…reanimate-bugfixs [CP Staging] Fix problem with non-worklet tooltip and switch with update modal (cherry picked from commit 4195ffc) (CP triggered by mountiny)
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.70-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.70-9 🚀
|
|
|
||
| useEffect(() => { | ||
| offsetX.set(withTiming(isOn ? OFFSET_X.ON : OFFSET_X.OFF, {duration: 300})); | ||
| }, [isOn, offsetX]); |
There was a problem hiding this comment.
This effect caused minor bug.
More details: #79863 (comment), #79863 (comment)
Explanation of Change
Fix error with switch after opening upgrate window
Fixed Issues
$ #53447
PROPOSAL:
Unnecessary
Tests
Expected:
The switch should remain false when the window is closed without any action.
Offline tests
Unnecessary
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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-12-02.at.13.50.45.mp4
Android: mWeb Chrome
Screen.Recording.2024-12-02.at.13.53.54.mp4
iOS: Native
Screen.Recording.2024-12-02.at.13.48.06.mp4
iOS: mWeb Safari
Screen.Recording.2024-12-02.at.13.43.01.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-12-02.at.13.38.23.mp4
MacOS: Desktop
Screen.Recording.2024-12-02.at.13.56.16.mp4