Cotton code
141 lines · 3.2 KB · JSONRaw
{  "format_version": 1,  "id": "meetings_action",  "name": "Action",  "plural": "Actions",  "builtin": false,  "visibility": "owner",  "engine": null,  "columns": [    {      "key": "meeting",      "name": "Meeting",      "type": "link",      "link_to": "meetings_meeting",      "required": true    },    {      "key": "position",      "name": "Order",      "type": "number"    },    {      "key": "words",      "name": "To do",      "type": "text",      "required": true,      "placeholder": "What is to be done?"    },    {      "key": "who",      "name": "Who",      "type": "text",      "placeholder": "Who said they would"    },    {      "key": "speaker",      "name": "Speaker",      "type": "link",      "link_to": "meetings_speaker"    },    {      "key": "due",      "name": "Due",      "type": "date"    },    {      "key": "due_said",      "name": "When, as said",      "type": "text"    },    {      "key": "at_ms",      "name": "Said at",      "type": "number"    },    {      "key": "todo",      "name": "Todo",      "type": "link",      "link_to": "todo",      "readonly": true    },    {      "key": "made_by",      "name": "Made by",      "type": "text"    }  ],  "seal": {    "clear": [      "meeting",      "position",      "speaker",      "due",      "at_ms",      "todo",      "made_by"    ],    "blind": [      "words"    ]  },  "title": "words",  "date": "due",  "project": null,  "order": "position",  "slip": {    "title": "words",    "subtitle": "who",    "trailing": "due",    "photo": null,    "toggle": null  },  "tile": {    "face": "slip-list"  },  "page": [    {      "heading": null,      "columns": [        "words",        "who",        "due",        "due_said",        "meeting",        "todo"      ]    },    {      "heading": "Details",      "columns": [        "speaker",        "at_ms",        "made_by",        "position"      ],      "role": "side"    }  ],  "sort": {    "column": "position",    "descending": false  },  "add": false,  "commands": [    {      "id": "add_to_todos",      "label": "Add to todos",      "kind": "update",      "method": "meetings.action.todo",      "bindings": {        "id": "$id"      },      "when": {        "todo": null      },      "object": "slip"    }  ],  "instructions": "An action is one thing to be done that a meeting said, in order (position): words is the task, short, starting with a verb. who is the person who will do it: a speaker's label (S1, S2…, with speaker the meetings_speaker row) or a name the transcript says; empty when nobody took it on. due is the day it is due and due_said the transcript's own words for it (\"by Thursday\"); both empty when no day was said. Never write an owner or a day the meeting did not say. at_ms is where in the recording it was said. made_by names who wrote it: mac:llama:<model> for the Mac's local model, or an assistant's own name when an assistant summarised the meeting (write the meeting's summary, actions, summarised_by and summarised_at with it). todo is the todo the person made from it with Add to todos (meetings.action.todo), written by the core only; an action with a todo is kept when the meeting is summarised again."}