fix create expense flow regression#56638
Conversation
|
@alitoshmatov 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] |
|
Hi @alitoshmatov, the follow up PR is a priority. Please comment here if you want me to keep you assigned, else I would like to assign to someone else in the team |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-11.at.11.41.38.PM.movAndroid: mWeb ChromeScreen.Recording.2025-02-11.at.11.40.59.PM.moviOS: NativeScreen.Recording.2025-02-11.at.11.32.05.PM.moviOS: mWeb SafariScreen.Recording.2025-02-11.at.11.35.12.PM.movMacOS: Chrome / SafariMacOS: DesktopScreen.Recording.2025-02-11.at.11.33.50.PM.mov |
Screen.Recording.2025-02-11.at.10.44.32.PM.mov
Screen.Recording.2025-02-11.at.10.46.35.PM.mov
Screen.Recording.2025-02-11.at.10.48.15.PM.mov
Screen.Recording.2025-02-11.at.10.51.03.PM.mov |
|
@allgandalf For this one, you can we has no hover effect when hovering the participant. It's the expected instead of going to the detail page. |
allgandalf
left a comment
There was a problem hiding this comment.
Considering the issue:
As NAB, as mentioned by @nkdengineer here
♻️ I can confirm that the related blockers have been fixed, all yours @Julesssss
This comment was marked as outdated.
This comment was marked as outdated.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
fix create expense flow regression (cherry picked from commit 27d6da7) (CP triggered by Julesssss)
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.96-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.96-1 🚀
|
| isSelected: false, | ||
| isInteractive: transaction?.isFromGlobalCreate, | ||
| shouldShowRightIcon: transaction?.isFromGlobalCreate, | ||
| isInteractive: isCreateExpenseFlow, |
There was a problem hiding this comment.
Because part of the isCreateExpenseFlow condition variable (transaction?.isFromGlobalCreate) was evaluating as undefined, the condition variable itself evaluating as undefined and because isInteractive was expecting boolean, the following issue surfaced:
which we fixed by using double negation on the condition variable to enforce the boolean type.
Explanation of Change
This PR fixes the related bug from this PR
Fixed Issues
$ #56630
#56631
#56633
#56634
#56640
#56662
PROPOSAL:
Tests
Precondition: The user has a group default workspace
Tofield has no hover effect and can't be clickableOffline tests
Same
QA Steps
Tofield has no hover effect and can't be clickablePR 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.2025-02-11.at.14.30.46.mov
Android: mWeb Chrome
Screen.Recording.2025-02-11.at.14.28.03.mov
iOS: Native
Screen.Recording.2025-02-11.at.14.32.38.mov
iOS: mWeb Safari
Screen.Recording.2025-02-11.at.14.29.04.mov
MacOS: Chrome / Safari
Screen.Recording.2025-02-11.at.14.24.18.mov
Screen.Recording.2025-02-11.at.14.45.43.mp4
Screen.Recording.2025-02-11.at.14.25.36.mov
Screen.Recording.2025-02-11.at.14.26.57.mov
MacOS: Desktop
Screen.Recording.2025-02-11.at.14.34.47.mov