Skip to content

Migrate/viewer wrapper#459

Closed
Sujay-Deakin wants to merge 17 commits intothoth-tech:10.0.xfrom
Sujay-Deakin:migrate/viewer-wrapper
Closed

Migrate/viewer wrapper#459
Sujay-Deakin wants to merge 17 commits intothoth-tech:10.0.xfrom
Sujay-Deakin:migrate/viewer-wrapper

Conversation

@Sujay-Deakin
Copy link
Copy Markdown

Summary

This PR simplifies the AngularJS viewer wrapper by removing unnecessary $scope bindings and passing data directly to the Angular component.

Changes

  • Removed $scope.taskDefs assignment from viewer.coffee
  • Updated viewer.tpl.html to pass unit.taskDefinitions directly to <f-tasks-viewer>
  • No changes to routing or overall structure

Result

  • Reduces dependency on AngularJS controller logic
  • Moves data handling closer to the Angular component
  • Keeps existing functionality unchanged

Scope note

This PR is intentionally small and focuses only on simplifying the viewer wrapper. Further migration of AngularJS state (e.g., viewer.coffee, tasks.coffee) will be handled in subsequent PRs.

b0ink and others added 17 commits March 24, 2026 12:39
…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
@Sujay-Deakin
Copy link
Copy Markdown
Author

Closing in favour of the clean PR #485

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants