fix: remove categorize page from navigation stack#45560
fix: remove categorize page from navigation stack#45560rlinoz merged 4 commits intoExpensify:mainfrom
Conversation
|
@dukenv0307 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] |
|
code looks good |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-17.at.15.53.53.movAndroid: mWeb ChromeScreen.Recording.2024-07-17.at.15.55.30.moviOS: NativeScreen.Recording.2024-07-17.at.15.54.16.moviOS: mWeb SafariScreen.Recording.2024-07-17.at.15.55.08.movMacOS: Chrome / Safariweb-resize.mp4MacOS: DesktopScreen.Recording.2024-07-17.at.15.58.02.mov |
|
@dominictb Can you update the test steps? |
|
@dukenv0307 done |
|
LGTM |
|
If the user doesn't have a workspace this flow gets weird, because the workspace is gonna be created in the last step and there is nothing to select, can we do something about it? Screen.Recording.2024-07-18.at.11.00.44.mov |
|
@rlinoz So what is the expected behavior when the user click on the back button in that case? |
|
The best thing would be to close the entire RHP since there is nothing to be done there. |
Signed-off-by: dominictb <tb-dominic@outlook.com>
|
@dukenv0307 updated Screen.Recording.2024-07-19.at.16.24.26.mov |
rlinoz
left a comment
There was a problem hiding this comment.
Thanks for addressing that, it is working well!
Just one comment
| Object.values(allPolicies ?? {}).filter( | ||
| (individualPolicy) => | ||
| individualPolicy && individualPolicy.type !== CONST.POLICY.TYPE.PERSONAL && individualPolicy.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, |
There was a problem hiding this comment.
Let's move this to PolicyUtils with something like hasOnlyPersonalPolicy or something.
Also, let's rename the individualPolicy to policy
|
✋ 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/rlinoz in version: 9.0.11-0 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.0.11-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.11-5 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.12-0 🚀
|
Details
Fixed Issues
$ #45410
PROPOSAL: #45410 (comment)
Tests
Prerequisite: There is at least one workspace.
Offline 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
Screen.Recording.2024-07-17.at.13.42.07.mov
MacOS: Desktop
Screen.Recording.2024-07-17.at.13.42.07.mov