name: Task / To-Do
about: Track a task with subtasks, owner, and effort estimate
title: "[Task] "
labels:
  - task
body:
  - type: textarea
    id: description
    attributes:
      label: Description
      description: Detailed description of the task and expected outcome.
    validations:
      required: true

  - type: input
    id: assignee
    attributes:
      label: Owner
      description: Who is responsible for this task?
      placeholder: "@username"

  - type: textarea
    id: subtasks
    attributes:
      label: Subtasks
      description: Break down the work into subtasks.
      placeholder: |
        - [ ] Subtask 1 — description
        - [ ] Subtask 2 — description
        - [ ] Subtask 3 — description
    validations:
      required: true

  - type: input
    id: effort
    attributes:
      label: Estimated Effort
      description: "Time estimate, e.g. 2d, 4h."
      placeholder: "e.g. 4h, 2d"

  - type: textarea
    id: dependencies
    attributes:
      label: Dependencies
      description: List any blocking issues or PRs.

  - type: textarea
    id: acceptance
    attributes:
      label: Acceptance Criteria
      description: What needs to be true for this task to be considered done.
