Skip to content

Create Forms & Search Triggers

The quick-entry surfaces for creating Lists, Groups, and Tasks, and for opening search (src/islands).

  • CreateListForm.tsx — inline new-List draft (footer create affordance); names default via nextUntitledName(...) (src/lib/lists/untitled-name.ts) when left blank.
  • CreateGroupButton.tsx — opens an inline Group draft.
  • AddTaskInput.tsx — quick add a Task to the active List; new Tasks land at the top of the List (Product Brief §5.2).

All create actions are optimistic: the entity appears immediately from the Dexie cache and the mutation queues in the outbox (see Offline Outbox & Optimistic Writes).

  • SearchTrigger.tsx — the entry control that opens search; SearchOverlay.tsx — the overlay that runs queries against the client-side matcher (see Search Match Engine) and renders highlighted results, fully offline.

Related: Search Match Engine, List Sidebar & Drag-Drop, Task Attributes API (Task creation).