-
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
RequestorStep: Fix forward ref #28454
RequestorStep: Fix forward ref #28454
Conversation
While fixing this, I stumbled upon, such issue. It looks like there is a problem with Screen.Recording.2023-09-29.at.13.31.37.movTherefore, I could not get nice videos for all platforms, but I provided as an example recordings for Web and iOS, so we can see that currently investigated error with |
While testing on different platforms, it:
Screen.Recording.2023-10-03.at.11.34.27.mov
Screen.Recording.2023-10-03.at.10.53.42.mov |
Also tested with merged current main and the error still appears, so it does not look like a external regression |
There is a warning in the console when accessing third step of Bank account flow:
It looks like it is also present on main branch. It is also visible in the recordings. |
I needed to forwarded ref in the |
@aimane-chnaif 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 @aimane-chnaif, have you got an estimate on when this PR will be checked? Thanks! |
@kacper-mikolajczak please fix conflict |
@aimane-chnaif Conflicts resolved 👍 |
Hi @aimane-chnaif did you have a chance to look at the PR? Is there anything I can help you with to move it further? Thanks! |
@kacper-mikolajczak some checklist items are missing. please fix them |
@aimane-chnaif Done ✅ |
@kacper-mikolajczak conflicts. And I am still seeing this (android only) android.bug.mov |
Hi @aimane-chnaif, Conflicts resolved ✅ Warning does not seem to be present after last merge and a fix, could you check on your side? Thanks! out.mp4 |
@kacper-mikolajczak I am still seeing in android Screen.Recording.2023-11-05.at.2.41.23.PM.mov |
I finally figured out why this is happening on android only. |
Thanks @aimane-chnaif, I pushed the fix - let me know if warning is gone 👍 |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
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.
LGTM 🎉
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 think it looks good, but there are conflicts (@kacper-mikolajczak).
Thanks @joelbettner, conflicts resolved ✅ |
Not sure why perf-tests are failing. Following protocol found here. Merging |
@joelbettner 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/joelbettner in version: 1.3.96-6 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.96-15 🚀
|
🚀 Deployed to staging by https://github.com/joelbettner in version: 1.3.98-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.98-5 🚀
|
// We need to have this prop to remove keyboard before going away from the screen, to avoid previous screen look weird for a brief moment, | ||
// also we need to have generic control in future - to prevent closing keyboard for some rare cases in which beforeRemove has limitations | ||
// described here https://reactnavigation.org/docs/preventing-going-back/#limitations | ||
const beforeRemoveSubscription = shouldDismissKeyboardBeforeClose | ||
? navigation.addListener('beforeRemove', () => { | ||
if (!isKeyboardShownRef.current) { | ||
return; | ||
} | ||
Keyboard.dismiss(); | ||
}) | ||
: undefined; | ||
|
||
return () => { | ||
unsubscribeTransitionEnd(); | ||
|
||
if (beforeRemoveSubscription) { | ||
beforeRemoveSubscription(); | ||
} | ||
|
||
return ( | ||
<View | ||
style={[styles.flex1, {minHeight}]} | ||
// eslint-disable-next-line react/jsx-props-no-spreading | ||
{...(isDevelopment ? panResponder.panHandlers : {})} | ||
testID={testID} | ||
> | ||
}; |
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.
This did not work as intended. It later caused #30268
Details
Fixed Issues
$ #28390
PROPOSAL: #28390 (comment)
Tests
BankAccount
flow:Settings
panelWorkspaces
Bank Account
RequestorStep
Offline tests
QA Steps
N/A
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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)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
Web
requestorStep_rec_web.mov
Mobile Web - Chrome
requestorStep_rec_mandroid.mov
Mobile Web - Safari
requestorStep_rec_mios.mov
Desktop
requestorStep_rec_desktop.mov
iOS
requestorStep_rec_ios.mov
Android
requestorStep_rec_android.mov