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-05-04] [$250] Migrate NewContactMethodPage.js to function component #16291

Closed
1 task
marcaaron opened this issue Mar 20, 2023 · 23 comments
Closed
1 task
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Improvement Item broken or needs improvement.

Comments

@marcaaron
Copy link
Contributor

marcaaron commented Mar 20, 2023

Class Component Migration

Filenames

Task

  • We currently have some class components in our codebase that we would like to refactor to a function component.
  • Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
  • If you need additional guidance, please ask in #expensify-open-source
  • Test for any regressions and verify that there are no breaking changes
@marcaaron marcaaron added Engineering Improvement Item broken or needs improvement. labels Mar 20, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Mar 20, 2023
@Expensify Expensify unlocked this conversation Mar 21, 2023
@bondydaa bondydaa self-assigned this Apr 6, 2023
@bondydaa bondydaa changed the title [HOLD] Migrate LoginField.js to function component Migrate LoginField.js to function component Apr 7, 2023
@marcaaron marcaaron changed the title Migrate LoginField.js to function component [$250] Migrate LoginField.js to function component Apr 13, 2023
@MelvinBot
Copy link

⚠️ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

@marcaaron
Copy link
Contributor Author

Heads up! The pricing for this issue has been adjusted based on the scope of the work and the fact that no complex bug investigations or proposal are required.

@bondydaa
Copy link
Contributor

Sorry I have not gotten started on this like I thought I could, been getting slammed with other chores. Are we opening these up for external contribs now? I can unassign myself if that's the case.

@bondydaa
Copy link
Contributor

actually let me give this a go today 🙏

@bondydaa bondydaa added the Daily KSv2 label Apr 14, 2023
@marcaaron
Copy link
Contributor Author

No worries we haven't opened it up yet. Feel free to take your time.

@bondydaa
Copy link
Contributor

oh hmm looks like that component was removed, I think it's now this form? https://github.com/Expensify/App/blob/main/src/pages/settings/Profile/Contacts/NewContactMethodPage.js

Looks like this was the PR #15330

@bondydaa bondydaa changed the title [$250] Migrate LoginField.js to function component [$250] Migrate NewContactMethodPage.js to function component Apr 14, 2023
@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Apr 14, 2023
@bondydaa
Copy link
Contributor

got a PR up #17472

@huzaifa-99

This comment was marked as off-topic.

@MelvinBot
Copy link

@bondydaa Huh... This is 4 days overdue. Who can take care of this?

@bondydaa
Copy link
Contributor

oh PR is in review and discussion is happening there.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Apr 27, 2023
@melvin-bot melvin-bot bot changed the title [$250] Migrate NewContactMethodPage.js to function component [HOLD for payment 2023-05-04] [$250] Migrate NewContactMethodPage.js to function component Apr 27, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 27, 2023
@MelvinBot
Copy link

Reviewing label has been removed, please complete the "BugZero Checklist".

@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.6-0 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-05-04. 🎊

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

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 removed the Weekly KSv2 label May 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 8, 2023

@bondydaa Huh... This is 4 days overdue. Who can take care of this?

@bondydaa
Copy link
Contributor

bondydaa commented May 9, 2023

hmm this can be closed since it was internal and done

@bondydaa bondydaa closed this as completed May 9, 2023
@melvin-bot melvin-bot bot removed the Overdue label May 9, 2023
@eVoloshchak
Copy link
Contributor

@bondydaa, I did a review of #17472. If that's eligible for payment, could you please tag someone from the BZ team?

@bondydaa
Copy link
Contributor

bondydaa commented May 9, 2023

oh doh yes sorry! didn't mean to forget about you ❤️ .

@bondydaa bondydaa reopened this May 9, 2023
@bondydaa bondydaa added the Bug Something is broken. Auto assigns a BugZero manager. label May 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 9, 2023

Triggered auto assignment to @alexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot

This comment was marked as off-topic.

@bondydaa
Copy link
Contributor

bondydaa commented May 9, 2023

@alexpensify can you pay @eVoloshchak as the c+ who reviewed and tested my PR for this ❤️

@bondydaa
Copy link
Contributor

bondydaa commented May 9, 2023

Um ya sure, I think whatever is standard here works!

I think the amount in the title is wrong b/c this got caught up in some weird automation flow.

@bondydaa
Copy link
Contributor

Hmm okay sorry after discussing on slack (internal slack https://expensify.slack.com/archives/C01SKUP7QR0/p1683707759784279?thread_ts=1683662490.618769&cid=C01SKUP7QR0) it seems Al and I were wrong, these refactors are only going for $250 and the price in the title was right 😬

@alexpensify
Copy link
Contributor

I've started the payment process to @eVoloshchak based on the amount that @bondydaa posted above.

@alexpensify
Copy link
Contributor

Closing - the payment process is complete via Upwork.

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Improvement Item broken or needs improvement.
Projects
None yet
Development

No branches or pull requests

6 participants