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

[HOLD for payment 2023-10-12] [$500] warning: native module for Flipper seems unavailable #26988

Closed marcaaron closed 1 year ago

marcaaron commented 1 year ago

2023-09-07_09-54-26

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~015c93e6f743127c98
  • Upwork Job ID: 1700290971102027776
  • Last Price Increase: 2023-09-22
  • Automatic offers:
    • situchan | Contributor | 26876532
    • bernhardoj | Contributor | 26936772
melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

Bug0 Triage Checklist (Main S/O)

bernhardoj commented 1 year ago

Proposal

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

A flipper warning in the console.

What is the root cause of that problem?

In NavigationRoot, we use useFlipper to integrate the flipper with react-navigation. However, flipper is only available for native platforms. https://github.com/Expensify/App/blob/b119f9ab54e7cc7272702e270693896b352b61e0/src/libs/Navigation/NavigationRoot.js#L53-L54

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

Create a platform-dependent file for native and other platforms.

useFlipper/index.native.js will export useFlipper from react-navigation useFlipper/index.js will export a no-op function

melvin-bot[bot] commented 1 year ago

Job added to Upwork: https://www.upwork.com/jobs/~015c93e6f743127c98

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

@greg-schroeder, @abdulrahuman5196, @joekaufmanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

joekaufmanexpensify commented 1 year ago

Seems like I was accidentally double assigned here. Unassigning, but LMK if there's anything I can help with!

greg-schroeder commented 1 year ago

Nah you're good @joekaufmanexpensify, that was a mistake

abdulrahuman5196 commented 1 year ago

Sorry for the delay, I will check on this during the weekend

melvin-bot[bot] commented 1 year ago

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

greg-schroeder commented 1 year ago

awaiting proposal review

melvin-bot[bot] commented 1 year ago

@greg-schroeder @abdulrahuman5196 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

melvin-bot[bot] commented 1 year ago

@greg-schroeder, @abdulrahuman5196 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] commented 1 year ago

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

greg-schroeder commented 1 year ago

Are you able to take a look @abdulrahuman5196?

greg-schroeder commented 1 year ago

Re-adjusting C+ to someone with a bit more bandwidth!

melvin-bot[bot] commented 1 year ago

📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻 Keep in mind: Code of Conduct | Contributing 📖

situchan commented 1 year ago

I agree with @bernhardoj's proposal. Flipper is only for native so it makes sense to have platform files for useFlipper. 🎀 👀 🎀 C+ reviewed

melvin-bot[bot] commented 1 year ago

Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

melvin-bot[bot] commented 1 year ago

@greg-schroeder @jasperhuangg @situchan this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

greg-schroeder commented 1 year ago

Hey @jasperhuangg can you confirm the assignment here? https://github.com/Expensify/App/issues/26988#issuecomment-1734828990

Thanks!

jasperhuangg commented 1 year ago

Thanks for your patience. Your proposal makes sense to me @bernhardoj, assigned!

melvin-bot[bot] commented 1 year ago

📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻 Keep in mind: Code of Conduct | Contributing 📖

bernhardoj commented 1 year ago

PR is ready

cc: @situchan

melvin-bot[bot] commented 1 year ago

🎯 ⚡️ Woah @situchan / @bernhardoj, great job pushing this forwards! ⚡️

The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉

On to the next one 🚀

melvin-bot[bot] commented 1 year ago

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

melvin-bot[bot] commented 1 year ago

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.77-7 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-10-12. :confetti_ball:

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.

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:

melvin-bot[bot] commented 1 year ago

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

greg-schroeder commented 1 year ago

processing

greg-schroeder commented 1 year ago

Issue Participants:

Contributor: @bernhardoj ($750) C+: @situchan ($750)

situchan commented 1 year ago

We can skip BZ checklist here. It's just console warning

greg-schroeder commented 1 year ago

Yeah, agreed. Closing!