Skip to content

feat: add subtasks support for tasks#33

Open
renmiamu wants to merge 1 commit into
maciekt07:mainfrom
renmiamu:feat/task-subtasks
Open

feat: add subtasks support for tasks#33
renmiamu wants to merge 1 commit into
maciekt07:mainfrom
renmiamu:feat/task-subtasks

Conversation

@renmiamu

Copy link
Copy Markdown

Summary

This PR adds subtasks support to tasks.

Users can now:

  • add subtasks to a task
  • mark subtasks as completed
  • remove subtasks
  • see subtask completion progress in the task UI
  • toggle subtask completion directly from the task details page
  • view subtasks in the task details page

Motivation

The app currently supports only flat tasks. For larger todos, users often need to break a task into smaller actionable items. This feature improves planning and progress tracking.

Changes

  • added subtasks to the task data model
  • added a reusable subtask editor for creating and editing tasks
  • displayed subtask progress in task cards
  • displayed full subtask details in the task details page
  • allowed toggling subtask completion directly from task details

Testing

  • ran npm run build
  • ran npm run test -- --run
  • manually tested creating, editing, checking, and deleting subtasks

@netlify

netlify Bot commented May 12, 2026

Copy link
Copy Markdown

Deploy Preview for react-cool-todo-app ready!

Name Link
🔨 Latest commit 1201acc
🔍 Latest deploy log https://app.netlify.com/projects/react-cool-todo-app/deploys/6a031e798387f30008e4d447
😎 Deploy Preview https://deploy-preview-33--react-cool-todo-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant