Skip to content

Migrate Students List Component#478

Open
WaelAlahamdi wants to merge 78 commits into
thoth-tech:10.0.xfrom
WaelAlahamdi:migrate-students-list
Open

Migrate Students List Component#478
WaelAlahamdi wants to merge 78 commits into
thoth-tech:10.0.xfrom
WaelAlahamdi:migrate-students-list

Conversation

@WaelAlahamdi
Copy link
Copy Markdown

Description

This PR migrates the legacy students-list view from AngularJS/CoffeeScript to Angular.

Changes included

  • Removed legacy files:

    • students-list.coffee
    • students-list.tpl.html
    • students-list.scss
  • Added Angular component files:

    • students-list.component.ts
    • students-list.component.html
    • students-list.component.scss
  • Updated Angular module registration and state configuration

  • Removed legacy state references

Existing functionality retained

  • Student search and autocomplete
  • Advanced filters
  • Sorting
  • Pagination
  • CSV export
  • Enrol student modal
  • Navigation to student profile/dashboard

UI updates

Updated task progress indicators to improve visibility of student progress:

  • Green → completed tasks
  • Red → failed tasks
  • Grey → remaining tasks

This keeps the original behaviour while improving readability.

Fixes # (ticket number)


Type of Change

  • Refactor
  • UI improvement
  • Breaking change
  • Documentation update

Testing

Tested locally on 10.0.x

Verified:

  • Search functionality
  • Filtering
  • Sorting
  • Pagination
  • CSV export
  • Enrol modal
  • Student navigation
  • Progress bar display

Before screenshots
before2

After screenshots
aftre


Testing Checklist

  • Tested in Microsoft Edge
  • Tested in Chrome
  • Tested in Safari
  • Tested in Firefox

Checklist

  • Self-reviewed
  • Existing functionality verified
  • No unrelated files included
  • Ready for review

b0ink and others added 30 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
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
b0ink and others added 19 commits April 22, 2026 13:08
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
Copy link
Copy Markdown

@owens-hub-git owens-hub-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks ok, some things I wanted to ask about:

  • I like the newer style, but I think the blue outline from before was fine and allowed some visual positives where you can see the bounds of the component

  • Are you considering the mobile views? I know most people won't be using it in that way but it shows a weird visual where it's off the screen, shown below:

Image

Copy link
Copy Markdown

@millyamolo millyamolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the PR locally and verified the migrated students-list component works as expected.
The new Angular/TypeScript implementation appears consistent with the existing app structure.
I did not find any regressions in the students list behavior during local testing.
The migration looks complete and ready to merge from my side. Approved

Copy link
Copy Markdown

@millyamolo millyamolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the PR#478 locally and verified the migrated students-list component works as expected.
The new Angular/TypeScript implementation appears consistent with the existing app structure.
I did not find any regressions in the students list behavior during local testing.
The migration looks complete and ready to merge from my side. Approved

@WaelAlahamdi
Copy link
Copy Markdown
Author

Overall this looks ok, some things I wanted to ask about:

  • I like the newer style, but I think the blue outline from before was fine and allowed some visual positives where you can see the bounds of the component
  • Are you considering the mobile views? I know most people won't be using it in that way but it shows a weird visual where it's off the screen, shown below:
Image

Thanks @owens-hub-git, I’ve addressed the mobile layout issue and restored the visual boundary styling. The component has been re-tested on both desktop and mobile views.

Copy link
Copy Markdown

@owens-hub-git owens-hub-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will approve here as it looks fine visually, I am concerned with the validity of the ts file that goes with it by the complexity difference between the original design

@WaelAlahamdi WaelAlahamdi force-pushed the migrate-students-list branch from ce6fa8d to ba58972 Compare May 10, 2026 02:02
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.

5 participants