-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[OLD] Fix scroll on native when going back to the login page #24499
Conversation
Regarding the failing unit test check, there is a unit test that fails on main. I've written this on the PR that I think introduced this, and I have also reported it as a bug. |
Hey team, do you mind pulling from |
Thanks for the quick fix! No unit tests are failing now, ready for review @mollfpr |
I'm still struggling to run the android app in my local, and it's always failed to build the CMake. Any idea? |
Hmm no I haven't run into that. If you want I can try to build an APK and send it to you. Alternatively there might be someone on Slack who knows how to solve it, seems like there are a few people who've run into CMake issues. |
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.
Sorry for the delay. I manage to run the Android app. Overall the code and test look good, just a couple of comments.
Updated code/responded to comment @mollfpr |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-08-18.at.01.27.35.movMobile Web - ChromeScreen_Recording_20230818_012401_Chrome.mp4Mobile Web - SafariSimulator.Screen.Recording.-.iPhone.14.Pro.-.2023-08-18.at.01.26.56.mp4DesktopScreen.Recording.2023-08-18.at.01.31.30.moviOSSimulator.Screen.Recording.-.iPhone.14.Pro.-.2023-08-18.at.01.33.15.mp4AndroidScreen_Recording_20230818_012106_New.Expensify.Dev.mp4 |
Friendly ping @mollfpr, would be great if we can get this merged within 9 days of assignment |
The code looks good and tests well. @joh42 Could you resolve the conflict? Thanks! |
Welp... so while I did resolve the conflict, the commit wasn't signed, and I didn't notice until after I had pushed. I know you're not supposed to force push when a PR review has been started, but reverting won't remove the unsigned commit. Is it okay if I remove the unsigned commit and force push in this scenario @mollfpr? |
@joh42 Could you try the suggestion here https://expensify.slack.com/archives/C01GTK53T8Q/p1688664028660859? |
While that did allow me to sign the commit locally, I'm still unable to push without using force since my local branch differs from the one on Github @mollfpr. Since there are new conflicts, I think the cleanest solution might be to remove the unsigned conflict resolution commit and instead resolve all conflicts in a signed commit. But again, that would require a force push. |
@joh42 Okay, let's open a new PR to get cleaner commit and seems everything looks good. |
Details
If the input field is focused when you go back to the login page on native, you are not scrolled to the top of the page. This differs from mweb, where you are scrolled to the top.
Fixed Issues
$ #23718
PROPOSAL: #23718 (comment)
Tests
Tests to make sure login is not broken:
Tests for fixes on native:
With focus
Without focus
Offline tests
Same as regular tests
QA Steps
Same as regular tests
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
Screen.Recording.2023-08-13.at.18.35.49.mov
Mobile Web - Chrome
Screen.Recording.2023-08-13.at.16.03.42.mov
Mobile Web - Safari
Screen.Recording.2023-08-13.at.16.00.04.mov
Desktop
Screen.Recording.2023-08-13.at.18.34.05.mov
iOS
Screen.Recording.2023-08-13.at.15.53.54.mov
Screen.Recording.2023-08-13.at.15.54.35.mov
Screen.Recording.2023-08-13.at.15.55.08.mov
Android
Screen.Recording.2023-08-13.at.17.50.02.mov
Screen.Recording.2023-08-13.at.17.51.05.mov
Screen.Recording.2023-08-13.at.17.52.23.mov