Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.53k stars 2.88k forks source link

[$250] Migrate AttachmentPicker/index.native.js to function component #16116

Closed marcaaron closed 1 year ago

marcaaron commented 1 year ago

Class Component Migration

Filenames

Task

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01183dfbebd5805613
  • Upwork Job ID: 1688993294115909632
  • Last Price Increase: 2023-08-08
kuluruvineeth commented 1 year ago

Proposal

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

-> Class Component Migration for AttachmentPicker Native Component

What is the root cause of that problem?

-> class components are more verbose and harder to reason about than functional components.

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

-> Convert AttachmentPicker Native Component to functional component by removing extends Component , receiving props i.e {translate and type} as input parameter and using arrow functionality syntax. -> I will use useState hook to maintain the state of the isVisible property and initially set its value to false -> Rest of the functions I would convert them to arrow based functions keeping the logic intact and updating the isVisible local state component variable using setIsVisible callback function provided by useState hook wherever necessary.

What alternative solutions did you explore? (Optional)

MelvinBot commented 1 year ago

Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] commented 1 year ago

Eep! 4 days overdue now. Issues have feelings too...

melvin-bot[bot] commented 1 year ago

8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

melvin-bot[bot] commented 1 year ago

10 days overdue. I'm getting more depressed than Marvin.

melvin-bot[bot] commented 1 year ago

This issue has not been updated in over 14 days. eroding to Weekly issue.

muxriddinmuqimov77 commented 1 year ago

I'd like to work on this issue

s-alves10 commented 1 year ago

I'd love to work on this.

melvin-bot[bot] commented 1 year ago

This issue has not been updated in over 15 days. eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

olexyt commented 1 year ago

I can work on this issue.

rayane-djouah commented 1 year ago

Can I work on this issue?

mkhutornyi commented 1 year ago

I'd like to work on this.

ghost commented 1 year ago

dibs?

JKobrynski commented 1 year ago

Hi, I'm Julian from Callstack - expert contributor group - and I would like to take a look at this issue

melvin-bot[bot] commented 1 year ago

Triggered auto assignment to @sonialiap (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details.

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

Job added to Upwork: https://www.upwork.com/jobs/~01183dfbebd5805613

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

📣 @Santhosh-Sellavel Please request via NewDot manual requests for the Reviewer role ($250)

ghost commented 1 year ago

Dibs

alexxxwork commented 1 year ago

dibs

djabdou commented 1 year ago

I would like to work on this

Habben101 commented 1 year ago

Dibs

annscode commented 1 year ago

I would like to work on this

expertscoders commented 1 year ago

I'd like to work on this.

Santhosh-Sellavel commented 1 year ago

@JKobrynski Any update?

JKobrynski commented 1 year ago

@Santhosh-Sellavel sure! Earlier today I shared a draft PR with our team for initial review, once it's done I will post it

JKobrynski commented 1 year ago

@Santhosh-Sellavel PR is ready for review!

sonialiap commented 1 year ago

Not overdue

JKobrynski commented 1 year ago

PR has been updated, remains under review

melvin-bot[bot] commented 1 year ago

@sonialiap, @marcaaron, @JKobrynski, @Santhosh-Sellavel Huh... This is 4 days overdue. Who can take care of this?

Santhosh-Sellavel commented 1 year ago

PR Merged and waiting for deploy!

sonialiap commented 1 year ago

Deployed 🚀 I believe we now wait 7 days in case of regressions

sonialiap commented 1 year ago

Not overdue

sonialiap commented 1 year ago

Successfully passed the staging deploy and today it's been deployed to production. I'm wrapping up my day now so I'm going to complete this tomorrow

sonialiap commented 1 year ago

@Santhosh-Sellavel review $250 - please request payment in newdot

Santhosh-Sellavel commented 1 year ago

Requested on ND

JmillsExpensify commented 1 year ago

$250 payment approved for @Santhosh-Sellavel based on BZ summary.