Migrate/tasks#457
Conversation
WaelAlahamdi
left a comment
There was a problem hiding this comment.
Hi @Thirus224849242 ,
Reviewed locally and tested key task-related views (dashboard, planner, task list). Everything works as expected with no regressions.
The migration looks correct. Approved.
faithque
left a comment
There was a problem hiding this comment.
Hi @Thirus224849242,
I have tested access and functionality of various screens (Dashboard, tutorials, portfolio, group list) in the application and most of them had no error associated with it. Just check on the below 2 issues to ensure the application is running well. They occur when accessing an assignment with a course and accessing the planner
|
Hi @Thirus224849242, I'm no Angular expert but don't the child modules need to be migrated before the parent module? I'm not sure if I may be wrong. |
Hi @SteveDala |
Hi @faithque Thanks for the review, I have tested it extensively and was able to replicate the issue you mentioned can you specify any replication steps. Thanks.
|
Sujay-Deakin
left a comment
There was a problem hiding this comment.
Hi @Thirus224849242
Tested locally, and the migration looks clean. The justification for migrating the parent before child modules makes sense, given that the child modules load independently.



Description
This PR migrates the
tasksmodule from CoffeeScript and AngularJS to TypeScript and Angular as part of the ongoing Doubtfire migration effort.The original
tasks.coffeewas an empty parent module definition that grouped three child sub-modules together. Sincetasks.coffeecontains no logic of its own and all child modules are already loaded independently indoubtfire-angularjs.module.ts, it is safe to migrate this module without migrating the child modules first. Each child module loads itself via its own individual import statement, meaning they do not depend ontasks.coffeeto function.Changes made:
tasks.component.tsas the Angular replacement fortasks.coffeeTasksComponentindoubtfire-angular.module.tsdeclarationsTasksComponentindoubtfire-angularjs.module.tsusingdowngradeComponentto maintain hybrid app compatibilitydoubtfire.tasksmodule reference fromdoubtfire-angularjs.module.tstasks.coffeeDependent child modules — future tickets required:
modals.coffee— parent module for task modals, containsgrade-task-modal.coffeeandupload-submission-modal.coffeeproject-tasks-list.coffee— contains project tasks list directive logictask-ilo-alignment.coffee— parent module for ILO alignment, contains editor, rater, viewer and modal sub-modules. Note: all task-ilo-alignment sub-components are currently marked as not in useFixes # (issue)
Type of change
How Has This Been Tested?
The app was loaded and tested locally after each change to ensure nothing broke. All child modules continue to work correctly as they are loaded independently in
doubtfire-angularjs.module.ts.Testing Checklist:
Checklist:
Evidence
The app was tested locally after the migration and confirmed to be working correctly with no breaking changes. All existing functionality including child modules continues to work as expected after the removal of
tasks.coffee.