Deactivate card modal shown briefly for a new card#71640
Conversation
Codecov Report❌ Patch coverage is
... and 1073 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
@Ollyws Can you please review the PR? Thanks |
|
Will get to this today. |
|
@nkdengineer on iOS native the magic code screen flashes when we deactivate. Screen.Recording.2025-10-07.at.01.41.10.mov |
|
Thanks for your response, I updated the PR to fix this issue, here is the result Screen.Recording.2025-10-07.at.11.42.45.mov |
|
Thanks for the changes but this fix results in a kind of double sliding animation which doesn't happen on main: Screen.Recording.2025-10-10.at.14.58.52.mov |
|
@Ollyws I think that's fine, because it already happens on staging Screen.Recording.2025-10-13.at.18.48.22.mov |
|
What do you think about this behaviour @francoisl? |
|
Is there any way to avoid the double sliding animation after entering the magic code? I'm pretty sure someone would end up reporting this as a regression or bug. (also, I don't see the same thing happening in this recording) |
In this video, we can see the attachment modal disappears totally first then the RHP is open. It's same as our case, the magic code modal disappears totally first then hide then dismiss the RHP. @Ollyws @francoisl |
|
Got it, I see. It's still not ideal though. We don't need to fix the receipt upload issue here because it's out of scope, but let's try to avoid issue in the the card deactivate card flow. Just throwing out an idea and I don't know if it's the best solution, but can we somehow leverage |
|
Thank you, I'll test this solution to see if it can fix the issue |
|
@Ollyws I updated the PR to disable animationOutTiming, can you please review again? Screen.Recording.2025-10-21.at.15.15.28.mov |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp01_Android_Native.mp4Android: mWeb Chrome02_Android_Chrome.mp4iOS: HybridApp03_iOS_Native.mp4iOS: mWeb Safari04_iOS_Safari.mp4MacOS: Chrome / Safari05_MacOS_Chrome.mp4MacOS: Desktop06_MacOS_Desktop.mp4 |
Ollyws
left a comment
There was a problem hiding this comment.
The animation is removed from the magic code step when comparing to staging, but to me this looks better and more congruent with the other steps of the flow so I'm going to go ahead and approve:
Screen.Recording.2025-10-22.at.09.56.50.mov
|
I agree, and it's better than the double sliding animation for sure. |
|
✋ 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/francoisl in version: 9.2.37-1 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.2.37-8 🚀
|
Explanation of Change
Fixed Issues
$ #71025
PROPOSAL: #71025 (comment)
Tests
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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.2025-10-01.at.10.50.42.mov
Android: mWeb Chrome
Screen.Recording.2025-10-01.at.10.39.08.mov
iOS: Native
Screen.Recording.2025-10-01.at.10.46.31.mov
iOS: mWeb Safari
Screen.Recording.2025-10-01.at.10.36.57.mov
MacOS: Chrome / Safari
Screen.Recording.2025-10-01.at.10.52.24.mp4
MacOS: Desktop
Screen.Recording.2025-10-01.at.10.32.42.mp4