Closed
Bug 1468308
Opened 7 years ago
Closed 7 years ago
Convert lodash .invert() to native ES6 JS
Categories
(Tree Management :: Treeherder: Frontend, defect, P3)
Tree Management
Treeherder: Frontend
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1476652
People
(Reporter: evct, Assigned: evct, Mentored)
References
Details
Converting all _.invert() (lodash) functions to ES6 JS
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 1•7 years ago
|
||
I haven't thought about this piece yet, but I've already had to replace _.invert() with ES6 on a personal project. It should be even simpler with the spread operator!
Comment 3•7 years ago
|
||
Hi Elliot - hope you are well. Soundharya just filed a bug that I've duped to this one. Are you still working on this, or is it up for grabs? :-)
Assignee | ||
Comment 4•7 years ago
|
||
Hello Ed! I was out of office for the last three weeks and just got back. I will continue to work on the remaining ES6 bugs I opened, including this one. Thanks
Comment 5•7 years ago
|
||
Can be marked as duplicate to https://bugzilla.mozilla.org/show_bug.cgi?id=1476652, as _.invert is being converted there.
Assignee | ||
Comment 6•7 years ago
|
||
Great work on 1476652 Sarat! Sorry for letting it down, I was nearly ready to submit my changes but you came up with a better solution than mine ;)
Assignee | ||
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Comment 8•7 years ago
|
||
thanks Eliott! wasn't sure if I was stepping on anyone's toes, though, because 1466494 had a lot of child issues, and it took me a while to filter out ones that were done, and ones that hadn't had a PR raised yet.
Comment 9•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/44032ff5185049ebf9ccb412c3b17067db6d1d2d
Bug 1476652 1468308 1476243 - _.omit, _.invert, _.mapValues to ES6 (#3859)
Since _.omit, _.invert, and _.mapValues are all used only once in
the treeherder codebase, for building a map of buildbot buildername
to taskcluster tasklabel, this commit fixes all the three at once
instead of three different bugs.
Related Bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1476652
- https://bugzilla.mozilla.org/show_bug.cgi?id=1468308
- https://bugzilla.mozilla.org/show_bug.cgi?id=1476243
You need to log in
before you can comment on or make changes to this bug.
Description
•