fix(workspace): resolve workflow inconsistency based on creation flow#77898
Conversation
|
@ZhenjaHorbach 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] |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
trjExpensify
left a comment
There was a problem hiding this comment.
I don't think we want to over index the default workspace setup on an optimised track setup (i.e no approvals and no payments) for anyone that didn't sign-up with the track intent. It's better we assume the business case when the intent is unclear or ambiguous. For example, the user chooses "Something else" in onboarding and later creates a workspace.
Looking at the parent bug report, the problem was with a track intent sign-up. Whereby, if they choose to create a workspace in the onboarding modal initially, or skipped it and later created one, that intended default setup for the track intent user differed - but they should have been consistent.
CC: @heyjennahay @francoisl from the parent issue, and @danielrvidal too as I think you were involved in that onboarding stuff!
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-01-12.18.18.20.movAndroid: mWeb Chrome2026-01-12.18.21.31.moviOS: HybridApp2026-01-12.18.18.20.moviOS: mWeb Safari2026-01-12.18.21.31.movMacOS: Chrome / Safari2026-01-12.18.15.58.mov |
|
What @trjExpensify is saying here makes sense to me! |
|
@ZhenjaHorbach, Just to confirm, based on this comment, should I apply the change only for the users who signed up with a track intent? |
I think so |
|
Yep 👍 |
|
@marufsharifi |
|
@ZhenjaHorbach, pr is updated. thanks |
|
LGTM! |
Tom's change request was addressed
|
✋ 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/francoisl in version: 9.3.0-0 🚀
|
|
This ended up causing #79407, we're reverting this PR for now. The incorrect message is created from the backend, so we'll probably need some backend changes alongside this. |
Do we really need to revert this PR? 😅 |
|
We can't do CPs in the part of the codebase that we'll need to update, so even if we can fix it today or tomorrow, the fix lively won't be live for 1 more day after that. So yes to avoid the wrong and confusing message, let's revert. |
[CP Staging] Revert #77898 – fix(workspace): resolve workflow inconsistency based on creation flow
Fair enough @marufsharifi |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.0-8 🚀
|
|
🚀 Deployed to staging by https://github.com/francoisl in version: 9.3.1-0 🚀
|
@ZhenjaHorbach, new pr is ready. thanks |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.1-1 🚀
|
Explanation of Change
This change makes workspace creation consistent, whether a workspace is created through the onboarding flow or the user skips workspace creation. In both cases, the resulting workspace will have the following settings:
Fixed Issues
$ #75909
PROPOSAL: #75909 (Comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
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.1404-10-17.at.5.48.44.PM.mov
Android: mWeb Chrome
Screen.Recording.1404-10-17.at.5.50.03.PM.mov
iOS: Native
Screen.Recording.1404-10-17.at.5.51.56.PM.mov
iOS: mWeb Safari
Screen.Recording.1404-10-17.at.5.53.31.PM.mov
MacOS: Chrome / Safari
Screen.Recording.1404-10-17.at.5.42.34.PM.mp4