-
Notifications
You must be signed in to change notification settings - Fork 3k
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: 19920 image opens always with loading spinner #20545
Conversation
Is this ready for review? |
@s77rt Yes, can you help review? Thanks |
Umm with not a lot of context it seems like it's the same problem, we could either hold until #18997 is merged or just test this PR against that by pulling in the changes to confirm it's not something else. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think just remove the outdated comment then we'll be 👍 .
@@ -104,23 +104,21 @@ class ImageView extends PureComponent { | |||
*/ | |||
configureImageZoom({nativeEvent}) { | |||
// Wait till animations are over to prevent stutter in navigation animation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is now outdated right, it was the reason for why were using InteractionManager
?
Reviewer Checklist
Screenshots/VideosWebweb.mp4Mobile Web - Chromemweb-chrome.mp4Mobile Web - Safarimweb-safari.mp4Desktopdesktop.mp4iOSios.mp4AndroidThis is bugged at the moment, will be fixed separately |
Also please add a note for the QA team that the android test here is broken and can be skipped |
The android bug may need further work, the bug is probably coming from the patch https://github.com/Expensify/App/blob/main/patches/react-native-fast-image%2B8.6.3.patch Edit: I think the plan is to remove the patch and have our own forked repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
cc @bondydaa
✋ 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/bondydaa in version: 1.3.28-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
Fixed Issues
$ #19920
PROPOSAL: #19920 (comment)
Tests
Offline tests
same as above
QA Steps
Note When opening the images on Android native, the previews keep loading forever, this issue will be fixed after the PR is merged, so we can ignore testing on Android native
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
Screen.Recording.2023-06-10.at.01.32.20.mp4
Mobile Web - Chrome
original-B2DCCE09-20C5-48D9-95AD-C2D9B24B42B8.mp4
Mobile Web - Safari
original-64045AF2-C94C-420F-B3AA-FBDE10477EAB.mp4
Desktop
Screen.Recording.2023-06-10.at.01.44.24.mp4
iOS
Screen.Recording.2023-06-07.at.14.54.20.mov
Android
Screen.Recording.2023-06-10.at.02.00.55.mov