-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix message in LHN when scanning #28244
Conversation
@cubuspl42 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] |
I don't think that a workspace chat is fine here, for example |
@cubuspl42 Why do you think that? because this bug can reproduce in all chats that can request money (not only ws chat) |
@DylanDylann You're probably right; let's forget about that. I have a problem reproducing the fix in general: receipt-message-issue-1.mp4This is on your branch + merged |
@cubuspl42 Thanks, I am going to investigate now. But It's seem another bug |
@cubuspl42 I just updated to fix this case. But It is another bug with another RCA, solution even though it also happens when we request money by the amount (manual request). The RCA is that we don't reset lastMessageTranslationKey when calling requestMoney API |
@DylanDylann So what you're saying is that we were unlucky and another bug got into |
Yes, It is my meaning. But I updated to fix that bug |
|
@cubuspl42 how you can reproduce this bug? I can't reproduce it |
Oh, I can reproduce it now |
@cubuspl42 The bug we got is because I am using childLastReceiptTransactionIDs to get the last transaction. It is incorrect because it only be last receipt transaction not the last transaction. So I updated the code to get last money report action of the IOU report and then using it to get last transaction of IOU report |
Is this behavior expected? It looks buggy, as if something goes wrong... receips-scan-issues-1.mp4Also, in console:
Sounds worryingly related to what we do here |
|
@cubuspl42 I try to reproduce your bug but I can't. Could you try again? Screen-Recording-2023-09-29-at-10.31.35.mp4 |
I believe that this is an unrelated thing, but this part...
...might be related to our PR. I'll test again. |
@DylanDylann I can't reproduce it with the last |
Reviewer Checklist
Screenshots/VideosWebreceipt-summary-web.mp4Mobile Web - Chromereceipt-summary-android-web-compressed.mp4Mobile Web - Safarireceipt-summary-ios-web.mp4DesktopiOSreceipt-summary-ios.mp4Androidreceipt-summary-android-compressed.mp4 |
@tylerkaraszewski Gentle bump, please help to review this PR when you have a chance |
@tylerkaraszewski Friendly bump, Please check if you are available |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 1.3.78-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.78-4 🚀
|
🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 1.3.79-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
Details
The subtitle in LHN display wrong message when requesting message by scanning
Fixed Issues
$ #27697
PROPOSAL: #27697 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
web.mov
Mobile Web - Chrome
chrome.mp4
Mobile Web - Safari
safari.mp4
Desktop
desktop.mov
iOS
ios.mov
Android
Screen.Recording.2023-09-26.at.18.15.00.mov