question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate directives/controllers to Angular components

See original GitHub issue

This issue aims to migrate directives/controllers written in AngularJS to modern Angular components.

We would request you to pick up any directive of your choice from core/templates/pages or core/templates/components. After you’ve picked up a directive, please mention the directive name that you want to take up. We will assign that particular directive to you and keep a track so that there is no duplication of work that goes along. After you’re assigned, please go ahead and read this wiki page:https://github.com/oppia/oppia/wiki/Angular-Migration#implementation-details-to-migrate-directives, it has all the steps mentioned clearly that will help you to migrate the directives/controllers.

Also, make sure all the services that your directive is using are migrated to Angular.

Please feel free to reach out to @nithusha21 and @darksun27 in case you have any issues.

Some useful videos

How to find usages of your PR: https://vimeo.com/442416282 How to check your PR : https://vimeo.com/440915367 (This is an example on how to check topic landing page)

Unclaimed directives:

  • answer-submit-action.component.ts [difficult without separate work–talk to @srijanreddy98]
  • questions-list-select-skill-modal.controller @brianyou0
  • exploration-player-suggestion-modal.controller
  • exploration-player-page.component.ts
  • confirm-discard-changes-modal.template
  • confirm-leave-modal.template @ishar19
  • editor-reloading-modal.controller
  • exploration-metadata-modal.controller
  • exploration-publish-modal.template
  • exploration-save-modal.controller @JeeveshGarg
  • help-modal.controller @patrycjapraczyk
  • lost-changes-modal.controller
  • post-publish-modal.controller @heyimShivam
  • save-validation-fail-modal.controller
  • save-version-mismatch-modal.controller
  • state-diff-modal.controller @soumyo123-prog
  • welcome-modal.controller @ZhanLiangUF

Claimed directives:

Note: For a guide on how to access Oppia’s webpages, see this.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:209 (158 by maintainers)

github_iconTop GitHub Comments

1reaction
ashutoshc8101commented, Sep 26, 2021

@mahendra1290 Please go ahead.

1reaction
ashutoshc8101commented, Aug 17, 2021

Can y’all assign me to welcome-modal.controller?

Done, Good luck!

Read more comments on GitHub >

github_iconTop Results From Across the Web

AngularJS migration — transitioning to Component architecture
This post introduces daily refactoring as an effective way to transition to Angular from large-scale Angular 1.x apps. The term Angular will ...
Read more >
Upgrading from AngularJS to Angular
Applications built with component directives are much easier to migrate to Angular than applications built with lower-level features like ng-controller ...
Read more >
The controllers of component concept in Angular: part II
We solved it with directives-controllers and not only for the textfield component but also for all the components with a tooltip.
Read more >
AngularJS to Angular migration: a modern step-by-step guide
Whilst AngularJS was all about directives, controllers, and services; ... In this guide, we'll see the AngularJS to Angular migration step-by-step guide.
Read more >
How to Migrate from Angular 1.x to Angular 2 in Simple Steps
And for each module, we need to do the below steps. Each AngularJS module to respective Angular module. Element type directive to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found