Installation
import { TaskList } from "@o/pipeline/legacy/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
A list still loading is the TaskList itself inside a loading SkeletonGroup, with an item for each row still to come. Mark each item disabled with no glyph, so its checkbox stands in for itself, and give it a Skeleton for its scope, description and due date. Pass the layout props the list will have, so nothing moves when it arrives.