Closed Bug 1570766 Opened 5 years ago Closed 5 years ago

Using Third Party Package react-transition-group in New Tab

Categories

(Firefox :: New Tab Page, task, P1)

task

Tracking

()

RESOLVED WORKSFORME
Iteration:
70.2 - Jul 22 - Aug 4

People

(Reporter: pdahiya, Assigned: dmosedale)

References

Details

Scope of this bug is to get approved for vendoring react-transition-group package.

We want to use react-transition-group in New Tab to animate badge notifications.
https://github.com/mozilla/activity-stream/pull/5196/commits/cd8d51daa498068383e8fa9fdbe45ec5346a6a48
https://github.com/reactjs/react-transition-group/blob/master/LICENSE

The package was formerly maintained by React and is now under community support.
https://reactjs.org/docs/animation.html

Flags: needinfo?(dmose)

NI Dan to help review vendor package. Thanks

Summary: Using Third Party Package react-transition-group → Using Third Party Package react-transition-group in New Tab
Blocks: 1540842

After review and discussion with :k88hudson, this seems like a reasonable package to add. It

  • has most of a page in the core React docs
  • is hosted out of the reactjs organization on github
  • has reasonable test coverage
  • is under the BSD 3-clause license
  • gets regular updates from a number of contributors, mostly to keep it in sync with react, improve documentation etc. It appears to be fairly stable.

r=dmose for inclusion in the tree.

Flags: needinfo?(dmose)
Iteration: --- → 70.2 - Jul 22 - Aug 4
Priority: -- → P1

Dan, do you have an ETA on this? (Could it be today by chance to unblock some code to export?)

Assignee: nobody → dmose
Flags: needinfo?(dmose)

Yes, I'll do this today.

Flags: needinfo?(dmose)

After some investigation, I think this actually does pull in code from at least one (and likely 1 or two more) dependencies, so in order to land that, we'd need to accept those dependencies and licenses as well. I'd like to chat with Kate about this, and she's out today. Can this wait until (at least) tomorrow?

Flags: needinfo?(jdavis)

While investigating this, it looks like we may have an issue with our overall license checking practices for node stuff. I've filed bug 1571901 about this (and will be driving it), but after discussion with :k88hudson, we've decided that it makes sense to not block this bug on sorting that out, largely because we're following existing practice, and, additionally, all of the sub-dependencies for this package have compatible licenses, and all but one of them are already being shipped as part of firefox.

r=dmose

Thanks for investigating this, Dan! We appreciate not blocking on this while the larger issue is being investigated. Good luck on bug 1571901!

Punam, what's the next steps on this bug?

Flags: needinfo?(jdavis) → needinfo?(pdahiya)

Scope of this bug was to review react-transition-group package and if its safe to use in code base. With dmose review its ok to resolve fix this bug

Flags: needinfo?(pdahiya)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.