Fix: Large image result in attachment not found#81631
Fix: Large image result in attachment not found#81631srikarparsi merged 5 commits intoExpensify:mainfrom
Conversation
|
@ahmedGaber93 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp20260209204729911.mp4Android: mWeb Chrome20260209195604424.mp4iOS: HybridApp20260209202912318.mp4iOS: mWeb Safari20260209195338933.mp4MacOS: Chrome / Safari20260209173117811.mp4 |
|
@mohammadjafarinejad Curious why did you change your fix from: key={`${attachmentID}-${isHighResolution && isUploaded ? 'preview' : 'full'}`}to key={imageSource}The difference between the two is whether the transition loading screen appears on all images or only on large images. 20260209205505935.mp4 |
|
@mohammadjafarinejad could you please stick to your original proposal, or clarify why it was changed? |
|
@ahmedGaber93 Ready for re-review.
There's a similar transition issue with scan receipts where the image disappears during the blob → server upload transition (in that case, So I think that bug is out of scope for our PR. WDYT? I went with the original proposal. |
@mohammadjafarinejad Are able to reproduce it on staging? Can you share a video? |
|
@ahmedGaber93 Yes, I can reproduce it on staging too.
REC-20260217191322.mp4
REC-20260217191659.mp4 |
|
I agree this is a different issue, and it already exists on staging.
|
Co-authored-by: ahmedGaber93 <41129870+ahmedGaber93@users.noreply.github.com>
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @srikarparsi has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.3.22-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.22-4 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.22-4 🚀
|
Explanation of Change
Fixed Issues
$ #76193
PROPOSAL: #76193 (comment)
Tests
Offline tests
None.
QA Steps
Same as test.
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.mp4
Android: mWeb Chrome
android-web.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
web.mp4