Class: TaskTreeItem

TaskTreeItem(label, isComplete, taskId, storyId, workspace)

Tree item representing a task within a Shortcut story. The leaf level of the hierarchy. Displays the task description and completion status with a checkbox icon. Provides context menu actions via contextValue.

Constructor

new TaskTreeItem(label, isComplete, taskId, storyId, workspace)

Creates a new TaskTreeItem instance.

Parameters:
Name Type Description
label string

The display text for the task

isComplete boolean

Whether the task is marked as complete

taskId number

The unique identifier of the task

storyId number

The unique identifier of the story containing this task

workspace Workspace

The workspace containing this task

Source:

Extends

Classes

TaskTreeItem
TreeItem