Repository navigation
Reapply: Show Create Report CTA for users without a workspace - #88374
Conversation
|
@eVoloshchak 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7ee52ac43b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
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.
|
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good for product 👍
|
🚧 @marcaaron has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
…-report-cta # Conflicts: # src/pages/NewReportWorkspaceSelectionPage.tsx
|
@eVoloshchak done |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppvideo_2026-05-13_10-21-25.mp4Android: mWeb ChromeScreen.Recording.2026-05-13.at.08.40.33.moviOS: HybridAppScreen.Recording.2026-05-13.at.08.22.18.moviOS: mWeb SafariScreen.Recording.2026-05-13.at.08.44.00.movMacOS: Chrome / SafariScreen.Recording.2026-05-13.at.08.24.53.mov |
|
@eVoloshchak it's ready. |
|
@mukhrr, could you please include the testing steps from #83782 and Coming from #84139 Precondition:
Currently, you can't perform step |
@shawnborton maybe you have an idea also ?! |
|
Tests well on all of the platforms! |
@eVoloshchak thanks! now it's updated. I think we can proceed to approve and merge now |
marcaaron
left a comment
There was a problem hiding this comment.
Had a few comments about names and cleaning up comments. Mostly looking good!
|
@marcaaron done |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @marcaaron has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 9.3.75-0 🚀
Bundle Size Analysis (Sentry): |
|
Yes, help site changes are needed. PR #88374 makes the Create report option visible to users without a workspace, prompting them through an upgrade flow to create one first. The existing Draft PR created: #90828 Change: Added a sub-step under "How to create an expense report" explaining that users without a workspace will be prompted to upgrade and create one before the report opens. |
|
Deploy Blocker ##90852 was identified to be related to this PR |
|
Deploy Blocker ##90854 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.75-14 🚀
Bundle Size Analysis (Sentry): |
| // the originating screen, not the upgrade step. | ||
| const {reportID: newReportID} = createReportForCurrentUser(policyID); | ||
| Navigation.setNavigationActionToMicrotaskQueue(() => { | ||
| Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(newReportID), {forceReplace: true}); |
There was a problem hiding this comment.
This didn't handle the case in search page so it caused Expense - New report opens on Inbox when created via upgrade flow on Spend tab
There was a problem hiding this comment.
Simply navigating to report preserves upgrade page in navigation stack so it caused Report - Back button return the user to Upgrade page.
We updated this to dismiss instead of navigate in #90928
Explanation of Change
Fixed Issues
$ #83782
#84139
PROPOSAL:
Tests
#83782 — Show Create Report CTA for users without a workspace
Offline tests
QA Steps
Same as Tests.
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
android_app.mp4
Android: mWeb Chrome
android_mWeb.mp4
iOS: Native
ios+native.mp4
iOS: mWeb Safari
ios_mWeb.mp4
MacOS: Chrome / Safari
web.mp4