-
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
Fix beneficial owner form is not shown after revisiting the page #32278
Fix beneficial owner form is not shown after revisiting the page #32278
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@cubuspl42 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] |
@bernhardoj Is it the only place in the app where this bug occured? Or is there any way to skip the Onfido flow? |
Yeah, I think it's the only place. I use this information to avoid Onfido. Routing number: 011401533 First name: Alberta |
But it also fails this way on staging (although not on prod). I think this might be some temporary issue on |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hmm, yeah, I just experienced this. I don't know if there is an issue with that, but I think we should wait until it's resolved
I never tried opening a |
This was supposed to land in another issue. Too many open Expensify tabs. Sorry! |
@cubuspl42 looks like the issue is gone now. |
Doesn't skip Onfido for me 🙁 Edit: I worked around it with hardcoding the current step: const currentStep = CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT; |
Console error:
|
Nice
Yeah, I notice that on |
@bernhardoj I wasn't aware that this occurred on |
Please merge |
Reviewer Checklist
Screenshots/VideosWebform-initial-draft-web.mp4Mobile Web - Chromeform-initial-draft-android-web-compressed.mp4Mobile Web - Safariform-initial-draft-ios-web.mp4Desktopform-initial-draft-desktop.mp4iOSform-initial-draft-ios.mp4Androidform-initial-draft-android-compressed.mp4 |
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 tested using a trick with hardcoding the flow's current step, as I couldn't find a way to skip the Onfido flow.
The fix itself is very straight-forward and looks good.
Merged with main |
@tylerkaraszewski All yours 🙂 |
✋ 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/tylerkaraszewski in version: 1.4.12-0 🚀
|
🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 1.4.12-0 🚀
|
🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 1.4.12-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.12-2 🚀
|
Details
The beneficial owner form depends on the form input values state. When revisiting the page, the form is mounted with an empty input values state. This PR initialize the state with the form draft values.
Fixed Issues
$ #31848
PROPOSAL: #31848 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Screen.Recording.2023-12-01.at.00.11.33.mov
Android: mWeb Chrome
Screen.Recording.2023-12-01.at.00.14.14.mov
iOS: Native
Screen.Recording.2023-12-01.at.00.09.53.mov
iOS: mWeb Safari
Screen.Recording.2023-12-01.at.00.03.04.mov
MacOS: Chrome / Safari
Screen.Recording.2023-12-01.at.00.00.07.mov
MacOS: Desktop
Screen.Recording.2023-12-01.at.00.02.14.mov