#39005 - Polish items for Transfer owner flow #39035
#39005 - Polish items for Transfer owner flow #39035luacmartins merged 11 commits intoExpensify:mainfrom
Conversation
b055809 to
3279ebe
Compare
luacmartins
left a comment
There was a problem hiding this comment.
Left a few small comments. Otherwise looks good and tests really well!
|
@thesahindia 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] |
|
@luacmartins I've published the PR, but I couldn't add videos for all platforms... I've encountered an error (I think) on all mobile devices, where I can't open any workspace on the workspaces list page - it's just not reacting to pressing on the item. Please see the video below: Screen.Recording.2024-03-28.at.11.07.31.mov |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeblocked by #38734 (comment) Android: mWeb Chromeblocked by #38734 (comment) iOS: Nativeblocked by #38734 (comment) iOS: mWeb Safariblocked by #38734 (comment) MacOS: Chrome / SafariScreen.Recording.2024-03-28.at.9.57.26.AM.movMacOS: DesktopScreen.Recording.2024-03-28.at.10.19.47.AM.mov |
|
This flow is tricky to test as C+ so I'll do the checklist here. @burczu I checked off those platform videos since we're blocked from testing in those platforms. Gonna go ahead and merge this. |
|
@luacmartins looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ 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/luacmartins in version: 1.4.58-0 🚀
|
|
@luacmartins @burczu We don't see the option |
|
@kavimuru I think it's ok to skip the outstanding balance check in that case. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.58-8 🚀
|
| useEffect(() => { | ||
| updateDisplayTexts(); | ||
| // eslint-disable-next-line react-hooks/exhaustive-deps | ||
| }, []); | ||
|
|
||
| useEffect(() => { | ||
| updateDisplayTexts(); | ||
| }, [updateDisplayTexts]); |
There was a problem hiding this comment.
Is this intended to have two useEffects here? 🤔 cc @luacmartins @burczu
There was a problem hiding this comment.
I can't think of a reason to have both, it seems like we can get rid of the first one without affecting functionality.
There was a problem hiding this comment.
@carlosmiceli I started investigating components that disable react-hooks/exhaustive-deps and react-compiler/react-compiler because of this comment. That's how I noticed this weird duplicate.
I created a follow up issue to react-compiler upgrade PR, could you assign me to it? I don't want to spend too much time on this, but to fix some of obvious mistakes we have in the codebase. I could fix this one there too, let me know what do you think :)
There was a problem hiding this comment.
Not sure if you meant to tag @carlosmiceli, but I assigned you to the issue above.
There was a problem hiding this comment.
Ahh, sorry. I meant to tag you of course 🤦

Details
This PR fixes some issues that left after merging the main Transfer Owner Flow feature.
Fixed Issues
$ #39005
PROPOSAL: n/a
Tests
Offline tests
The Transfer owner functionality should be unavailable in the offline mode.
QA Steps
Same as in Tests section.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
n/a
Android: mWeb Chrome
n/a
iOS: Native
n/a
iOS: mWeb Safari
n/a
MacOS: Chrome / Safari
Screen.Recording.2024-03-28.at.10.47.01.mov
Screen.Recording.2024-03-28.at.10.50.15.mov
MacOS: Desktop
Screen.Recording.2024-03-28.at.10.53.55.mov
Screen.Recording.2024-03-28.at.10.55.48.mov