fix: broken card connection violation message - #64050
Conversation
c264927 to
23d2c16
Compare
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
There was a problem hiding this comment.
Can you add the same change here?
App/src/components/TransactionItemRow/TransactionItemRowRBR.tsx
Lines 36 to 46 in 1b25509
There was a problem hiding this comment.
Also since we use this in two places, might be good to abstract it and add unit tests @dukenv0307
There was a problem hiding this comment.
@mountiny We used this logic in 2 places: TransactionItemRowRBRWithOnyx and TransactionItemRowRBR
TransactionItemRowRBRWithOnyx.tsx was created in
9826c96#diff-8683f652e500f3c7e6c5f06dc327b73a94243bc8a089e3878bf453aab4567b27
to replace TransactionItemRowRBR.tsx
and TransactionItemRowRBR is used only when isInReportTableView is false
9826c96#diff-6b90fc17b4cc83311999c11c904effc6a5cb559a83dbfdcf53f846f8091f2f67R48-R427
Now isInReportTableView is removed so TransactionItemRowRBR is not used anywhere. I think we can remove it
There was a problem hiding this comment.
Did you get this confirmed?
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Asked Doza for a test |
|
Doza confirmed this is fixed, @eh2077 can you please proceed with a review? |
|
I'll start reviewing shortly in an hour |
|
@dukenv0307 Are the test steps still valid? I tried to follow the test steps but I didn't see violation message for I saw a comment from @mountiny
So, the exported onyx state should show only violation messages of |
|
@eh2077 Yes it's brokenCardConnection. However, in the PR, we also modify the message of brokenCardConnection530, so I think we should add verification for this violation as well. |
|
@dukenv0307 I think we can add unit tests to cover the change. Do you agree? |
|
Yep lets add unit tests please @dukenv0307 |
Reviewer Checklist
Screenshots/Videos |
eh2077
left a comment
There was a problem hiding this comment.
Looks good, just a minor comment
|
@eh2077 how is this looking? |
|
Yeah, code looks good to me. I think we're just waiting for the copy to be confirmed https://expensify.enterprise.slack.com/archives/C01GTK53T8Q/p1750663573630849 |
65135c1 to
bb2c680
Compare
|
|
9894e7c to
88cc090
Compare
|
@dukenv0307 @mountiny we couldn't make a card transaction. Could this be verified internally? |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.72-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.72-0 🚀
|
|
We verified this on the adhoc build too so confident this should be good to check off 👍 |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.72-10 🚀
|









Explanation of Change
Fixed Issues
$ #64059
PROPOSAL:
Tests
Can't auto-match receipt due to broken bank connection which you need to fixforbrokenCardConnectionandCan't auto-match receipt due to broken bank connectionforbrokenCardConnection530Offline tests
Same
QA Steps
Same as Tests
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))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