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-04-28] Spend - No active cards on this feedback animation is shown above search box in landscape #87490
Version Number: V9.3.55-0 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#86684 Email or phone of affected tester (no customers):dreamnitethedragon+vegst@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Redmi note 10s android 13 App Component: Workspace Settings
Action Performed:
Pre-condition:
An account with issued expensify cards
A workspace with Rules enabled
Create a spend rule
Launch app
Navigate to Workspaces > Rules
Press Add spend rule and create a new rule
Turn landscape
Tap choose card
Keep cursor on search
Expected Result:
No active cards on this feedback animation must not be shown above search box in landscape.
Actual Result:
No active cards on this feedback animation is shown above search box in landscape.
👋 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.
Investigation Summary: Classification: Frontend bug. Causing PR: #86684 - Add spend rule base page by @luacmartins (High confidence). Recommendation: REVERT. PR 86684 introduced SpendRuleCardPage.tsx with a UI rendering defect in landscape mode where the No active cards BlockingView illustration appears above the search box simultaneously with the same message already shown inline as headerMessage text. Assigned: @luacmartins (PR author), @suneox and @JS00001 (approving reviewers). Labels: DeployBlockerCash kept (frontend App bug). Root cause: SpendRuleCardPage.tsx passes both a headerMessage (No active cards text rendered below the search box via TextInput component) and a listEmptyContent (BlockingView illustration) to SelectionList. In BaseSelectionList.tsx, when data is empty, the textInputComponent renders unconditionally before renderListEmptyContent(), so both UI elements appear simultaneously. In Android landscape mode this results in the illustration overlapping the search input area.
In BaseSelectionList.tsx:549-553, the textInputComponent (search box) is rendered unconditionally at line 551, before the conditional branch that decides whether to show listEmptyContent or the FlashList. When data.length === 0, both the search box and the BlockingView (Telescope illustration) render simultaneously.
In SpendRuleCardPage.tsx:204-232, the page passes both textInputOptions (with headerMessage) and listEmptyContent (a BlockingView with the Telescope illustration) to SelectionList. When there are no eligible cards, both elements stack vertically — the search box plus "No results found" text, followed by the large BlockingView illustration — causing the overlap visible in landscape mode on Android.
What changes do you think we should make in order to solve the problem?
In SpendRuleCardPage.tsx, conditionally render the listEmptyContent without the BlockingView illustration when the search input is active, or more simply: don't pass headerMessage to textInputOptions when the list is empty, since the BlockingView already communicates the empty state (it shows "No active cards" or "No results found" via its title prop at line 230).
Change line 176 and the textInputOptions prop so that headerMessage is only shown when there are eligible cards but the search filtered them all out:
This avoids the duplicate "No results found" messaging (headerMessage text + BlockingView title) and prevents the search box + headerMessage from stacking above the BlockingView illustration in landscape.
What alternative solutions did you explore? (Optional)
Fix in BaseSelectionList.tsx — hide textInputComponent when rendering listEmptyContent. This would be a more structural fix but would affect all consumers of SelectionList, potentially breaking other pages that intentionally want the search box visible alongside empty content.
Remove listEmptyContent entirely when searching — only show the BlockingView when there's no search input, and rely on headerMessage for the "No results found" case. This would work but loses the visual empty-state illustration during search.
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.
I think it isn’t a deploy blocker. This is a common issue when supporting landscape mode, and it also occurs with most inputs at the top. The current UX still makes sense to me
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.60-22 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@suneox 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]
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Activity
melvin-bot commentedon Apr 9, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #86684
melvin-bot commentedon Apr 9, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Apr 9, 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 Apr 9, 2026
Investigation Summary: Classification: Frontend bug. Causing PR: #86684 - Add spend rule base page by @luacmartins (High confidence). Recommendation: REVERT. PR 86684 introduced SpendRuleCardPage.tsx with a UI rendering defect in landscape mode where the No active cards BlockingView illustration appears above the search box simultaneously with the same message already shown inline as headerMessage text. Assigned: @luacmartins (PR author), @suneox and @JS00001 (approving reviewers). Labels: DeployBlockerCash kept (frontend App bug). Root cause: SpendRuleCardPage.tsx passes both a headerMessage (No active cards text rendered below the search box via TextInput component) and a listEmptyContent (BlockingView illustration) to SelectionList. In BaseSelectionList.tsx, when data is empty, the textInputComponent renders unconditionally before renderListEmptyContent(), so both UI elements appear simultaneously. In Android landscape mode this results in the illustration overlapping the search input area.
MelvinBot commentedon Apr 9, 2026
Proposal
What is the root cause of that problem?
In
BaseSelectionList.tsx:549-553, thetextInputComponent(search box) is rendered unconditionally at line 551, before the conditional branch that decides whether to showlistEmptyContentor the FlashList. Whendata.length === 0, both the search box and theBlockingView(Telescope illustration) render simultaneously.In
SpendRuleCardPage.tsx:204-232, the page passes bothtextInputOptions(withheaderMessage) andlistEmptyContent(aBlockingViewwith the Telescope illustration) toSelectionList. When there are no eligible cards, both elements stack vertically — the search box plus "No results found" text, followed by the large BlockingView illustration — causing the overlap visible in landscape mode on Android.What changes do you think we should make in order to solve the problem?
In
SpendRuleCardPage.tsx, conditionally render thelistEmptyContentwithout theBlockingViewillustration when the search input is active, or more simply: don't passheaderMessagetotextInputOptionswhen the list is empty, since theBlockingViewalready communicates the empty state (it shows "No active cards" or "No results found" via itstitleprop at line 230).Change line 176 and the
textInputOptionsprop so thatheaderMessageis only shown when there are eligible cards but the search filtered them all out:This avoids the duplicate "No results found" messaging (headerMessage text + BlockingView title) and prevents the search box + headerMessage from stacking above the BlockingView illustration in landscape.
What alternative solutions did you explore? (Optional)
BaseSelectionList.tsx— hidetextInputComponentwhen renderinglistEmptyContent. This would be a more structural fix but would affect all consumers ofSelectionList, potentially breaking other pages that intentionally want the search box visible alongside empty content.listEmptyContententirely when searching — only show theBlockingViewwhen there's no search input, and rely onheaderMessagefor the "No results found" case. This would work but loses the visual empty-state illustration during search.Next 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.suneox commentedon Apr 9, 2026
I think it isn’t a deploy blocker.
This is a common issue when supporting landscape mode, and it also occurs with most inputs at the top. The current UX still makes sense to meluacmartins commentedon Apr 9, 2026
NAB the feature is behind a beta
15 remaining items
melvin-bot commentedon Apr 21, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.60-22 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-04-28. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Apr 21, 2026
@suneox 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]
melvin-bot commentedon Apr 23, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)luacmartins commentedon Apr 23, 2026
Awaiting payment
suneox commentedon Apr 28, 2026
BugZero Checklist:
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR: Add spend rule base page #86684
Link to the comment on the Issue: [Due for payment 2026-04-17] [Card Rules Release #2] [App] Create add spend rule flow #86521 (comment)
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
N/A: It isn't an impactful bug
melvin-bot commentedon Apr 28, 2026
Payment Summary
Upwork Job
BugZero Checklist (@mallenexpensify)
mallenexpensify commentedon Apr 29, 2026
Payment Summary
Contributor+: @suneox due $250 via NewDot
garrettmknight commentedon May 10, 2026
$250 approved for @suneox