Skip to content

Cape Town | 26-ITP-Sept | Leigh Ross | Sprint 3 | Build a todo-list app - #1513

Open
leigh-ross wants to merge 4 commits into
CodeYourFuture:mainfrom
leigh-ross:coursework/to-do-list-app
Open

leigh-ross wants to merge 4 commits into
CodeYourFuture:mainfrom
leigh-ross:coursework/to-do-list-app

Conversation

@leigh-ross

@leigh-ross leigh-ross commented Nov 11, 2026 •

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1097

Changelist

  • New Feature: Implemented deleteCompleted(todos) in todos.mjs to filter out completed tasks and return a new array.
  • Testing: Added 4 unit tests in todos.test.mjs to cover the new function, including edge cases (empty list, no completed tasks, all completed tasks).
  • UI Implementation: Added a "Delete completed tasks" button to index.html.
  • Integration: Connected the new button in script.js to call the function, update the main todos array, and re-render the screen.

@leigh-ross leigh-ross added the NotCoursework Not coursework - used for curriculum development work. label Nov 11, 2026
@github-actions

This comment has been minimized.

@leigh-ross
leigh-ross marked this pull request as ready for review November 11, 2026 19:23
@leigh-ross leigh-ross added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed NotCoursework Not coursework - used for curriculum development work. labels Nov 11, 2026
@LonMcGregor LonMcGregor added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Nov 16, 2026
@cyf-ai-code-reviewer

Copy link
Copy Markdown

The CYF AI reviewer had no comments to leave - please wait for a volunteer to review this PR.

@cyf-ai-code-reviewer cyf-ai-code-reviewer Bot added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Nov 16, 2026
@cyf-ai-code-reviewer

Copy link
Copy Markdown

The CYF AI review has left comments. It will only review a PR one time. When you have addressed these comments, please request review again and a volunteer will take a look.

@LonMcGregor LonMcGregor added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants