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 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] MEDIUM: New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) #23228

Closed
JmillsExpensify opened this issue Jul 20, 2023 · 47 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@JmillsExpensify
Copy link

JmillsExpensify commented Jul 20, 2023

We're initially building support for receipt images uploads, but we need to circle back and add the ability to upload PDF or other file types.

Internal context in this Slack thread.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01cfad31fbc4738d9d
  • Upwork Job ID: 1702030509135847424
  • Last Price Increase: 2023-09-20
  • Automatic offers:
    • hoangzinh | Contributor | 26877236
@JmillsExpensify JmillsExpensify added the NewFeature Something to build that is a new item. label Jul 20, 2023
@JmillsExpensify JmillsExpensify self-assigned this Jul 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

Current assignee @JmillsExpensify is eligible for the NewFeature assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added the Weekly KSv2 label Jul 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

Triggered auto assignment to Design team member for new feature review - @shawnborton (NewFeature)

@shawnborton
Copy link
Contributor

Anything needed from me here?

@JmillsExpensify
Copy link
Author

Nah, I'll remove you.

@JmillsExpensify
Copy link
Author

Still clean-up for wave4

@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 10, 2023
@JmillsExpensify
Copy link
Author

Same same

@melvin-bot melvin-bot bot removed the Overdue label Aug 16, 2023
@JmillsExpensify
Copy link
Author

For this one, I think we should go in a direction where we prioritize images, but we allow for non-image uploads by choosing a file-type option. Here's how WhatsApp does it and that works pretty well.

IMG_E65358CEE961-1

@dylanexpensify
Copy link
Contributor

Agree, I think that approach feels the most intuitive

@JmillsExpensify JmillsExpensify removed their assignment Aug 21, 2023
@dylanexpensify dylanexpensify self-assigned this Sep 1, 2023
@dylanexpensify dylanexpensify added External Added to denote the issue can be worked on by a contributor Daily KSv2 labels Sep 13, 2023
@melvin-bot melvin-bot bot changed the title New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) [$500] New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) Sep 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01cfad31fbc4738d9d

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Sep 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External)

@dylanexpensify dylanexpensify changed the title [$500] New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) [$500] MEDIUM: New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) Sep 14, 2023
@hoangzinh
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Support file uploads on mobile (e.g. PDFs, docx, etc.)

What is the root cause of that problem?

New feature, moreover, according to this line, currently we only support upload image in mobile app

imagePickerFunc(getImagePickerOptions(CONST.ATTACHMENT_PICKER_TYPE.IMAGE), (response) => {

What changes do you think we should make in order to solve the problem?

According to this comment #23228 (comment), we would like to do something like we done add attachment chat composer in mobile app. So in order to to it, we need to wrap those line of codes inside AttachmentPicker component, same as we did for default platform

<AttachmentPicker>
{({openPicker}) => (
<PressableWithFeedback
accessibilityLabel={translate('receipt.chooseFile')}
accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON}
>
<Button
medium
success
text={translate('receipt.chooseFile')}
style={[styles.p9]}
onPress={() => {
openPicker({
onPicked: (file) => {
setReceiptAndNavigate(file, props.iou, props.report);
},
});
}}
/>
</PressableWithFeedback>
)}
</AttachmentPicker>

Result:

Screen.Recording.2023-09-14.at.22.47.21.mov

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.83-11 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-10-20. 🎊

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.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 13, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-10-20] [$500] MEDIUM: New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] MEDIUM: New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.83-11 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-10-20. 🎊

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.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 16, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] MEDIUM: New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] MEDIUM: New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) Oct 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 16, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.84-10 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-10-23. 🎊

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.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 16, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] MEDIUM: New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] MEDIUM: New Feature: Support file uploads on mobile (e.g. PDFs, docx, etc.) Oct 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 16, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.84-10 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-10-23. 🎊

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.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Oct 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 23, 2023

@johnmlee101, @hoangzinh, @sobitneupane, @dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2023

@johnmlee101, @hoangzinh, @sobitneupane, @dylanexpensify Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot
Copy link

melvin-bot bot commented Oct 27, 2023

@johnmlee101, @hoangzinh, @sobitneupane, @dylanexpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@hoangzinh
Copy link
Contributor

cc @dylanexpensify for payment.

@melvin-bot melvin-bot bot removed the Overdue label Oct 27, 2023
@dylanexpensify
Copy link
Contributor

paying today!

@dylanexpensify
Copy link
Contributor

Payment summary:

Please apply!

@dylanexpensify
Copy link
Contributor

Paid!

@sobitneupane
Copy link
Contributor

#23228 (comment)

Requested payment on newDot.

@JmillsExpensify
Copy link
Author

@dylanexpensify can you please update your payment summary. It's missing an amount for @sobitneupane

@dylanexpensify
Copy link
Contributor

Sorry!

Payment Summary:

Please apply!

@JmillsExpensify
Copy link
Author

$500 payment approved for @sobitneupane based on comment above.

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 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
No open projects
Development

No branches or pull requests

7 participants