Deprecate SearchTransaction > transactionType#74687
Deprecate SearchTransaction > transactionType#74687luacmartins merged 13 commits intoExpensify:mainfrom
Conversation
…unused transactionType field from SearchTransaction type
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@Ollyws Please ignore this PR |
|
cc @luacmartins |
|
PR not product related, removing myself and unsubscribing |
|
@Ollyws all yours |
|
@DylanDylann conflicts |
|
@luacmartins Updated your comments cc @Ollyws |
|
I can reproduce on a new account with cleared data. Yes This issue would also happen on main if we didn't instead use the |
|
@luacmartins Could you please check if the above case is valid — where transactionItem.cardName is set to ' - ' and cardID still has a value? How should I handle this? Should I add a check for it to return cash type? |
|
hmm I don't think that's expected. @Ollyws @DylanDylann is the cardName value also |
|
What kind of card is it? |
|
It should be a cash card |
|
I dont think we have considered a cash card case - the code is assuming that if cardID is defined, it is a card transaction. What exactly is a cash card? like p2p wallet transfer? |
|
Discussing 1:1 |
|
@DylanDylann I raised a BE PR to fix this. We should update the comparison to use this constant instead |
|
@DylanDylann BE PR is deployed. Please update the PR to use this constant |
|
I already used this constant previously. Looks like the bug was fixed after the BE was deployed. @Ollyws Please check again |
|
The failed test seems like flaky one |
|
Thanks for handling Carlos |
|
Great that seems to be fixed, will finish off the review asap. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp01_Android_Native.mp4Android: mWeb Chrome02_Android_Chrome.mp4iOS: HybridApp03_iOS_Native.mp4iOS: mWeb Safari04_iOS_Safari.mp4MacOS: Chrome / Safari05_MacOS_Chrome.mp4MacOS: Desktop06_MacOS_Desktop.mp4 |
|
Flaky failing test |
|
@luacmartins looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.2.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.62-5 🚀
|

…unused transactionType field from SearchTransaction type
Explanation of Change
Fixed Issues
$ #73967
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
MacOS: Desktop