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][$250] Upgrade lottie-react-native to 6.3.1 #28132

Closed
roryabraham opened this issue Sep 25, 2023 · 32 comments
Closed
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

@roryabraham
Copy link
Contributor

roryabraham commented Sep 25, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Slack convo: https://expensify.slack.com/archives/C04878MDF34/p1695304606676759

Problem

There are breaking changes in lottie-react-native 6.0 and we're still using 5.1.6. There are E/App changes needed to complete #26871

Solution

Upgrade E/App to use lottie-react-native 6.3.1+

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~012d74e563bdfd8754
  • Upwork Job ID: 1706290261133504512
  • Last Price Increase: 2023-09-25
  • Automatic offers:
    • ZhenjaHorbach | Contributor | 26874866
    • situchan | Contributor | 26992172
@roryabraham roryabraham added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 labels Sep 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 25, 2023

@roryabraham the AutoAssignerTriage label has been deprecated. Please use Bug for issue triage. See https://stackoverflowteams.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Sep 25, 2023
@roryabraham roryabraham self-assigned this Sep 25, 2023
@roryabraham roryabraham added the External Added to denote the issue can be worked on by a contributor label Sep 25, 2023
@melvin-bot melvin-bot bot changed the title Upgrade lottie-react-native to 6.3.1 [$500] Upgrade lottie-react-native to 6.3.1 Sep 25, 2023
@roryabraham roryabraham added the NewFeature Something to build that is a new item. label Sep 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 25, 2023

Job added to Upwork: https://www.upwork.com/jobs/~012d74e563bdfd8754

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

melvin-bot bot commented Sep 25, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 25, 2023

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Sep 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 25, 2023

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

@roryabraham roryabraham changed the title [$500] Upgrade lottie-react-native to 6.3.1 [$250] Upgrade lottie-react-native to 6.3.1 Sep 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 25, 2023

Upwork job price has been updated to $250

@ghost
Copy link

ghost commented Sep 25, 2023

Dibs

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Sep 25, 2023

Proposal

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

Upgrade lottie-react-native to 6.3.1

What is the root cause of that problem?

There are breaking changes in lottie-react-native 6.0

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

We need to update version in package.json

Also, we need to check updates for react-native-web-lottie
And update the version and patch

What alternative solutions did you explore? (Optional)

NA

And so that there would be fewer questions later ))))
Screenshot 2023-09-25 at 14 59 02

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 25, 2023
@b4s36t4
Copy link
Contributor

b4s36t4 commented Sep 25, 2023

Proposal

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

Upgrade lottie-react-native to 6.3.1

What is the root cause of that problem?

NA RC

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

  1. Upgrading from v5 to v6 has few breaking changes, and at this point there's nothing that we're using which causes any breaking changes. So we can easily upgrade to the lottie-react-native to latest verion.

  2. Deprecate support for react-native-web-lottie, as mentioned in description we're moving with .lottie files so web-lottie is not required. (remove from package)

  3. Install @dotlottie/react-player for web support.

Since we can not support webpack/babel alias support for this package we can create a cross-platform component Just as a layer for the platform specific packages.

Like inside components folder we would create index.js/ts and export a wrapper component with name as Lottie and index.website.js to create a wrapper component which uses Lottie from @dotlottie/react-player package.

for @dotlottie/react-player we should check that json animations are support or not, if we not first we should migrate all .json file to .lottie files then we should move ahead with this implementation

What alternative solutions did you explore? (Optional)

NA

@b4s36t4
Copy link
Contributor

b4s36t4 commented Sep 25, 2023

I think we have a draft PR ready with lottie-react-native for web support so Just upgrading and removing the dependecy of lottie-web-react-native should complete the work.

@roryabraham
Copy link
Contributor Author

Install @dotlottie/react-player for web support.

Definitely out-of-scope for this issue. We're working building web support directly into lottie-react-native in #26871

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

melvin-bot bot commented Sep 26, 2023

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

@allroundexperts
Copy link
Contributor

@dylanexpensify It seems like @situchan has already reviewed the PR for this.

@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:

  • when @ZhenjaHorbach got assigned: 2023-09-26 02:09:07 Z
  • when the PR got merged: 2023-10-11 11:59:26 UTC
  • days elapsed: 11

On to the next one 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 13, 2023
@melvin-bot melvin-bot bot changed the title [$250] Upgrade lottie-react-native to 6.3.1 [HOLD for payment 2023-10-20] [$250] Upgrade lottie-react-native to 6.3.1 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] [$250] Upgrade lottie-react-native to 6.3.1 [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$250] Upgrade lottie-react-native to 6.3.1 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] [$250] Upgrade lottie-react-native to 6.3.1 [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$250] Upgrade lottie-react-native to 6.3.1 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] [$250] Upgrade lottie-react-native to 6.3.1 [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$250] Upgrade lottie-react-native to 6.3.1 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

@allroundexperts allroundexperts removed their assignment Oct 17, 2023
@allroundexperts
Copy link
Contributor

Un-assigning myself since this was handled solely by @situchan!

@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

@roryabraham, @Christinadobrzyn, @dylanexpensify, @ZhenjaHorbach, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@roryabraham roryabraham changed the title [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$250] Upgrade lottie-react-native to 6.3.1 [HOLD for payment 2023-10-23][$250] Upgrade lottie-react-native to 6.3.1 Oct 23, 2023
@roryabraham
Copy link
Contributor Author

@Christinadobrzyn @dylanexpensify this is ready for payment

@melvin-bot melvin-bot bot removed the Overdue label Oct 23, 2023
@Christinadobrzyn
Copy link
Contributor

Gotcha!

Payment summary:

Bug reporter: NA
Contributor: $250 @ZhenjaHorbach (paid in Upwork)
Contributor+: $250 @situchan (paid in Upwork)

Bonus: N - based on #28132 (comment)

Upwork job - https://www.upwork.com/jobs/~012d74e563bdfd8754

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
None yet
Development

No branches or pull requests

9 participants