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_plan_block; put a Task or Habit into the day with xale_schedule_intention.

View as Markdown

Fields

FieldWhat it is
id, titleThe block
startAtEpoch milliseconds
durationMinMinutes
statusplanned when made; it changes when the block is completed
blockTypeWhat kind of block, below
subtaskId, habitInstanceId, activityIdWhat it's for, by kind. A Task placed in the day names its subtask in subtaskId.
transitionFor a transition: phase (lead-in or wind-down), relatedKind, relatedId
areaIdsAreas, read only
onGoogleCalendarWhether Xale has put it on the person's Google Calendar

Kinds

blockTypeWhat it isMade with
quickblockAny time in the day, freeformxale_plan_block
transitionA lead-in before, or a wind-down after, a block or Milestonexale_plan_block
activityTime for one of the person's Activities, such as a mealxale_plan_block
subtaskA Task placed in the day: the block is for one subtask of the Taskxale_schedule_intention
habitAn occurrence of a Habitxale_schedule_intention
otherAn older kind of block, kept with its own titleIn Xale

Doing things with blocks

ToUse
Add a quickblock, transition or Activityxale_plan_block
Put a Task or Habit into the dayxale_schedule_intention (kind, id, startAt, optional durationMin, 5 to 1,440)
Move a blockxale_move_block with a new startAt; it keeps its length, and a Habit's occurrence moves with it
Complete a blockxale_complete_block: 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.
  • Checked against main 8aef9b15

Was this helpful?

time-blocks-what-they-are.md · main@c1725f34