Skip to content

migrate unit-groups-state from AngularJS to Angular#482

Closed
Sujay-Deakin wants to merge 17 commits intothoth-tech:10.0.xfrom
Sujay-Deakin:migrate/unit-groups-state
Closed

migrate unit-groups-state from AngularJS to Angular#482
Sujay-Deakin wants to merge 17 commits intothoth-tech:10.0.xfrom
Sujay-Deakin:migrate/unit-groups-state

Conversation

@Sujay-Deakin
Copy link
Copy Markdown

Description

Migrates units/states/groups from CoffeeScript/AngularJS to TypeScript/Angular
as part of the ongoing Angular migration effort.

Changes

  • Created groups.component.ts with @Input() bindings for unit and unitRole
  • Created groups.component.html replacing old groups.tpl.html:
    • Replaced ng-if/ng-hide with Angular @if/@else control flow
    • Replaced Font Awesome fa-users icon with Angular Material mat-icon
    • Replaced Bootstrap classes with Angular Material and Tailwind utilities
    • Replaced ui-sref with Angular [uiSref] binding
  • Created groups.component.scss (no custom styles needed)
  • Registered UnitGroupsStateComponent in doubtfire-angular.module.ts
  • Downgraded component in doubtfire-angularjs.module.ts for hybrid compatibility
  • Removed old AngularJS controller from groups.coffee
  • Deleted old groups.tpl.html

Testing

  • Navigated to units/1/students/groups as a Convenor
  • "No Groupwork Enabled" state renders correctly with Material icon,
    description text, and Unit Administration button

Screenshots

image

Note

This PR contains some additional unrelated file changes that were present
on the base branch. Only the files under src/app/units/states/groups/
and the two module files are part of this migration.

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 #486

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