Skip to content
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 2022-08-30] [$1000] Attachment - Image file size gets doubled when uploaded from iOS @aswin-s #9424

Closed
kbecciv opened this issue Jun 13, 2022 · 44 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. Reviewing Has a PR in review

Comments

@kbecciv
Copy link

kbecciv commented Jun 13, 2022

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:

  1. Launch the app
  2. Go to a chat and upload an image from a mobile device.
  3. Check the image size on device.
  4. Now open the chat on recipient account in a web browser.
  5. Open and download the received image.
  6. Check the image file size. It is almost double the original file size

Expected Result:

File size should be at least equal or less than the uploaded size.

Actual Result:

Image file size gets doubled when uploaded from mobile.

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platform:

Where is this issue occurring?

  • iOS

Version Number: 1.1.76.2

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers): any

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Image.Bug.mp4

Expensify/Expensify Issue URL:

Issue reported by: @aswin-s

Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1654070862340069

View all open jobs on GitHub

@kbecciv kbecciv added the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Jun 13, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jun 13, 2022

Triggered auto assignment to @sophiepintoraetz (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed AutoAssignerTriage Auto assign issues for triage to an available triage team member labels Jun 13, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2022

Triggered auto assignment to @yuwenmemon (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@sophiepintoraetz sophiepintoraetz added the Improvement Item broken or needs improvement. label Jun 14, 2022
@sophiepintoraetz sophiepintoraetz removed their assignment Jun 14, 2022
@yuwenmemon yuwenmemon added Weekly KSv2 and removed Daily KSv2 labels Jun 14, 2022
@melvin-bot melvin-bot bot added the Overdue label Jun 22, 2022
@yuwenmemon
Copy link
Contributor

Note: this is only happening for JPEG filetypes.

@melvin-bot melvin-bot bot removed the Overdue label Jun 28, 2022
@yuwenmemon
Copy link
Contributor

Looks like the filesize is getting adjusted client-side:

Kapture.2022-06-28.at.14.58.49.mp4

@yuwenmemon
Copy link
Contributor

Anywhooo... Looks like since this is not a problem with the API we can have a contributor work on it. Curious to know what the issue is!

@yuwenmemon yuwenmemon removed their assignment Jun 28, 2022
@yuwenmemon yuwenmemon added the External Added to denote the issue can be worked on by a contributor label Jun 28, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jun 28, 2022

Triggered auto assignment to @kadiealexander (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 28, 2022
@kadiealexander
Copy link
Contributor

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jun 29, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jun 29, 2022

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (Exported)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 29, 2022
@ntdiary
Copy link
Contributor

ntdiary commented Jul 25, 2022

@mountiny react-native-image-picker/react-native-image-picker#2006 🙂

@melvin-bot melvin-bot bot added the Overdue label Aug 2, 2022
@mountiny
Copy link
Contributor

mountiny commented Aug 2, 2022

Bumped the maintainer of the repo for a review 🤞

@melvin-bot

This comment was marked as spam.

@Santhosh-Sellavel
Copy link
Collaborator

Has melvin gone crazy?

@mountiny
Copy link
Contributor

mountiny commented Aug 5, 2022

No, this is a new feature when you comment linking an issue or PR in deployBlocker

@Santhosh-Sellavel
Copy link
Collaborator

Ya but when this issue doesn't have any active or merged PR, notification doesn't make any sense.

@mountiny
Copy link
Contributor

mountiny commented Aug 8, 2022

@Santhosh-Sellavel That is true we cant really see if there is a linked PR to this issue, but I think we might want to look into this, maybe checking if the issue has Awaiting Payment label signalling the linked PR has been closed or is closed in general as internal issues wont have Awaiting Payment.

@mountiny
Copy link
Contributor

mountiny commented Aug 8, 2022

@ntdiary Your PR has been merged and released! 🎉 lets move ahead with testing this in our App :) thank you!

@ntdiary
Copy link
Contributor

ntdiary commented Aug 8, 2022

Hi, @mountiny I've submitted a PR, please let me know if I'm not doing something right 😄

@Santhosh-Sellavel
Copy link
Collaborator

@Santhosh-Sellavel That is true we cant really see if there is a linked PR to this issue, but I think we might want to look into this, maybe checking if the issue has Awaiting Payment label signalling the linked PR has been closed or is closed in general as internal issues wont have Awaiting Payment.

Maybe let's use the Reviewing Label is common to internal or external right?

@mountiny mountiny added the Reviewing Has a PR in review label Aug 8, 2022
@mountiny
Copy link
Contributor

mountiny commented Aug 8, 2022

Maybe let's use the Reviewing Label is common to internal or external right?

We are discussing this, the internal ones get closed when issue is merged.

@Santhosh-Sellavel
Copy link
Collaborator

We are discussing this, the internal ones get closed when the issue is merged.

Cool, we can ask melvin to reopen it if that's not a problem. Like it does for crash issues.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 23, 2022
@melvin-bot
Copy link

melvin-bot bot commented Aug 23, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.88-15 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 2022-08-30. 🎊

@melvin-bot melvin-bot bot changed the title [$1000] Attachment - Image file size gets doubled when uploaded from iOS @aswin-s [HOLD for payment 2022-08-30] [$1000] Attachment - Image file size gets doubled when uploaded from iOS @aswin-s Aug 23, 2022
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 30, 2022
@kadiealexander
Copy link
Contributor

@aswin-s and @ntdiary have been paid, thank you!

@Santhosh-Sellavel please let me know once you've accepted the contract and I'll issue payment here too.

@Santhosh-Sellavel
Copy link
Collaborator

Done @kadiealexander thanks!

@kadiealexander
Copy link
Contributor

Thanks Santhosh! Paid you as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

7 participants