Show drafts and insights for submit workspaces#92252
Conversation
|
@madmax330 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✅ Changes either increased or maintained existing code coverage, great job!
|
|
@MelvinBot review the PR |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
PR ReviewVerdict: LGTM — minimal and correct. The change swaps One thing worth confirming (not a blocker): beta gating. Detailed verificationEligibility matrix is consistent with the issue (SearchUIUtils.ts:1089-1101):
Test (SearchUIUtilsTest.ts:6851): solid coverage. The setup correctly exercises each path — Next Steps: Reply with |
trjExpensify
left a comment
There was a problem hiding this comment.
I take it insights is going to be limited to your own reports or any you're added to, to approve by the virtue of this new Editor role thing?
|
Good question. The insights tiles don't filter by the current user on the front end .. they're generic policy-wide queries, and the backend scopes the results to what the requester is allowed to see. So for an Editor, that should only be their own reports + any submitted to them to approve, not everyone's. Let me confirm that backend scoping holds for the Editor role before we merge. |
|
@madmax330 all yours |
Correct. |
|
🚧 @madmax330 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! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@iwiznia @trjExpensify @madmax330 We have existing accounts with the Submit2026 beta enabled. Can we use those for testing, or does this require brand-new accounts? |
|
You can reuse |
|
🚀 Deployed to staging by https://github.com/madmax330 in version: 9.3.98-0 🚀
Bundle Size Analysis (Sentry): |
Help site review — no docs changes requiredI reviewed the changes in this PR against the help site files under What the PR changes: It swaps the eligibility gate in Why no docs change is needed:
Because nothing in the published articles claims these features are restricted to paid workspaces, there's no statement to correct and no new GA-level user-facing behavior to document. I did not open a draft help site PR. @iwiznia, if you'd prefer the Insights/Drafts articles to call out Submit-workspace availability explicitly (e.g., once |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.98-3 🚀
|

Explanation of Change
This ensures drafts and insights are shown for submit workspaces
Fixed Issues
$#92000
PROPOSAL:
Tests
Offline tests
No
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari