-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix: remove categorize page from navigation stack #45560
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 |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move this to PolicyUtils with something like hasOnlyPersonalPolicy
or something.
Also, let's rename the individualPolicy
to policy
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.
Resolved!
✋ 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
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