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

Migrate controllers and factories to TypeScript and extract services #144

Closed
16 of 20 tasks
liangyuanruo opened this issue Aug 17, 2020 · 1 comment
Closed
16 of 20 tasks
Assignees
Labels
contribute free for contributors to pick up P2 planned for next 1-2 months reliability

Comments

@liangyuanruo
Copy link
Contributor

liangyuanruo commented Aug 17, 2020

Blocked by #22

TODOs

  • Migrate controllers/factories to TypeScript
  • For each controller, extract relevant business logic into services
  • Refactor implementations to use up-to-date patterns where possible e.g. from callbacks to async/await
  • Add new Jest tests, or migrate existing tests from Jasmine to Jest

Controllers

  • admin-console.server.controller.js (@karrui)
  • admin-forms.server.controller.js (@karrui)
  • authentication.server.controller.js (@liangyuanruo)
  • core.server.controller.js (@karrui)
  • email-submissions.server.controller.js (@mantariksh)
  • encrypt-submissions.server.controller.js
  • errors.server.controller.js (@tshuli)
  • myinfo.server.controller.js (@mantariksh )
  • public-forms.server.controller.js (@karrui, 2/6 done. Blocked by spcp server controller refactor)
  • spcp.server.controller.js (@mantariksh)
  • submissions.server.controller.js (@mantariksh)
  • verification.server.controller.js (@mantariksh)
  • webhooks.server.controller.js (@mantariksh)
  • user.server.controller

Factories

  • aggregate-stats.factory.js (@karrui)
  • captcha.factory.js (@karrui)
  • google-analytics.factory.js (@tshuli)
  • sms.factory.js (@karrui)
  • verified-fields.factory.js (@mantariksh)
  • webhook-verified-content.factory.js
@liangyuanruo liangyuanruo added P2 planned for next 1-2 months reliability labels Aug 25, 2020
@liangyuanruo liangyuanruo moved this from To do to In progress in TypeScript server migration Sep 3, 2020
@liangyuanruo liangyuanruo added good first issue help wanted Extra attention is needed contribute free for contributors to pick up and removed help wanted Extra attention is needed labels Sep 8, 2020
@arshadali172 arshadali172 removed their assignment Oct 12, 2020
@liangyuanruo
Copy link
Contributor Author

Superseded by #1434, #1435, #1437, #1438.

TypeScript server migration automation moved this from In progress to Done Mar 23, 2021
Scrum Board automation moved this from In progress to Done Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribute free for contributors to pick up P2 planned for next 1-2 months reliability
Projects
Development

No branches or pull requests

7 participants