[Submit] Feat: Update the upgrade flow (Wave 2) - #91258
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@abzokhattab 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] |
|
@abzokhattab 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: 42b6feee3d
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 53a3bd0ef3
ℹ️ 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".
|
Let me know when the PR is ready and the screenshots are filled @hungvu193 |
Sure. The API is down, so we can wait till then. |
|
@abzokhattab It's ready for review! |
|
@MelvinBot review the PR. Check for other issues or regressions |
|
@codex review the PR. Check for other issues or regressions |
|
Codex Review: Didn't find any major issues. Breezy! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
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". |
|
Great i will review it later today 🔥 |
PR ReviewBug: Feature-to-targetType mapping is incomplete for corporate-only featuresIn const isPerDiemUpgrade = feature?.id === CONST.UPGRADE_FEATURE_INTRO_MAPPING.perDiem.id;
const targetType = isPerDiemUpgrade ? CONST.POLICY.TYPE.CORPORATE : CONST.POLICY.TYPE.TEAM;However, rules and HR are also gated by Fix: Also map Issue: Missing null-policy guard in
|
|
@hungvu193 looks like we have few comments from melvin .. are those valid issues? |
guard hr and rules under coporate fix: double upgrade submit Add test for upgradeSubmit Align Mobile-Expensify submodule with main Drop feature-branch submodule pointer changes to avoid merge conflicts when syncing with main.
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-05-30.at.01.47.49.movAndroid: mWeb ChromeScreen.Recording.2026-05-30.at.01.51.56.moviOS: HybridAppScreen.Recording.2026-05-30.at.01.47.49.moviOS: mWeb SafariScreen.Recording.2026-05-30.at.01.51.56.movMacOS: Chrome / SafariScreen.Recording.2026-05-30.at.01.18.31.mov |
|
@iwiznia Addressed your comments |
|
🚧 @iwiznia 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/iwiznia in version: 9.4.0-0 🚀
Bundle Size Analysis (Sentry): |
|
Deploy Blocker #92863 was identified to be related to this PR. |
|
Deploy Blocker #92864 was identified to be related to this PR. |
|
Deploy Blocker #92943 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.0-7 🚀
|
|
Coming from Submit workspace - Unable to upgrade workspace when importing member spreadsheet: This PR rebuilt the upgrade flow in |
Explanation of Change
Docs section
In this PR, we added
UpgradeSubmitlogic, when a user of a submit workspace pressesUpgrade, we will:EditortoUser.Fixed Issues
$ #90797
PROPOSAL: N/A
Tests
Same as QA steps
Offline tests
N/A
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Prerequisite:
You're member of a Submit workspace.
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
Screen.Recording.2026-05-28.at.11.11.07.mov
Android: mWeb Chrome
Screen.Recording.2026-05-28.at.11.11.07.mov
iOS: Native
Screen.Recording.2026-05-28.at.10.57.22.mov
iOS: mWeb Safari
Screen.Recording.2026-05-28.at.11.03.49.mov
MacOS: Chrome / Safari
Screen.Recording.2026-05-28.at.10.41.06.mov