-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
#39005 - Polish items for Transfer owner flow #39035
#39005 - Polish items for Transfer owner flow #39035
Conversation
b055809
to
3279ebe
Compare
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended to have two useEffects here? 🤔 cc @luacmartins @burczu
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 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if you meant to tag @carlosmiceli, but I assigned you to the issue above.
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.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
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