linagora / esn-frontend-common-libs

Common ground for OpenPaaS frontend (https://open-paas.org)
Other
4 stars 12 forks source link

Remove old & unused Angular modules #15

Closed MichaelBailly closed 4 years ago

MichaelBailly commented 4 years ago

Here is the list of AngularJs modules we want to remove:

frontend/js/modules/activitystream.js frontend/js/modules/activitystream/* frontend/js/modules/activitystreams-tracker.js
frontend/js/modules/easyrtc.js
frontend/js/modules/feedback.js
frontend/js/modules/like.js
frontend/js/modules/message.js
frontend/js/modules/poll.js
frontend/js/modules/resource-link.js
frontend/js/modules/twitter.js
frontend/js/modules/follow
frontend/js/modules/invitation.js
modules/linagora.esn.signup
modules/linagora.esn.signup.local
modules/linagora.esn.contact.import.twitter
modules/linagora.esn.digest.daily

For each of those modules:

  1. check that no code path is depending on them
  2. remove them if no code path is depending on them

Warning: there is activitystream related routing in src/frontend/js/esn/app.js.

chamerling commented 4 years ago

Note: If we did the job correctly in #8 and #9, removing the files/folders will throw a webpack error if they are required somewhere.

asmaNode commented 4 years ago

frontend/js/modules/easyrtc.js

modules/linagora.esn.signup modules/linagora.esn.signup.local modules/linagora.esn.contact.import.twitter modules/linagora.esn.digest.daily

frontend/js/modules/activitystreams-tracker.js ( depends on sidebar.js) frontend/js/modules/like.js (depends on resource-link) frontend/js/modules/message.js (depends on timeline , like , resource-link)