You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moment dependency is used in a few places in the project, and while it's nice, it's also some ~65k+ (or more?). We want to remove it as well as a bunch of other dependencies (#372) to minimize attack surface and speed up the app.
Solution
Remove it and replace with Date-based usage, e.g.:
* Refine groupMembers list
* change new tag to appear for 1 week
* include membersPending on GroupMembersAllModal
* Improve buttonSubmit when reducedMotion is enabled
* Improve groupmembers cypress tests
* Add "new" and "pending" pills to GroupMembersAllModal
* Pixel perfect .pills margins
* changes based on @taoeffect review
* Changes based on @taoeffect review
* Revert "isNewMember" logic to not use moment
* convert joinedData to ms
* remove moment from dep. #874 will remove its usage
* fix fn argument type number -> string
* changes based on @taoeffect review
Problem
moment
dependency is used in a few places in the project, and while it's nice, it's also some ~65k+ (or more?). We want to remove it as well as a bunch of other dependencies (#372) to minimize attack surface and speed up the app.Solution
Remove it and replace with
Date
-based usage, e.g.:The text was updated successfully, but these errors were encountered: