Xale's model Intentions
Tasks Fields and states
A Task is something to do once. It is open or done; it can have a due date and time, a priority, sub-tasks, people and the Note or Mindmap behind it.
Fields
xale_ and xale_ return:
| Field | Values |
|---|---|
id, title | The Task |
status | done or todo. Completion is binary |
completedAt | When it was done, or null |
priority | low, medium or high |
dueDate, dueTime | YYYY-MM-DD, HH:mm, in the person's time zone |
durationMin | Expected minutes |
activityType | deep-work, meeting, errand, admin, planning or vacation |
areaIds, linkedProjectIds | Areas, Projects |
linkedMilestoneIds | Visible forward links to Milestones |
accountableIds, workerIds | Deliver to and Assigned to People |
xale_ adds:
| Field | What it is |
|---|---|
notes | Up to 4,000 characters shown |
linkedNoteId, linkedMapId, linkedNodeId | The Note, Mindmap and node behind it |
milestones | Up to 20 visible entries. Each has id, title, date and endDate, including visible legacy links in the same list. |
subtasks | Up to 100: id, title, durationMin, status (as on the Task), completedAt, order |
Reading many
xale_ lists open Tasks by default. status: done, any, or todo (also not_) for open Tasks, the default; areaId; dueBeforeYmd for Tasks due on or before a day; limit, 30 by default, up to 500. Start at offset: 0. Pass nextOffset as offset with the same filters and page size while hasMore is true. The response gives the matching visible count in total and the page's items in tasks. Tasks are ordered by due date (undated last), then title and ID. Omit areaId to include Tasks without an Area or Project.
For example, start with {"limit": 2, "offset": 0}. If the response says "hasMore": true and "nextOffset": 2, send {"limit": 2, "offset": 2} next. The last page gives nextOffset: null.
For “what's on today”, xale_ gives Tasks due today and overdue.
Creating
xale_: title (required), dueDate, dueTime, priority (medium if left out), areaIds, notes, people (Deliver to), projects, milestones, ordered subtasks titles, and a requestId. Resolve relative dates (“next Friday”) to YYYY-MM-DD first.
Changing
| To | Use |
|---|---|
| Mark done, with its subtasks | xale_ |
| Reopen | xale_ with completed: false |
Change title, due date or time (null clears), duration, priority, notes, Activity type, or the Note or Mindmap behind it | xale_ |
| Change subtasks | xale_ with subtasks: those you send are changed or added by id; those you leave out are kept |
| Change Areas, People, Projects or Milestones | xale_ |
| Put it in the day | xale_ with kind: "task" |
| Archive it | xale_ with archive_, then the person's yes |
Limits
Pro allows 2,500 Tasks. The board view and the mind-map view are Pro in the app.
For people
- Checked against main
c1725f34