-
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
[HOLD for payment 2023-03-09] [$1000] GIF attachments are either displayed as blank or there is infinite loading on attachment preview #15288
Comments
Triggered auto assignment to @davidcardoza ( |
Bug0 Triage Checklist (Main S/O)
|
cc @Beamanator @trjExpensify Might want to fold this into image iprovements. |
Hm yeah, is this not a dupe? #14751 the PR was approved today? |
Not quite dupes, #14751 is only about uploading a gif as an avatar, not a chat attachment |
Gotcha, okay. This is inconsistently reproducible on browserstack: I asked @Julesssss to try on a physical Android device for good measure, and he's equally getting inconsistent results. Seems like something we should investigate further. @thomas-coldwell you might have an idea from the image caching improvements on native perhaps? |
Job added to Upwork: https://www.upwork.com/jobs/~018f1c677402b17651 |
Current assignee @davidcardoza is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @bondydaa ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.GIF attachments are either displayed as blank or there is infinite loading on attachment preview What is the root cause of that problem?on What changes do you think we should make in order to solve the problem?I am proposing to ether use promises or useEffect to wait for two initial conditions to happen in
What alternative solutions did you explore? (Optional)none |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Image attachment modal show infinite loading when we open a GIF attachment. What is the root cause of that problem?We are using react native fast image component to show the image and the loading indicator will be shown when App/src/components/ImageView/index.native.js Lines 173 to 189 in 9d04b46
App/src/components/ImageView/index.native.js Lines 82 to 84 in 9d04b46
The loading indicator will be hidden after the App/src/components/ImageView/index.native.js Lines 93 to 115 in 9d04b46
However, from what I tested, What changes do you think we should make in order to solve the problem?Before I explain the solution for this issue, currently, every time I open an image attachment modal, I always get an error that is caused by undefined
We can solve this by render the
Now, the solution for this GH issue is:
|
I'll just unassign myself I think I will not be able to get to this sooner, thanks! @bondydaa @davidcardoza Can you reapply external label here to get a new C+ or assign @s77rt If they are willing to take it as C+ |
📣 @Santhosh-Sellavel! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.77-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-03-09. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Regression Test Step
Do we 👍 or 👎 ? |
cc @bondydaa @bernhardoj Please update the regression test to take into account that this must be tried 3-5 times given that the reproduction of this issue is somehow random. |
@s77rt Is it better to mentioned to repeat a fixed number of times (3-5) or just multiple times? |
@bernhardoj Any will do 👍 |
Hi @s77rt , @bondydaa , @davidcardoza, The issue has hold for payment of 9th march, can you have a look once you all are available? |
I can process payment. Is it $1000 to @s77rt and @bernhardoj and $250 to @dhanashree-sawant ? |
@davidcardoza I believe @bernhardoj and I are eligible for 50% timeline bonus. |
@bernhardoj and @dhanashree-sawant offers sent. @s77rt payment was sent. |
@bondydaa Checklist ^ #15288 (comment) |
oh sorry 👍 looks good to me |
are we good to close? i think payments and everything else is set right? |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
GIF should be displayed normally on preview screen
Actual Result:
Most of times, blank screen or infinite loading is displayed for GIF preview
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.74-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
gif.attachments.issue.mp4
az_recorder_20230219_155008.1.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676741569824349
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: