Task List
Installation
import { TaskList } from "@o/pipeline/experimental/blocks/task-list";
Usage
Navigable
Controlled
Scopeless
Assignee
Muted
Pending
ContextMenu
Grouped
- TaskDue
- Open3
- Done1
Panel
Rows straight on the surface, groups as tinted rows that fold on click (hover one to see the caret), circular checkboxes, and the columns’ icons in the first group row instead of a header row.
Inline entry
Pass entry to place an input row above the tasks, aligned with the list’s description, due date, assignee and action columns, including when items is empty. Its renderRow callback wraps the cells in a form with className="col-span-full grid grid-cols-subgrid items-center". Set entryPosition="end" to place it beneath the tasks. Use footer for a full-width control beneath the tasks and before an end-position entry, such as an expansion link.
Loading
TaskListSkeleton is the list still loading: each row’s glyph, scope, description and due date stand in as placeholders. Pass it the layout props the list will have, so nothing moves when it arrives. See Skeleton.