-
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
Allow uploading attachments of any file type #11313
Conversation
Please let me know when ready for review. It seems you are still making changes. |
@parasharrajat this can only be tested internally, as it required a branch from a private repo to be checked out first. |
Ok. Can you please unassign me? Thanks. |
Commented on the Web-E PR, tested and works well though! |
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.
@youssef-lr I'm approving but also putting this PR on HOLD for the Web-E one
|
Just merged and approved https://github.com/Expensify/Web-Expensify/pull/35274, once that's on prod will circle back here! |
@youssef-lr looks like this was merged without the checklist test passing. Please add a note explaining why this was done and remove the |
Checklists are OK. |
✋ 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 @youssef-lr in version: 1.2.23-0 🚀
|
This is not working on native apps. Myself and @Justicea83 see the same error when uploading from native Android and iOS. I was thinking about not reverting, but this current behaviour is worse than the current behaviour on prod -- which shows a nice error message (see below) I'm going to revert this PR StagingProduction |
Hey @jasperhuangg @youssef-lr it looks like this wasn't tested on Android or iOS, did we miss this? Or did we just forget to upload the screenshots? |
@Julesssss do you mind sending me the PDF file that's not working? I'm able to upload PDFs in IOS native. Edit: Just saw that i's not a PDF document but the error says it's not a valid PDF. |
Hey @youssef-lr , the issue occurs when uploading non-pdf files. We used a I'll send it to you on NewDot |
🚀 Deployed to production by @Julesssss in version: 1.2.23-9 🚀
|
Details
Fixed Issues
$ #11189
Tests & QA
Must be tested with https://github.com/Expensify/Web-Expensify/pull/35274.
jpg, jpeg, png, gif, pdf, html, txt, rtf, doc, docx, htm, tiff, tif, xml, mp3, mp4, mov
.heic
image. (Googleheic sample image
)PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.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)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
displayName
propertythis
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)QA Steps
Screenshots
Web
Screen.Recording.2022-10-24.at.17.51.48.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android