-
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
Fix reload year search page, date search selection breaks in DOB page #18944
Conversation
@mountiny @rushatgabhane One of you needs to 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] |
Sorry for the ping Rushat, @ArekChr will handle the review here |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemobile.chrome.movMobile Web - Safarimobile.safari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
Hey @hoangzinh, I've reviewed the PR, and it looks good to me. I just wanted to point out one thing: the navigation seems inverted. When I reload the year page and select a year, it pushes the DOB as a new screen instead of popping it. Could you please look into this and see if it can be fixed? After reloading the DOB page, it would be great if it appeared under the year list selection. |
@ArekChr I tried to fix issue that you mention related to navigation inverted but I have no luck. |
@mountiny Can it remain as it currently is? This happens on almost all push-to-page screens. The stack of screens is not loaded after reloading the page. I think this might be a separate issue. |
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 checked that to keep the state of the stack after reloading, It requires navigation state persistence which is not recommended on production as it might cause crashes in some specific screens when reloading. But that might be a good DX improvement for dev mode only. Reference
PR LGTM 👌
@mountiny bump to review this PR |
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.
Thanks everyone!
✋ 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/mountiny in version: 1.3.17-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.17-5 🚀
|
Details
Fixed Issues
$ #18815
PROPOSAL: #18815 (comment)
Tests
On mWeb/Web/Desktop:
On native app:
Offline tests
Not affected by offline mode
QA Steps
Same as above
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-05-15.at.19.54.56.-.web.mp4
Mobile Web - Chrome
Screen.Recording.2023-05-15.at.20.03.03.-.android.chrome.mp4
Mobile Web - Safari
Screen.Recording.2023-05-15.at.20.22.48.-.ios.safari.mov
Desktop
Screen.Recording.2023-05-15.at.19.56.24.-.desktop.mp4
iOS
Screen.Recording.2023-05-15.at.20.17.59.ios.mp4
Android
Screen.Recording.2023-05-15.at.20.04.23.-.android.mp4