Fix receipt image is opened in transaction thread report#28640
Fix receipt image is opened in transaction thread report#28640aldo-expensify merged 4 commits intoExpensify:mainfrom
Conversation
|
App crashes when replying to scan the receipt, seems there is a regression from different PR, please update your branch with the main |
|
@ArekChr Updated. |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemweb.chrome.movMobile Web - Safarimweb.safari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
ArekChr
left a comment
There was a problem hiding this comment.
All works, thanks for PR
|
@aldo-expensify Please help to review the PR when you have a chance. |
|
@aldo-expensify Friendly bump. |
|
Sorry @dukenv0307 , I was OOO. Since it has been so long, can we update the branch with main before merging? just to check that all checks are passing with the latest |
|
@aldo-expensify I updated. |
Thanks! |
| setIsReceipt(entry.item.isReceipt); | ||
| setPage(entry.index); | ||
| setActiveSource(entry.item.source); |
There was a problem hiding this comment.
NAB: wondering if we should just put the whole entry in a single state instead of having 3 states.
|
✋ 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/aldo-expensify in version: 1.3.94-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.3.94-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.94-2 🚀
|
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.3.95-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.95-9 🚀
|
Details
We will fix to display the correct attachment preview when clicking on the attachment in the transaction thread report
Fixed Issues
$ #27824
PROPOSAL: #27824 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
Screencast.from.03-10-2023.00.31.22.webm
Mobile Web - Chrome
Record_2023-10-03-00-33-23.mp4
Mobile Web - Safari
Screen.Recording.2023-10-03.at.00.35.36.mov
Desktop
Screen.Recording.2023-10-03.at.00.49.26.mov
iOS
Screen.Recording.2023-10-03.at.00.44.10.mov
Android
27824.webm