Xale's model Intentions

Milestones Dates to plan towards

Use a Milestone for a date the person plans towards. Read its linked Tasks and Habits before offering more prep, or create it with the pieces the person has already approved.

View as Markdown

Fields

In xale_read_today (milestones) and xale_read_schedule (milestones):

FieldWhat it is
id, titleThe Milestone
date, endDateYYYY-MM-DD
startTime, endTimeHH:mm; empty for an all-day Milestone
allDaytrue or false
areaIds, linkedPersonIds, linkedProjectIdsLinks
onGoogleCalendarWhether Xale has put it on the person's Google Calendar

xale_read_milestone adds:

FieldWhat it is
notesUp to 4,000 characters
recurrence, rrule, timeZoneHow it repeats, and its zone
linkedTaskIdThe older single Task pointer. Use tasks for the combined view, which includes that Task once if visible.
linkedNoteId, linkedMapIdThe Note and Mindmap behind it
tasks, habitsUp to 100 visible Tasks and 100 visible Habits.
taskCount, habitCountEach count is the exact visible total when the scan finishes, or null if the scan ends before that count is known.
holdsTruncatedAdditional visible Tasks or Habits were found beyond the returned rows. A null count still indicates an incomplete scan when this is false.
linkedMemoriesUp to 50 Notes, Lists and Meetings that name it, with linkedMemoriesTruncated

Creating and changing

ToUse
Createxale_create_milestone: title, date, optional startTime, endTime (leave both out for all-day), areaIds, people, projects, optional tasks and habits with their sub-tasks or steps, and a requestId. Resolve relative dates first.
Change title, dates, times, all-day, notes or linksxale_update_milestone. Send endTime whenever you set startTime: a timed Milestone without one lasts an hour.
Link an existing Task, Habit, Note or List to itxale_change_links on the item with milestones: { add: [milestoneId] }
Link a Meeting to itmilestoneId on xale_save_meeting
Lead-ins and wind-downs around itxale_plan_block transitions with relatedMilestoneId
Archivexale_prepare_removal with archive_milestone, then the person's yes

Google Calendar

onGoogleCalendar shows whether the person sent the Milestone to Google Calendar from Xale.

Limits

Milestones are Pro in the app; Pro allows 1,000.

  • Checked against main d2feeb6e

Was this helpful?

milestones-dates-to-plan-towards.md · main@c1725f34