Class: StoryTreeItem

StoryTreeItem(label, storyId, collapsibleState, story, workspace)

Tree item representing a Shortcut story. The leaf level of the hierarchy. Displays the story name and ID, with a book icon. Provides context menu actions via contextValue.

Constructor

new StoryTreeItem(label, storyId, collapsibleState, story, workspace)

Creates a new StoryTreeItem instance.

Parameters:
Name Type Description
label string

The display text for the story

storyId string

The unique identifier of the story

collapsibleState vscode.TreeItemCollapsibleState

Whether and how the story can be expanded

story Story

The story this tree item represents

workspace Workspace

The workspace containing this story

Source:

Extends

Classes

StoryTreeItem
StoryTreeItem
TreeItem

StoryTreeItem(label, storyId, collapsibleState, story, workspace)

Tree item representing a Shortcut story. The second level of the hierarchy that contains tasks. Displays the story name and ID, with a book icon. Provides context menu actions via contextValue.

Constructor

new StoryTreeItem(label, storyId, collapsibleState, story, workspace)

Creates a new StoryTreeItem instance.

Parameters:
Name Type Description
label string

The display text for the story

storyId number

The unique identifier of the story

collapsibleState vscode.TreeItemCollapsibleState

Whether and how the story can be expanded

story Story

The story this tree item represents

workspace Workspace

The workspace containing this story

Source:

Extends

Classes

StoryTreeItem
StoryTreeItem
TreeItem