remove SINGLE_USE_AND_EXPIRE_BY_CARDS beta#85915
Conversation
|
@dukenv0307 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: e8d7153b70
ℹ️ 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".
| const stepNames = useMemo(() => { | ||
| if (issueNewCard?.isChangeAssigneeDisabled) { | ||
| return isSingleUseEnabled ? CONST.EXPENSIFY_CARD.ASSIGNEE_EXCLUDED_STEP_NAMES : CONST.EXPENSIFY_CARD.SINGLE_USE_AND_ASSIGNEE_EXCLUDED_STEP_NAMES; | ||
| return CONST.EXPENSIFY_CARD.ASSIGNEE_EXCLUDED_STEP_NAMES; | ||
| } | ||
| return isSingleUseEnabled ? CONST.EXPENSIFY_CARD.STEP_NAMES : CONST.EXPENSIFY_CARD.SINGLE_USE_DISABLED_STEP_NAMES; | ||
| }, [issueNewCard?.isChangeAssigneeDisabled, isSingleUseEnabled]); | ||
| const startStepIndex = useMemo(() => getStartStepIndex(issueNewCard, isSingleUseEnabled), [issueNewCard, isSingleUseEnabled]); | ||
| return CONST.EXPENSIFY_CARD.STEP_NAMES; |
There was a problem hiding this comment.
Restore the 4-step indicator for physical-card flows
stepNames is now always built with the expiry step, but LimitTypeStep still routes physical cards directly to CARD_NAME instead of EXPIRY_OPTIONS. Because getStartStepIndex() in this file also assumes EXPIRY_OPTIONS exists, the progress header for physical-card issuance flows jumps from limit type to the last step (or shows all steps complete on confirmation), which is a visible regression for every physical-card path.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
It's expected, not a bug.
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
|
🚧 @lakchote 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. |
|
🚀 Deployed to staging by https://github.com/lakchote in version: 9.3.42-0 🚀
Bundle Size Analysis (Sentry): |

Explanation of Change
remove SINGLE_USE_AND_EXPIRE_BY_CARDS beta
Fixed Issues
$ #85916
PROPOSAL:
Tests
Offline tests
QA Steps
Same as test
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
Screen.Recording.2026-03-20.at.15.20.37.mov
Screen.Recording.2026-03-20.at.15.21.30.mov