hotfix(navigation): Use navigate whe target report is a child - #23974
hotfix(navigation): Use navigate whe target report is a child#23974daordonez11 wants to merge 1 commit into
Conversation
|
@WoLewicki tagging you if you could review |
|
Will this still work is you click the big FAB button in the |
|
@daordonez11 Could you please try this flow on Firefox? |
|
@WoLewicki It does work fine as well with tasks created from FAB! @adamgrzybowski Will install an test on it then |
|
I checked the navigation state after that change, and I think that by doing it we reset the whole navigation state to just |
|
@adamgrzybowski You are right! In mozilla even with the fix didn't work! Also small screens with FAB, sends back to the creation hence I think this issue is a bit out my league @mountiny I think best way to proceed is wait for SWM implementation on "removing" modal screens from stack before going to the target report. cc @WoLewicki |
|
Closing this one #23796 (comment) thanks for the efforts |
Details
Force the usage of navigate instead of replace when the target report is a child/thread/task.
Fixed Issues
$ #23796
PROPOSAL: #23796 (comment)
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android