-
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
[HOLD for payment 2023-02-10] [$1000] Attachment - Several "Loading" messages are displayed when loading a large PDF file #14358
Comments
@kbecciv I can't seem to reproduce this - is it still happening for you? |
@kbecciv do you mind trying to reproduce it again? I can't seem to by following the above steps |
@adelekennedy Checking with team, will update you shortly |
@adelekennedy Issue is reproduced with build 1.2.60.0 pdf.2701.mp4 |
ah pretty sure this is some kind of bug with the pdf library we are using on the web side. It's also barely noticeable 👴 🔍 |
@marcaaron I also don't find it super noticeable and happening with the PDF library should we close for now or leave it open and make it internal? |
Tbh I think it might be something worth fixing but it is so far down my list of priorities that I'd say make it |
Job added to Upwork: https://www.upwork.com/jobs/~011a277bda6d8495b8 |
Current assignee @adelekennedy is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Triggered auto assignment to @danieldoglas ( |
ProposalRCAThe root cause why so many As the number of pages in the PDF increase, the error becomes more and more visible, especially for long receipts / year long transaction documents and summaries. This is reproducible for all components that make use of the SolutionWe can fix this by explicitly telling the library to not show the diff --git a/src/components/PDFView/index.js b/src/components/PDFView/index.js
index f44baa00c5..c3c62d138f 100644
--- a/src/components/PDFView/index.js
+++ b/src/components/PDFView/index.js
@@ -148,6 +148,7 @@ class PDFView extends Component {
width={pageWidth}
key={`page_${index + 1}`}
pageNumber={index + 1}
+ loading=""
/>
))}
</Document> ResultBefore Fix (Slowed to 0.25x for clarity) before.mp4After Fix (Slowed to 0.25x for clarity) after.mp4 |
@Prince-Mendiratta hired! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.64-7 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-02-10. 🎊 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 steps
|
@danieldoglas, @Prince-Mendiratta, @adelekennedy, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@adelekennedy Did we issue the payment for this one? There was a comment about regression here, but there were no regressions, just another PR created to add a comment. |
gentle bump, @danieldoglas @adelekennedy, any updates here? thanks |
@Prince-Mendiratta checking this, sorry for the delay! |
Hey sorry - I was waiting for the checklist to be filled out, @danieldoglas are you saying we can skip that? If so I'll move forward with payment plus a bonus for my delay! |
Yes :) |
Payment sent @Prince-Mendiratta, pending acceptance from @aimane-chnaif |
@adelekennedy thanks! I think this qualifies for the timeline bonus as well, can you please check? |
📣 @Prince-Mendiratta! 📣 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:
|
@adelekennedy I accepted your offer. I haven't received payment yet. Can you please check? |
@adelekennedy I got payment now. Thanks |
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:
PDF file
Вудсторія.pdf
Expected Result:
Only one "Loading" message is displayed when loading a large PDF file
Actual Result:
Several "Loading" messages are displayed when loading a large PDF file
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.55.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
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: Any additional supporting documentation
Bug5899104_loading_android_chrome_1601.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: