-
Couldn't load subscription status.
- Fork 3.4k
fix: New user is dropped in self dm first after creating a workspace during onboarding #73612
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
base: main
Are you sure you want to change the base?
Conversation
…during onboarding
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 14 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safari73612-web.mp4 |
| const lastAccessedReportID = lastAccessedReport?.reportID; | ||
| // we don't want to navigate to newly created workspaces after onboarding is completed. | ||
| if (lastAccessedReportID && lastAccessedReport.policyID !== onboardingPolicyID && !isConciergeChatReport(lastAccessedReport)) { | ||
| // we don't want to navigate to newly created workspaces/selfDM after onboarding is completed. |
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.
Small change: Can be rephrased to we don't want to navigate to newly created workspaces nor selfDM after onboarding is completed.
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.
To make the comment even better, please explain why we don't want to do that.
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.
LGTM.
| const lastAccessedReportID = lastAccessedReport?.reportID; | ||
| // we don't want to navigate to newly created workspaces after onboarding is completed. | ||
| if (lastAccessedReportID && lastAccessedReport.policyID !== onboardingPolicyID && !isConciergeChatReport(lastAccessedReport)) { | ||
| // we don't want to navigate to newly created workspaces/selfDM after onboarding is completed. |
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.
To make the comment even better, please explain why we don't want to do that.





Explanation of Change
Fixed Issues
$ #73559
PROPOSAL:
Tests
Offline tests
None
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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
Screen.Recording.2025-10-28.at.11.18.41.mov
Android: mWeb Chrome
Screen.Recording.2025-10-28.at.11.17.35.mov
iOS: Native
Screen.Recording.2025-10-28.at.11.20.32.mov
iOS: mWeb Safari
Screen.Recording.2025-10-28.at.11.19.48.mov
MacOS: Chrome / Safari
Screen.Recording.2025-10-28.at.11.16.26.mov
MacOS: Desktop
desktop-1.mp4