fix: hide deactivated cards from Time Sensitive section#90978
fix: hide deactivated cards from Time Sensitive section#90978WojtekBoman wants to merge 1 commit into
Conversation
|
Codex Review: Didn't find any major issues. Nice work! ℹ️ 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". |
201f668 to
edaaee4
Compare
|
@ZhenjaHorbach 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: edaaee4462
ℹ️ 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".
|
Hey, from tomorrow until the end of the week I'm OOO 🌴 @adamgrzybowski will take over |
Reviewer Checklist
Screenshots/Videos |



Explanation of Change
Hide deactivated/closed Expensify Cards from the Time Sensitive section so stale to-dos (fraud, shipping, activation) no longer surface for inactive cards. Also exclude pending-issue and pending-activate cards from the "Your Expensify Cards" widget until they have a usable limit. Implemented in
useTimeSensitiveCards(ACTIVE_STATES guard) andgetDisplayableExpensifyCards.Fixed Issues
$ #90629
PROPOSAL:
Tests
STATE_DEACTIVATED(state 5) which also has an unresolved possible-fraud alert (nameValuePairs.possibleFraud.fraudAlertReportIDset and an unreadACTIONABLE_CARD_FRAUD_ALERTreport action).CLOSEDExpensify Card (state 6) withpossibleFrauddata set.STATE_NOT_ISSUED(pending issue) orNOT_ACTIVATED(pending activation) state.Offline tests
N/A — the change only filters data read from Onyx; no network requests are issued by these code paths.
QA Steps
Same as tests.
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