Xale's model Days
Time blocks What they are
A time block is anything in the person's day: a meeting, an appointment, a meal, a workout, travel, focus time, prep. Add them freely with xale_; put a Task or Habit into the day with xale_.
Fields
| Field | What it is |
|---|---|
id, title | The block |
startAt | Epoch milliseconds |
durationMin | Minutes |
status | planned when made; it changes when the block is completed |
blockType | What kind of block, below |
subtaskId, habitInstanceId, activityId | What it's for, by kind. A Task placed in the day names its subtask in subtaskId. |
transition | For a transition: phase (lead-in or wind-down), relatedKind, relatedId |
areaIds | Areas, read only |
onGoogleCalendar | Whether Xale has put it on the person's Google Calendar |
Kinds
blockType | What it is | Made with |
|---|---|---|
quickblock | Any time in the day, freeform | xale_ |
transition | A lead-in before, or a wind-down after, a block or Milestone | xale_ |
activity | Time for one of the person's Activities, such as a meal | xale_ |
subtask | A Task placed in the day: the block is for one subtask of the Task | xale_ |
habit | An occurrence of a Habit | xale_ |
other | An older kind of block, kept with its own title | In Xale |
Doing things with blocks
| To | Use |
|---|---|
| Add a quickblock, transition or Activity | xale_ |
| Put a Task or Habit into the day | xale_ (kind, id, startAt, optional durationMin, 5 to 1,440) |
| Move a block | xale_ with a new startAt; it keeps its length, and a Habit's occurrence moves with it |
| Complete a block | xale_: a Habit block completes the occurrence, an Activity block logs the Activity, a subtask block ticks the subtask |
Not the same as
- A Milestone: a date the person plans towards, not time in the day.
calendarEvents: read-only entries from Google and other calendars. See Subscribed calendars.
Tools
- Checked against main
8aef9b15