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
[Due for payment 2026-05-22] Android - No option to add the 2nd company card #90610
Version Number: v9.3.74-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:#90528 Email or phone of affected tester (no customers):testpayment935@gmail.com Issue reported by: Applause Internal Team Bug source: Pull Request QA execution Device used: Samsung s10/ Android 12 App Component: Workspace Settings
Action Performed:
Open the app
Log in to New Expensify with an account that can add company cards to a workspace.
Navigate to Settings > Workspaces > [workspace] > Company cards.
Click Issue new card, then choose Commercial feed.
Select Visa, Mastercard, or American Express (any non-Stripe commercial bank), then continue to the feed details step.
Fill in the required feed details (e.g. Distribution ID for Mastercard, or Processor/Bank/Company IDs for Visa, or Delivery file name for Amex).
Click Submit and verify the feed is created and you are returned to the workspace's Company cards page.
Try to repeat for at least one other bank type to confirm the label is consistent across providers.
Expected Result:
User can able to add another card after adding the first.
Actual Result:
No option to add the 2nd company card to validate step 8
👋 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: #89924 - "Update table component to have default styling" by @JS00001 (High confidence) Related Issues: N/A
Recommendation: REVERT
PR #89924 removed the shouldRenderHeaderAsChild logic that guaranteed the header buttons (including the FeedSelector) were always visible on narrow/mobile layouts when the feed was in a pending or loading state. Reverting this PR would restore the correct behavior where the FeedSelector is visible on Android after adding the first card feed.
Assigned: @JS00001 (PR author), @Krishna2323 and @luacmartins (approving reviewers) from highest-confidence causing PR only Labels: DeployBlockerCash kept (App PR caused this). DeployBlocker not present, no change needed.
📋 Detailed Analysis
Evidence
The melvin-bot initially flagged PR #90528 because the QA test was run as part of that PR's review. However, PR #90528 only changes a button label from common.next to common.submit in DetailsStep.tsx — a purely cosmetic change that cannot affect navigation or the ability to add a second card feed. The real cause is PR #89924.
PR #89924 moved WorkspaceCompanyCardsTable from src/pages/workspace/companyCards/WorkspaceCompanyCardsTable/ to src/components/Tables/WorkspaceCompanyCardsTable/ and refactored how the header buttons are rendered on narrow (mobile) layouts.
This meant: on narrow layout, if the feed was pending (isFeedPending) or loading (isLoadingPage) and cards were not showing, the header buttons were rendered as a direct child of the Table wrapper — always visible regardless of whether the FlashList (Table.Body) was rendered.
After PR #89924, the header rendering was changed to:
{!shouldUseNarrowTableLayout&&ListHeader;}
And for narrow layout, the header is only passed via:
Result: On Android (narrow layout), after adding the first company card feed, the feed enters a pending state. The WorkspaceCompanyCardsTableHeaderButtons component (which contains the FeedSelector that navigates to WorkspaceCompanyCardFeedSelectorPage for adding another card) is never rendered. The user has no visible way to add a second card feed.
The FeedSelector in WorkspaceCompanyCardsTableHeaderButtons triggers navigation to WORKSPACE_COMPANY_CARDS_SELECT_FEED, which has the "Add cards" menu item (the route to AddNewCardPage)
The bug is Android/narrow-layout-specific, consistent with the issue report which only marks Android App as affected
Root Cause
PR #89924 refactored the WorkspaceCompanyCardsTable component to use ListHeaderComponent for narrow layouts instead of rendering the header as a direct child. This refactor failed to account for the case where Table.Body (FlashList) is not rendered — specifically when isFeedPending || isLoading || isNoFeed. In those states, the ListHeaderComponent is never shown because the FlashList itself is not mounted, making the header buttons (including the FeedSelector that enables adding more card feeds) invisible on Android.
On narrow/mobile layouts (Android), the FeedSelector (the only UI path to "Add cards") is passed as a ListHeaderComponent to Table.Body. When a newly added feed is in pending state, showCards evaluates to false, so Table.Body never renders — and the ListHeaderComponent (FeedSelector) disappears with it.
On wide layouts (desktop), the same ListHeader renders as a direct child of <Table>, independent of Table.Body, so the bug doesn't reproduce there.
The pending state for commercial card feeds can last minutes to days while the feed is being set up server-side. During that entire time on mobile, the user is stuck on the pending page with no way to navigate to add another feed.
Note: PR #90528 (which changed button text from "Next" to "Submit") is unlikely to be the root cause — this is a pre-existing layout issue.
What changes do you think we should make in order to solve the problem?
On narrow layout, the ListHeader (containing the FeedSelector and action buttons) should also render inside the pending/loading/noFeed ScrollView block, not only inside Table.Body.
In WorkspaceCompanyCardsTable/index.tsx, add the ListHeader to the ScrollView that renders during pending/loading/noFeed states when on narrow layout:
Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.
changed the title [-]Android - No option to add the 2nd company card[/-][+][Due for payment 2026-05-22] Android - No option to add the 2nd company card[/+]on May 15, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.74-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@Krishna2323 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Activity
melvin-bot commentedon May 14, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #90528
melvin-bot commentedon May 14, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon May 14, 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 May 14, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #89924 - "Update table component to have default styling" by @JS00001 (High confidence)
Related Issues: N/A
Recommendation: REVERT
PR #89924 removed the
shouldRenderHeaderAsChildlogic that guaranteed the header buttons (including the FeedSelector) were always visible on narrow/mobile layouts when the feed was in a pending or loading state. Reverting this PR would restore the correct behavior where the FeedSelector is visible on Android after adding the first card feed.Assigned: @JS00001 (PR author), @Krishna2323 and @luacmartins (approving reviewers) from highest-confidence causing PR only
Labels:
DeployBlockerCashkept (App PR caused this).DeployBlockernot present, no change needed.📋 Detailed Analysis
Evidence
The melvin-bot initially flagged PR #90528 because the QA test was run as part of that PR's review. However, PR #90528 only changes a button label from
common.nexttocommon.submitinDetailsStep.tsx— a purely cosmetic change that cannot affect navigation or the ability to add a second card feed. The real cause is PR #89924.PR #89924 moved
WorkspaceCompanyCardsTablefromsrc/pages/workspace/companyCards/WorkspaceCompanyCardsTable/tosrc/components/Tables/WorkspaceCompanyCardsTable/and refactored how the header buttons are rendered on narrow (mobile) layouts.Before PR #89924, the header rendering used:
This meant: on narrow layout, if the feed was pending (
isFeedPending) or loading (isLoadingPage) and cards were not showing, the header buttons were rendered as a direct child of the Table wrapper — always visible regardless of whether the FlashList (Table.Body) was rendered.After PR #89924, the header rendering was changed to:
And for narrow layout, the header is only passed via:
The
ListHeaderComponentis consumed byTable.Body(FlashList). However,Table.Bodyis only rendered whenshowCardsis true:And
showCardsis false whenisFeedPending:Result: On Android (narrow layout), after adding the first company card feed, the feed enters a pending state. The
WorkspaceCompanyCardsTableHeaderButtonscomponent (which contains theFeedSelectorthat navigates toWorkspaceCompanyCardFeedSelectorPagefor adding another card) is never rendered. The user has no visible way to add a second card feed.Verification
src/components/Tables/WorkspaceCompanyCardsTable/index.tsxshouldRenderHeaderAsChildlogicFeedSelectorinWorkspaceCompanyCardsTableHeaderButtonstriggers navigation toWORKSPACE_COMPANY_CARDS_SELECT_FEED, which has the "Add cards" menu item (the route toAddNewCardPage)Root Cause
PR #89924 refactored the
WorkspaceCompanyCardsTablecomponent to useListHeaderComponentfor narrow layouts instead of rendering the header as a direct child. This refactor failed to account for the case whereTable.Body(FlashList) is not rendered — specifically whenisFeedPending || isLoading || isNoFeed. In those states, theListHeaderComponentis never shown because the FlashList itself is not mounted, making the header buttons (including the FeedSelector that enables adding more card feeds) invisible on Android.MelvinBot commentedon May 14, 2026
Proposal
What is the root cause of that problem?
On narrow/mobile layouts (Android), the FeedSelector (the only UI path to "Add cards") is passed as a
ListHeaderComponenttoTable.Body. When a newly added feed is inpendingstate,showCardsevaluates tofalse, soTable.Bodynever renders — and theListHeaderComponent(FeedSelector) disappears with it.On wide layouts (desktop), the same
ListHeaderrenders as a direct child of<Table>, independent ofTable.Body, so the bug doesn't reproduce there.The pending state for commercial card feeds can last minutes to days while the feed is being set up server-side. During that entire time on mobile, the user is stuck on the pending page with no way to navigate to add another feed.
Note: PR #90528 (which changed button text from "Next" to "Submit") is unlikely to be the root cause — this is a pre-existing layout issue.
What changes do you think we should make in order to solve the problem?
On narrow layout, the
ListHeader(containing the FeedSelector and action buttons) should also render inside the pending/loading/noFeedScrollViewblock, not only insideTable.Body.In
WorkspaceCompanyCardsTable/index.tsx, add theListHeaderto theScrollViewthat renders during pending/loading/noFeed states when on narrow layout:This ensures the FeedSelector (with "Add cards" option) and header buttons remain accessible on mobile even when the current feed is pending.
Evidence
showCardsisfalsewhenisFeedPendingis trueListHeaderComponentis only passed toTable(rendered insideTable.Body) on narrow layout!shouldUseNarrowTableLayout && ListHeaderrenders independently only on wide layoutTable.Bodyonly renders whenshowCardsis trueNext Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR,@MelvinBot <your feedback>to refine this analysis, or explain why you are rejecting Melvin's proposal.JS00001 commentedon May 14, 2026
#90676
melvin-bot commentedon May 14, 2026
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
IuliiaHerets commentedon May 14, 2026
Galaxy A55/ Android 16
v9.3.74-2
Not Repro
Repro.-.90610.mp4
[-]Android - No option to add the 2nd company card[/-][+][Due for payment 2026-05-22] Android - No option to add the 2nd company card[/+]melvin-bot commentedon May 15, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 15, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.74-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-05-22. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon May 15, 2026
@Krishna2323 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]