[No QA] Create platform specific syncBrowserHistory function#50719
Conversation
|
@alitoshmatov 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] |
|
cc @kirillzyusko this might be something to not forget in the native stack pr |
There was a problem hiding this comment.
There is another file that requires same fix src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/CustomRouter.ts
There was a problem hiding this comment.
Right, I forgot that we merged the native stack. Thanks!
There was a problem hiding this comment.
Yeah, probably need to replicate these changes in native-stack navigator as well 👍
@adamgrzybowski will you do that in this PR?
There was a problem hiding this comment.
Hmm actually isn't this some leftover after merging the native stack? I think that createResponsiveStackNavigator isn't used anywhere
There was a problem hiding this comment.
Hmm actually isn't this some leftover after merging the native stack? I think that createResponsiveStackNavigator isn't used anywhere
@adamgrzybowski it's not used at the moment, because we decided to split PR in two parts (the first one is with all basic work (i. e. creation of new navigators), new patches etc.) and the other one that actually starts to use it: #49937
But I think it would be better to synchronize all new changes between various navigators, right?
There was a problem hiding this comment.
Yes, in that case, I will apply the changes for both routers. Thanks!
|
ooops wrong import 😄 |
| return true; | ||
| } | ||
|
|
||
| return true; |
There was a problem hiding this comment.
| return true; | |
| return false; |
There was a problem hiding this comment.
Hah, thanks 😄
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@adamgrzybowski I think we should add |
|
✋ 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: 9.0.49-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.49-2 🚀
|
Details
I created platform specific
syncBrowserHistoryfunction because we only want to manipulate the history object in the browser. There is no easy way to record videos for that so I am not including videos. The change is quite simple and I tested it by changing some code to see if it works.Fixed Issues
$ #50713
PROPOSAL:
Tests
To test this PR you need to make some changes in the code
hasCompletedGuidedSetupFlowSelectorinonboardingSelectors.tsto always return false.BaseOnboardingPurpose.tsxOffline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop