Migrate/tasks#457
Conversation
…btfire-lms#1132) * refactor: confirm recursive fix and resubmit for dependent tasks * refactor: move logic to task model
Bumps [angular-sanitize](https://github.com/angular/angular.js) from 1.5.11 to 1.8.3. - [Changelog](https://github.com/angular/angular.js/blob/master/CHANGELOG.md) - [Commits](angular/angular.js@v1.5.11...v1.8.3) --- updated-dependencies: - dependency-name: angular-sanitize dependency-version: 1.8.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…re-lms#1138) * feat: pause feedback threshold during teaching period breaks * chore: round down days
- this may be due to the breaks re-calculated client-side
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.3.3 to 1.4.0. - [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) - [Commits](digitalbazaar/forge@v1.3.3...v1.4.0) --- updated-dependencies: - dependency-name: node-forge dependency-version: 1.4.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.13. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@1.1.11...v1.1.13) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.13 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…pm_and_yarn/brace-expansion-1.1.13 build(deps-dev): bump brace-expansion from 1.1.11 to 1.1.13
…pm_and_yarn/node-forge-1.4.0 build(deps-dev): bump node-forge from 1.3.3 to 1.4.0
…pm_and_yarn/angular-sanitize-1.8.3 build(deps): bump angular-sanitize from 1.5.11 to 1.8.3
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.21...4.18.1) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.18.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [axios](https://github.com/axios/axios) from 1.13.6 to 1.15.0. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.13.6...v1.15.0) --- updated-dependencies: - dependency-name: axios dependency-version: 1.15.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…pm_and_yarn/axios-1.15.0 build(deps-dev): bump axios from 1.13.6 to 1.15.0
…-card-reword refactor: change wording to submissions waiting for discussion
…tus-buttons refactor: add colors to status action buttons
…s-have-valid-unit-role feat: confirmation modal to reassign tutorials when removing staff
doubtfire-lms#1181) Bumps [@rollup/rollup-linux-arm64-gnu](https://github.com/rollup/rollup) from 4.60.0 to 4.60.2. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v4.60.0...v4.60.2) --- updated-dependencies: - dependency-name: "@rollup/rollup-linux-arm64-gnu" dependency-version: 4.60.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: allow paste attachment comment * refactor: confirmation modal to paste attachment
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.6.2 to 2.8.1. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](microsoft/tslib@v2.6.2...v2.8.1) --- updated-dependencies: - dependency-name: tslib dependency-version: 2.8.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.38 to 8.5.10. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.4.38...8.5.10) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.10 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* feat: enable comment editing * chore: fix styling * chore: place cursor at the end of text
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.6.2 to 2.8.1. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](microsoft/tslib@v2.6.2...v2.8.1) --- updated-dependencies: - dependency-name: tslib dependency-version: 2.8.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pm_and_yarn/postcss-8.5.10 build(deps-dev): bump postcss from 8.4.38 to 8.5.10
…pm_and_yarn/jquery-3.5.0 build(deps): bump jquery from 2.1.4 to 3.5.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.5.0 to 4.0.0. - [Release notes](https://github.com/jquery/jquery/releases) - [Changelog](https://github.com/jquery/jquery/blob/main/changelog.md) - [Commits](jquery/jquery@3.5.0...4.0.0) --- updated-dependencies: - dependency-name: jquery dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.5 to 3.8.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.2.5...3.8.3) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.8.3 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…pm_and_yarn/prettier-3.8.3 build(deps-dev): bump prettier from 3.2.5 to 3.8.3
…pm_and_yarn/jquery-4.0.0 build(deps): bump jquery from 3.5.0 to 4.0.0
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.
|
fix: unlock task status selection for staff



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.