-
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
[$2000] iOS app - Attachment - User can't see PDF preview before uploading #7962
Comments
Triggered auto assignment to @TomatoToaster ( |
Triggered auto assignment to @Christinadobrzyn ( |
looks like it might be related to this GH - #7365 - that is closed. |
Created Upwork Job |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @roryabraham ( |
Price increase $500! |
Hi, I just reproduced this bug and found the root cause. It is to do with the file name. I tried uploading a PDF with a space in its name, and it didn't show me a preview. (case in point, first video). This is because of the App/src/components/PDFView/index.native.js Lines 34 to 37 in c26e415
And there is an error loading the file with that URL. We will need to find a way to replace that %20 into a space, like this: /sample file.pdf. This can be as easy as replacing props.sourceURL using: The second video shows my solution works. Simulator.Screen.Recording.-.iPhone.13.-.2022-03-11.at.17.47.34.mp4This.is.new.mov |
Nice catch @barun1997. Could you please use decodeURIComponent for this purpose? I like @barun1997's proposal. Let's go with it. cc: @roryabraham 🎀 👀 🎀 C+ reviewed |
@parasharrajat yup will do! |
Hi guys, should I start working on this? |
Did you get a chance to look at the Contribution.md guidelines? Maybe that helps. In short, you will be assigned to this issue before you can start. Also hired on Upwork. |
Thanks for the investigation @barun1997, your proposal looks good to me 👍 |
📣 @barun1997 You have been assigned to this job by @roryabraham! |
Hired @barun1997 in Upwork for the fix and @parasharrajat as the C+ |
ok. i think PR deployed to production and right now regression period is going on, correct me if I am wrong. |
@gadhiyamanan, could you please link me to the PR? There are quite a few in the hundreds of messages in this issue so I'd like to make sure it's the right one. |
Please check this PR #9841 |
Thank you! The PR is not yet deployed to staging or production because QA is still happening as per this comment: |
I think PR deployed as per list |
Hi @gadhiyamanan, this PR was merged to the production branch two days ago: #10495, but due to deploy issues, it was not deployed to production. We are working hard to try and get a new release out. Thanks for your patience. |
This PR is in production now, was deployed in |
Issue not reproducible during KI retests. (Second week) |
https://www.upwork.com/ab/applicants/1499594733421305856/job-details @gadhiyamanan @parasharrajat please accept the contract I just sent and I'll get this paid out for you both :) |
@kadiealexander accepted. |
@kadiealexander ping for upwork |
Payment was made yesterday, is there an issue? |
@roryabraham @kadiealexander Be sure to fill out the Contact List! |
@kadiealexander I think you sent an offer but payment is pending, can you check ? cc: @roryabraham |
@kadiealexander have you checked? |
Yeah, payment is pending for me too. @kadiealexander |
Strange, for me it is showing that the contracts were ended by you both. I'll reissue a new contract for you both now and once you've accepted I'll issue payment. Sorry for the confusion here! |
@parasharrajat - all paid, thank you! |
@kadiealexander accepted, should i end the first contact? |
Yeah, cancel the contract and I will do the same. You can also paste the link here. @kadiealexander This is the job URL for the first contract https://www.upwork.com/jobs/iOS-app-User-can-see-PDF-preview-when-uploading-attachment-Expensify-7962_~0139a6e40732d704a3. |
@kadiealexander ping for upwork |
Thanks @gadhiyamanan, I think everyone is paid and all contracts are ended. Please let me know if there's anything outstanding! |
@roryabraham @kadiealexander Be sure to fill out the Contact List! |
Thank You :) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
The user expects to be able to see the preview of the PDF before uploading
Actual Result:
The user is not able to see the preview of his/her PDF. The document loads as a grey page and can only be seen within the chat history after being sent.
Workaround:
Unknow
Platform:
Where is this issue occurring?
Version Number: 1.1.41.1
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5475042_Can_t_See_Preview_.mp4
Bug5475042_PDF_that_can_t_be_seen.pdf
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: