[navigation-refactor] Use minimal action to navigate inside RHP#21067
[navigation-refactor] Use minimal action to navigate inside RHP#21067mountiny merged 23 commits into
Conversation
|
@abdulrahuman5196 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] |
|
mountiny
left a comment
There was a problem hiding this comment.
Coupld of comments, lets make sure we include clear testing steps and also fill out all the screen recordings
Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com>
Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com>
Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com>
Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com>
Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com>
|
@adamgrzybowski Could you kindly check this comment and add tests in author's checklist as well? And there are still some comments pending to addressed? |
|
@abdulrahuman5196 I am working currently on the part of the documentation to explain better why we need minimal action. I can see that it may be a little confusing. I got distracted by other urgent issues. I will get back to this PR right after resolving those problems. Thanks for your patience 🙇 ! |
|
Hey, I updated the docs and included tests, let me know if its any clearer now 😄 @abdulrahuman5196 @mountiny |
|
Sure thank you. Will check on this tonight |
|
Hey, @abdulrahuman5196 quick sanity check 😄 I can see that the lint step is failing but there is no reason for this in the code. Do you think it's possible there is some problem with github actions? |
|
@adamgrzybowski Seems so. Can you try merge from main? |
WoLewicki
left a comment
There was a problem hiding this comment.
Added some comments to the md file. Other than that, it looks just fine!
|
I did test the flows by locally changing this #21067 (comment) and the code seems to work fine without any issues. |
|
Hey, @abdulrahuman5196 I fixed the leftover |
|
Thank you @adamgrzybowski . Will work on reviewers checklist and complete it today. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-26.at.11.27.52.PM.mp4Mobile Web - Chromeaz_recorder_20230626_233717.mp4Mobile Web - SafariUntitled.mp4DesktopScreen.Recording.2023-06-26.at.11.52.11.PM.mp4iOSScreen.Recording.2023-06-26.at.11.40.46.PM.mp4Androidaz_recorder_20230626_234800.mp4 |
|
@adamgrzybowski Could you kindly mark the QA steps and Offline tests as "Same as Tests"? |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @mountiny / @WoLewicki
🎀👀🎀
C+ Reviewed
|
@mountiny / @WoLewicki Could you kindly check on this ? #21067 (review) |
|
It's fine by me, but I have no power to merge it 😅 |
|
OOPS. Sorry. Will wait for mountiny 😶🌫️ 😆 |
|
Hey @mountiny it would be great to merge that. There is some code that will be also modified by PR improving resizing |
mountiny
left a comment
There was a problem hiding this comment.
Thanks! Also nice description 🙇
|
✋ 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.37-0 🚀
|
|
looks like this caused a regression here #22289 |
| type: currentAction.type, | ||
| payload: { | ||
| name: currentAction.payload.params.screen, | ||
| params: currentAction.payload.params.params, |
There was a problem hiding this comment.
| params: currentAction.payload.params.params, | |
| params: currentAction.payload.params.params, | |
| path: currentAction.payload.params.path, |
path was missing here and it caused regression - #22308
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.37-7 🚀
|
| let currentAction = action; | ||
| let currentState = state; | ||
| let currentTargetKey = null; | ||
| let targetName = null; |
There was a problem hiding this comment.
This PR caused a regression, for more details refer this PR
Details
This PR adds the utility
getMinimalActionthat is used inLinkToto fix the issue with back buttonAdditionally, @WoLewicki came up with the idea that this utility can help to resolve the problem with the RHN animation glitch
Fixed Issues
$ #20620
$ #20621
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
Test for #20620
Test for #20621
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
web.mov
Mobile Web - Chrome
androidWeb.mov
Mobile Web - Safari
iosWeb.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov