Xale's model The shape of a person's space

People And people groups

A Person is someone the person keeps in Xale, linked to the items that involve them. On a Task, people are who it's delivered to and who it's assigned to.

View as Markdown

A Person

FieldWhat it is
id, nameWho they are
aliasesOther names they're known by (a nickname, “Mum”)
emailsEmail addresses
notesNotes about them; reads show up to 2,000 characters
relationshipIdsRelationship type ids
groupIdsPeople Group ids
areaIdsArea ids

xale_read_categories names the ids: relationshipTypes and personGroups, each { id, name, emoji }.

A Person's items

xale_read_person returns everything that involves them, in sections: Tasks (assigned to them or delivered to them), Habits they do, Milestones, Memories, Mindmaps and Projects. Each section has items, total and truncated; page with section and offset (up to 5,000), limit up to 100, 25 by default.

People on items

OnFieldIn Xale
A TaskaccountableIdsDeliver to: who it's for, or who's waiting on it
A TaskworkerIdsAssigned to: who does it
A HabitworkerIdsWho does it
Notes, Lists, Meetings, Captures, Mindmaps, MilestoneslinkedPersonIdsLinked people

Set them on create with people (on a Task, these are Deliver to), and change them with xale_change_links: people for linked people or Deliver to, assignedTo for a Task's Assigned to.

Adding a Person

Show the person who you plan to add and ask first. Xale checks names, other names and email addresses for an existing Person. If it returns a match, check who it found before offering to link them. If several People match, ask which one they mean.

xale_update_person adds to and removes from a Person's lists; what you don't name is kept. notes you send replace theirs, and null clears them.

People Groups

A People Group (Family, a team, a book club) is a set of People. xale_create_people_group returns an existing group of the same name with alreadyInXale: true. xale_change_people_group_members adds and takes out members; members you don't name stay.

Limits

Pro allows 500 People.

  • Checked against main 8aef9b15

Was this helpful?

people-and-people-groups.md · main@c1725f34