You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wallet - Assigned cards section is shown when there is no card #81586
Version Number: 9.3.11-53 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:#79562 Email or phone of affected tester (no customers):ffjfujggngngjghjg@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: iPhone 15 Pro Max / iOS 26.2 App Component: User Settings
Action Performed:
Precondition:
Account does not have any card.
Launch Expensify app.
Go to Account > Wallet.
Expected Result:
Assigned cards section will not show up if there is no card.
Actual Result:
Assigned cards section is shown when there is no card.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug Causing PR: #79562 - "Feat: existing personal cards" by @waterim (High confidence) Related Issues: None
Recommendation: REVERT
The PR should be reverted because it introduces a visible UI bug where the "Assigned cards" section header and description are shown even when there are no cards to display.
Labels: No label changes needed - this is correctly labeled as DeployBlockerCash since it is a frontend bug that requires an App PR fix.
Detailed Analysis
Evidence
The issue reports that the "Assigned cards" section is shown in the Wallet page even when there are no cards. This is reproducible on staging but not in production, and PR #79562 was merged on 2026-01-30 and is included in the current staging deploy.
PR #79562 introduced personal cards to the Wallet page and made changes to:
The isPersonalCard() function logic (inverted the logic to correctly identify personal cards)
Added the hasDisplayableAssignedCards() function to check if cards should be displayed
Modified the WalletPage to show personal cards in the assigned cards section
Verification
The bug is in /home/runner/work/App/App/src/pages/settings/Wallet/WalletPage/index.tsx:
The Section header and subtitle are always rendered, but the PaymentMethodList inside is only shown when hasAssignedCard is true. This means when hasAssignedCard is false, users see the section header/description with no content underneath.
Root Cause
The PR correctly modified the logic but failed to wrap the entire Section component with a conditional check. The Section should only be displayed when either:
hasAssignedCard is true, OR
The personal card import beta is enabled
The fix would be to wrap the entire Section with a conditional like:
What changes do you think we should make in order to solve the problem?
We should do it based on this condition:
isBetaEnabled(CONST.BETAS.PERSONAL_CARD_IMPORT) || hasAssignedCard;
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
This seems an okay regression to me, as we are a week without deploy I am removing the label. But could you please resolve this as a follow yo. Thank you
Yeah it doesn't need to block deploy, thanks @Julesssss!
It's also a simple fix so I can take care of it, but a quick question for you first @Gonals as the condition was modified in #80648: Should the Import Transactions button be behind the PERSONAL_CARD_IMPORT beta, or does the CSV project have its own beta?
Activity
melvin-bot commentedon Feb 5, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #79562
melvin-bot commentedon Feb 5, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Feb 5, 2026
Triggered auto assignment to @heyjennahay (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.github-actions commentedon Feb 5, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
OSBotify commentedon Feb 5, 2026
Investigation Summary
Classification: Frontend bug
Causing PR: #79562 - "Feat: existing personal cards" by @waterim (High confidence)
Related Issues: None
Recommendation: REVERT
The PR should be reverted because it introduces a visible UI bug where the "Assigned cards" section header and description are shown even when there are no cards to display.
Labels: No label changes needed - this is correctly labeled as
DeployBlockerCashsince it is a frontend bug that requires an App PR fix.Detailed Analysis
Evidence
The issue reports that the "Assigned cards" section is shown in the Wallet page even when there are no cards. This is reproducible on staging but not in production, and PR #79562 was merged on 2026-01-30 and is included in the current staging deploy.
PR #79562 introduced personal cards to the Wallet page and made changes to:
isPersonalCard()function logic (inverted the logic to correctly identify personal cards)hasDisplayableAssignedCards()function to check if cards should be displayedVerification
The bug is in
/home/runner/work/App/App/src/pages/settings/Wallet/WalletPage/index.tsx:Lines 547-575 show the issue:
The Section header and subtitle are always rendered, but the PaymentMethodList inside is only shown when
hasAssignedCardis true. This means whenhasAssignedCardis false, users see the section header/description with no content underneath.Root Cause
The PR correctly modified the logic but failed to wrap the entire Section component with a conditional check. The Section should only be displayed when either:
hasAssignedCardis true, ORThe fix would be to wrap the entire Section with a conditional like:
However, since this is a deploy blocker, the safest approach is to revert the PR and re-implement with proper testing.
Eskalifer1 commentedon Feb 5, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
Wallet - Assigned cards section is shown when there is no card
What is the root cause of that problem?
We always display section here:
App/src/pages/settings/Wallet/WalletPage/index.tsx
Lines 547 to 575 in 56e8c77
What changes do you think we should make in order to solve the problem?
We should do it based on this condition:
isBetaEnabled(CONST.BETAS.PERSONAL_CARD_IMPORT) || hasAssignedCard;
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
Julesssss commentedon Feb 5, 2026
@amyevans @tgolen I see this is likely coming from #79562 which is a hefty PR.
This seems an okay regression to me, as we are a week without deploy I am removing the label. But could you please resolve this as a follow yo. Thank you
tgolen commentedon Feb 5, 2026
I agree it's not a blocker. I wasn't involved much with the original PR, so I'll let @amyevans dig into it further.
Eskalifer1 commentedon Feb 5, 2026
Actually guys it's coming from this PR: #80648
cc: @Julesssss @tgolen
amyevans commentedon Feb 5, 2026
Yeah it doesn't need to block deploy, thanks @Julesssss!
It's also a simple fix so I can take care of it, but a quick question for you first @Gonals as the condition was modified in #80648: Should the
Import Transactionsbutton be behind thePERSONAL_CARD_IMPORTbeta, or does the CSV project have its own beta?Julesssss commentedon Feb 5, 2026
Thanks all
amyevans commentedon Feb 5, 2026
PR is here: #81600. I don't think we need to block it on the answer to the question here: #81586 (comment)
amyevans commentedon Feb 11, 2026
On prod