Skip to content

Migrate student task list#474

Open
millyamolo wants to merge 3 commits intothoth-tech:10.0.xfrom
millyamolo:migrate/student-task-list
Open

Migrate student task list#474
millyamolo wants to merge 3 commits intothoth-tech:10.0.xfrom
millyamolo:migrate/student-task-list

Conversation

@millyamolo
Copy link
Copy Markdown

Description
This PR migrates the student-task-list component from CoffeeScript/AngularJS to TypeScript/Angular following the frontend migration guide. This modernizes the codebase while maintaining all existing functionality.

Fixes # (issue)

Type of change
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update
How Has This Been Tested?
The migration has been tested by accessing the student dashboard and verifying all component functionality works as expected. The task list displays, search filtering functions correctly, task selection works, and create portfolio items appear appropriately.

Testing Checklist:
Tested in latest Chrome
Tested in latest Safari
Tested in latest Firefox
Checklist:
My code follows the style guidelines of this project
I have performed a self-review of my own code
I have commented my code in hard-to-understand areas
I have made corresponding changes to the documentation
My changes generate no new warnings

Convert student-task-list.coffee to student-task-list.component.ts
Convert student-task-list.tpl.html to student-task-list.component.html
Convert student-task-list.scss to student-task-list.component.scss
Add student-task-list.component.css for proper styling
Update Angular module imports and declarations
Update AngularJS module with downgrade directive
Update dashboard template to use Angular property bindings
Remove old CoffeeScript files
Fix filtering and sorting logic
Handle taskData gracefully when not provided
All original functionality preserved

Fixes thoth-tech#472
- Add proper CSS hover styles for task items
- Fix taskData initialization in setSelectedTask
- Remove debug console logs
- Ensure click events work correctly
- Add pointer-events management for badges
@millyamolo millyamolo force-pushed the migrate/student-task-list branch 3 times, most recently from 21c1bcf to af0462e Compare May 1, 2026 20:30
@millyamolo millyamolo force-pushed the migrate/student-task-list branch from 1d6ad6a to e58eb6b Compare May 1, 2026 21:01
Copy link
Copy Markdown

@WaelAlahamdi WaelAlahamdi left a comment

Choose a reason for hiding this comment

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

Hi Millicent, thanks for your effort.

The PR has been reviewed and tested locally. It meets the task requirements and no issues were found. Everything looks good.

Approved

Copy link
Copy Markdown

@Thirus224849242 Thirus224849242 left a comment

Choose a reason for hiding this comment

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

Hi Millicent, The migration appears clean in general, CoffeeScript has been removed, Angular components system has been configured correctly, the downgrade bridge wired up properly. Good Job.

Approved.

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.

4 participants