-
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
[Wave 8] [Ideal Nav] goBack update fallback route #36050
[Wave 8] [Ideal Nav] goBack update fallback route #36050
Conversation
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
cc: @mountiny if you're also interested reviewing the PR 🙇 |
@adamgrzybowski this issue is still reproducible #35756 Screen.Recording.2024-02-08.at.2.16.36.PM.mov |
Hey @getusha @hayata-suenaga, I made a comment here #35756 (comment). I think this should be a separate issue. It's not really related to goBack function. |
Ah i missed that, i agree @hayata-suenaga i think we can reopen the issue. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-08.at.4.57.49.PM.movAndroid: mWeb ChromeScreen.Recording.2024-02-08.at.4.37.51.PM.movScreen.Recording.2024-02-08.at.4.59.15.PM.moviOS: NativeScreen.Recording.2024-02-08.at.5.32.43.PM.moviOS: mWeb SafariScreen.Recording.2024-02-08.at.5.02.26.PM.movMacOS: Chrome / SafariScreen.Recording.2024-02-08.at.5.40.36.PM.movMacOS: DesktopScreen.Recording.2024-02-08.at.5.47.40.PM.mov |
Screen.Recording.2024-02-08.at.4.22.27.PM.mov#33280 (comment) is still reproducible |
hey @getusha should be fixed now |
@adamgrzybowski could we add test steps ty! 🙇 |
Looks like it is still reproducible 😢 Screen.Recording.2024-02-08.at.6.34.16.PM.mov |
@adamgrzybowski looks like we've got a merge conflict |
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.
Yeah I think that looks good to me for now, all yours @hayata-suenaga
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.
🟢
oh... merge conflicts... @adamgrzybowski |
03896dc
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.
🟢
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.
Thank you!
✋ 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.4.40-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.40-5 🚀
|
Details
This solution will make navigation more stable before a proper rewrite (issue) of the goBack function. This function is not easy to use and debug which may lead to more bugs in the future.
When I was going through all the reported (issues) I noticed that they are fixed by removing ROUTES.HOME from the argument.
It looks like the new nested HOME route is not working well with the old goBack function with HOME as an argument.
To prevent more bugs that are not yet found I decided to replace all cases where goBack is used with HOME argument.
It should prevent all critical problems like messed up navigation that needs to be reloaded. Now the worst case scenario if any is the wrong page after going back or simply going back a bit too much.
NOTE Please have in mind that this PR is related to the goBack function. That means actions triggered from the page e.g arrow left rendered on the page or submit button. The go back arrow on the browser navigation bar or physical device is a separate issue.
NOTE 2 There is one issue that seems to have different root cause #35689. I will take care of that separately @hayata-suenaga
Fixed Issues
$ #35626
PROPOSAL:
Tests
Offline tests
QA Steps
Test 1
Test 2
Test 3
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(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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
androidNative2.mov
androidNative1.mov
Android: mWeb Chrome
I have a problem with android web setup. I will update video tomorrow.
iOS: Native
iosNative.mov
iOS: mWeb Safari
iosWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov