SPB Git

Repository Public License

out-of-catalog.blueprint.json 23.5 KB 1,100 lines json

1{2  "entrypoint": "board",3  "id": "app_project_manager",4  "name": "Project Manager",5  "objects": [6    {7      "id": "tasks",8      "name": "Tasks",9      "props": {10        "columns": [11          {12            "label": "Title",13            "name": "title",14            "required": true,15            "type": "text"16          },17          {18            "label": "Project",19            "name": "project",20            "required": true,21            "type": "text"22          },23          {24            "label": "Assignee",25            "name": "assignee",26            "type": "text"27          },28          {29            "default": "To Do",30            "label": "Status",31            "name": "status",32            "options": [33              "To Do",34              "In Progress",35              "Done"36            ],37            "required": true,38            "type": "text"39          },40          {41            "default": "Medium",42            "label": "Priority",43            "name": "priority",44            "options": [45              "Low",46              "Medium",47              "High"48            ],49            "type": "text"50          },51          {52            "label": "Due date",53            "name": "due_date",54            "type": "date"55          },56          {57            "label": "Notes",58            "name": "notes",59            "type": "text"60          }61        ],62        "seed": [63          {64            "assignee": "Maya",65            "due_date": "2025-06-02",66            "notes": "Approved by marketing",67            "priority": "High",68            "project": "Website Redesign",69            "status": "Done",70            "title": "Draft project brief"71          },72          {73            "assignee": "Leo",74            "due_date": "2025-06-12",75            "notes": "",76            "priority": "High",77            "project": "Website Redesign",78            "status": "In Progress",79            "title": "Wireframe home page"80          },81          {82            "assignee": "Maya",83            "due_date": "2025-06-18",84            "notes": "",85            "priority": "Medium",86            "project": "Website Redesign",87            "status": "To Do",88            "title": "Choose color palette"89          },90          {91            "assignee": "Sam",92            "due_date": "2025-06-25",93            "notes": "",94            "priority": "Low",95            "project": "Website Redesign",96            "status": "To Do",97            "title": "Set up staging server"98          },99          {100            "assignee": "Ava",101            "due_date": "2025-06-09",102            "notes": "Need 5 quotes",103            "priority": "Medium",104            "project": "Spring Campaign",105            "status": "In Progress",106            "title": "Collect customer quotes"107          },108          {109            "assignee": "Ava",110            "due_date": "2025-07-03",111            "notes": "",112            "priority": "High",113            "project": "Spring Campaign",114            "status": "To Do",115            "title": "Book photographer"116          },117          {118            "assignee": "Sam",119            "due_date": "2025-05-28",120            "notes": "",121            "priority": "Medium",122            "project": "Spring Campaign",123            "status": "Done",124            "title": "Budget review"125          }126        ]127      },128      "provenance": {129        "source": "agent"130      },131      "schemaVersion": 1,132      "type": "prism.data.table",133      "version": 1134    },135    {136      "dependencies": [137        "tasks"138      ],139      "id": "overdue_tasks",140      "name": "Overdue tasks",141      "props": {142        "query": {143          "filters": [144            {145              "column": "status",146              "op": "ne",147              "value": "Done"148            },149            {150              "column": "due_date",151              "op": "lt",152              "value": {153                "$expr": "today()"154              }155            }156          ],157          "sort": [158            {159              "column": "due_date"160            }161          ],162          "table": "tasks"163        }164      },165      "provenance": {166        "generated": true,167        "source": "agent"168      },169      "schemaVersion": 1,170      "type": "prism.data.query",171      "version": 1172    },173    {174      "children": [175        "board_root"176      ],177      "id": "board",178      "name": "Board",179      "props": {180        "icon": "rectangle.split.3x1"181      },182      "provenance": {183        "source": "agent"184      },185      "schemaVersion": 1,186      "type": "prism.page",187      "version": 1188    },189    {190      "children": [191        "schedule_root"192      ],193      "id": "schedule",194      "name": "Schedule",195      "props": {196        "icon": "calendar"197      },198      "provenance": {199        "source": "agent"200      },201      "schemaVersion": 1,202      "type": "prism.page",203      "version": 1204    },205    {206      "children": [207        "board_toolbar",208        "overdue_alert",209        "board_grid",210        "task_modal",211        "notifications"212      ],213      "id": "board_root",214      "props": {215        "align": "stretch",216        "grow": true,217        "padding": 16218      },219      "provenance": {220        "source": "agent"221      },222      "schemaVersion": 1,223      "type": "prism.stack",224      "version": 1225    },226    {227      "children": [228        "new_task_button",229        "project_filter",230        "task_search"231      ],232      "id": "board_toolbar",233      "provenance": {234        "source": "agent"235      },236      "schemaVersion": 1,237      "type": "prism.toolbar",238      "version": 1239    },240    {241      "events": {242        "click": [243          {244            "key": "selectedTaskId",245            "type": "setState",246            "value": ""247          },248          {249            "key": "editorOpen",250            "type": "setState",251            "value": true252          }253        ]254      },255      "id": "new_task_button",256      "props": {257        "icon": "plus",258        "style": "primary",259        "title": "New Task"260      },261      "provenance": {262        "source": "agent"263      },264      "schemaVersion": 1,265      "type": "prism.button",266      "version": 1267    },268    {269      "id": "project_filter",270      "props": {271        "includeAll": "All",272        "label": "Project",273        "optionsFrom": {274          "column": "project",275          "table": "tasks"276        },277        "value": {278          "$bind": "projectFilter"279        }280      },281      "provenance": {282        "source": "agent"283      },284      "schemaVersion": 1,285      "type": "prism.dropdown",286      "version": 1287    },288    {289      "id": "task_search",290      "props": {291        "placeholder": "Search tasks",292        "value": {293          "$bind": "search"294        }295      },296      "provenance": {297        "source": "agent"298      },299      "schemaVersion": 1,300      "type": "prism.search",301      "version": 1302    },303    {304      "id": "overdue_alert",305      "props": {306        "message": {307          "$expr": "concat(text(count(queries.overdue_tasks)), ' unfinished task(s) are past their due date. Oldest: ', coalesce(first(pluck(queries.overdue_tasks, 'title')), ''))"308        },309        "title": "Overdue tasks",310        "tone": "danger",311        "visible": {312          "$expr": "count(queries.overdue_tasks) > 0"313        }314      },315      "provenance": {316        "source": "agent"317      },318      "schemaVersion": 1,319      "type": "prism.alert",320      "version": 1321    },322    {323      "children": [324        "col_todo",325        "col_progress",326        "col_done"327      ],328      "id": "board_grid",329      "props": {330        "columns": 3,331        "grow": true,332        "spacing": 12333      },334      "provenance": {335        "source": "agent"336      },337      "schemaVersion": 1,338      "type": "prism.grid",339      "version": 1340    },341    {342      "children": [343        "todo_table"344      ],345      "id": "col_todo",346      "props": {347        "grow": true,348        "title": {349          "$expr": "concat('To Do (', text(count(queries.todo_tasks)), ')')"350        }351      },352      "provenance": {353        "source": "agent"354      },355      "schemaVersion": 1,356      "type": "prism.card",357      "version": 1358    },359    {360      "children": [361        "progress_table"362      ],363      "id": "col_progress",364      "props": {365        "grow": true,366        "title": {367          "$expr": "concat('In Progress (', text(count(queries.progress_tasks)), ')')"368        }369      },370      "provenance": {371        "source": "agent"372      },373      "schemaVersion": 1,374      "type": "prism.card",375      "version": 1376    },377    {378      "children": [379        "done_table"380      ],381      "id": "col_done",382      "props": {383        "grow": true,384        "title": {385          "$expr": "concat('Done (', text(count(queries.done_tasks)), ')')"386        }387      },388      "provenance": {389        "source": "agent"390      },391      "schemaVersion": 1,392      "type": "prism.card",393      "version": 1394    },395    {396      "dependencies": [397        "tasks"398      ],399      "id": "todo_tasks",400      "name": "To Do tasks",401      "props": {402        "query": {403          "filters": [404            {405              "column": "status",406              "op": "eq",407              "value": "To Do"408            },409            {410              "column": "project",411              "op": "eq",412              "unless": {413                "$expr": "state.projectFilter == 'All'"414              },415              "value": {416                "$bind": "projectFilter"417              }418            }419          ],420          "search": {421            "columns": [422              "title",423              "assignee",424              "notes"425            ],426            "text": {427              "$bind": "search"428            }429          },430          "sort": [431            {432              "column": "due_date"433            }434          ],435          "table": "tasks"436        }437      },438      "provenance": {439        "generated": true,440        "source": "agent"441      },442      "schemaVersion": 1,443      "type": "prism.data.query",444      "version": 1445    },446    {447      "dependencies": [448        "tasks"449      ],450      "id": "progress_tasks",451      "name": "In Progress tasks",452      "props": {453        "query": {454          "filters": [455            {456              "column": "status",457              "op": "eq",458              "value": "In Progress"459            },460            {461              "column": "project",462              "op": "eq",463              "unless": {464                "$expr": "state.projectFilter == 'All'"465              },466              "value": {467                "$bind": "projectFilter"468              }469            }470          ],471          "search": {472            "columns": [473              "title",474              "assignee",475              "notes"476            ],477            "text": {478              "$bind": "search"479            }480          },481          "sort": [482            {483              "column": "due_date"484            }485          ],486          "table": "tasks"487        }488      },489      "provenance": {490        "generated": true,491        "source": "agent"492      },493      "schemaVersion": 1,494      "type": "prism.data.query",495      "version": 1496    },497    {498      "dependencies": [499        "tasks"500      ],501      "id": "done_tasks",502      "name": "Done tasks",503      "props": {504        "query": {505          "filters": [506            {507              "column": "status",508              "op": "eq",509              "value": "Done"510            },511            {512              "column": "project",513              "op": "eq",514              "unless": {515                "$expr": "state.projectFilter == 'All'"516              },517              "value": {518                "$bind": "projectFilter"519              }520            }521          ],522          "search": {523            "columns": [524              "title",525              "assignee",526              "notes"527            ],528            "text": {529              "$bind": "search"530            }531          },532          "sort": [533            {534              "column": "due_date",535              "descending": true536            }537          ],538          "table": "tasks"539        }540      },541      "provenance": {542        "generated": true,543        "source": "agent"544      },545      "schemaVersion": 1,546      "type": "prism.data.query",547      "version": 1548    },549    {550      "events": {551        "select": [552          {553            "key": "editorOpen",554            "type": "setState",555            "value": true556          }557        ]558      },559      "id": "todo_table",560      "props": {561        "accessibilityLabel": "To Do tasks",562        "columns": [563          {564            "column": "title"565          },566          {567            "column": "priority",568            "format": "badge"569          },570          {571            "column": "due_date",572            "format": "date",573            "title": "Due"574          }575        ],576        "emptyMessage": "Nothing waiting to start.",577        "emptyTitle": "No tasks",578        "grow": true,579        "query": {580          "$ref": "todo_tasks"581        },582        "selection": {583          "$bind": "selectedTaskId"584        }585      },586      "provenance": {587        "source": "agent"588      },589      "schemaVersion": 1,590      "type": "prism.table",591      "version": 1592    },593    {594      "events": {595        "select": [596          {597            "key": "editorOpen",598            "type": "setState",599            "value": true600          }601        ]602      },603      "id": "progress_table",604      "props": {605        "accessibilityLabel": "In Progress tasks",606        "columns": [607          {608            "column": "title"609          },610          {611            "column": "priority",612            "format": "badge"613          },614          {615            "column": "due_date",616            "format": "date",617            "title": "Due"618          }619        ],620        "emptyMessage": "Nothing in progress.",621        "emptyTitle": "No tasks",622        "grow": true,623        "query": {624          "$ref": "progress_tasks"625        },626        "selection": {627          "$bind": "selectedTaskId"628        }629      },630      "provenance": {631        "source": "agent"632      },633      "schemaVersion": 1,634      "type": "prism.table",635      "version": 1636    },637    {638      "events": {639        "select": [640          {641            "key": "editorOpen",642            "type": "setState",643            "value": true644          }645        ]646      },647      "id": "done_table",648      "props": {649        "accessibilityLabel": "Done tasks",650        "columns": [651          {652            "column": "title"653          },654          {655            "column": "priority",656            "format": "badge"657          },658          {659            "column": "due_date",660            "format": "date",661            "title": "Due"662          }663        ],664        "emptyMessage": "Nothing finished yet.",665        "emptyTitle": "No tasks",666        "grow": true,667        "query": {668          "$ref": "done_tasks"669        },670        "selection": {671          "$bind": "selectedTaskId"672        }673      },674      "provenance": {675        "source": "agent"676      },677      "schemaVersion": 1,678      "type": "prism.table",679      "version": 1680    },681    {682      "children": [683        "task_editor"684      ],685      "id": "task_modal",686      "props": {687        "minWidth": 460,688        "presented": {689          "$bind": "editorOpen"690        },691        "title": {692          "$expr": "isEmpty(state.selectedTaskId) ? 'New Task' : 'Edit Task'"693        }694      },695      "provenance": {696        "source": "agent"697      },698      "schemaVersion": 1,699      "type": "prism.modal",700      "version": 1701    },702    {703      "id": "notifications",704      "provenance": {705        "source": "agent"706      },707      "schemaVersion": 1,708      "type": "prism.notification",709      "version": 1710    },711    {712      "dependencies": [713        "tasks"714      ],715      "events": {716        "cancelled": [717          {718            "key": "editorOpen",719            "type": "setState",720            "value": false721          },722          {723            "key": "selectedTaskId",724            "type": "setState",725            "value": ""726          }727        ],728        "deleted": [729          {730            "key": "editorOpen",731            "type": "setState",732            "value": false733          },734          {735            "key": "selectedTaskId",736            "type": "setState",737            "value": ""738          },739          {740            "message": "Task deleted",741            "tone": "info",742            "type": "showNotification"743          }744        ],745        "saved": [746          {747            "key": "editorOpen",748            "type": "setState",749            "value": false750          },751          {752            "key": "selectedTaskId",753            "type": "setState",754            "value": ""755          },756          {757            "message": "Task saved",758            "tone": "success",759            "type": "showNotification"760          }761        ]762      },763      "id": "task_editor",764      "props": {765        "fields": [766          "title",767          "project",768          "assignee",769          "status",770          "priority",771          "due_date",772          "notes"773        ],774        "recordId": {775          "$bind": "selectedTaskId"776        },777        "submitTitle": {778          "$expr": "isEmpty(state.selectedTaskId) ? 'Add Task' : 'Save'"779        },780        "table": "tasks"781      },782      "provenance": {783        "source": "agent"784      },785      "schemaVersion": 1,786      "type": "prism.recordEditor",787      "version": 1788    },789    {790      "children": [791        "schedule_toolbar",792        "schedule_heading",793        "schedule_table",794        "schedule_modal"795      ],796      "id": "schedule_root",797      "props": {798        "align": "stretch",799        "grow": true,800        "padding": 16801      },802      "provenance": {803        "source": "agent"804      },805      "schemaVersion": 1,806      "type": "prism.stack",807      "version": 1808    },809    {810      "children": [811        "schedule_date",812        "this_month_button",813        "all_dates_button",814        "schedule_project_filter"815      ],816      "id": "schedule_toolbar",817      "provenance": {818        "source": "agent"819      },820      "schemaVersion": 1,821      "type": "prism.toolbar",822      "version": 1823    },824    {825      "id": "schedule_heading",826      "props": {827        "text": {828          "$expr": "isEmpty(state.scheduleDate) ? 'All tasks by due date' : concat('Due in ', month(state.scheduleDate))"829        }830      },831      "provenance": {832        "source": "agent"833      },834      "schemaVersion": 1,835      "type": "prism.heading",836      "version": 1837    },838    {839      "id": "schedule_date",840      "props": {841        "label": "Show month of",842        "value": {843          "$bind": "scheduleDate"844        }845      },846      "provenance": {847        "source": "agent"848      },849      "schemaVersion": 1,850      "type": "prism.datePicker",851      "version": 1852    },853    {854      "events": {855        "click": [856          {857            "key": "scheduleDate",858            "type": "setState",859            "value": {860              "$expr": "today()"861            }862          }863        ]864      },865      "id": "this_month_button",866      "props": {867        "icon": "calendar",868        "title": "This Month"869      },870      "provenance": {871        "source": "agent"872      },873      "schemaVersion": 1,874      "type": "prism.button",875      "version": 1876    },877    {878      "events": {879        "click": [880          {881            "key": "scheduleDate",882            "type": "setState",883            "value": ""884          }885        ]886      },887      "id": "all_dates_button",888      "props": {889        "title": "All Dates"890      },891      "provenance": {892        "source": "agent"893      },894      "schemaVersion": 1,895      "type": "prism.button",896      "version": 1897    },898    {899      "id": "schedule_project_filter",900      "props": {901        "includeAll": "All",902        "label": "Project",903        "optionsFrom": {904          "column": "project",905          "table": "tasks"906        },907        "value": {908          "$bind": "projectFilter"909        }910      },911      "provenance": {912        "source": "agent"913      },914      "schemaVersion": 1,915      "type": "prism.dropdown",916      "version": 1917    },918    {919      "dependencies": [920        "tasks"921      ],922      "events": {923        "select": [924          {925            "key": "editorOpen",926            "type": "setState",927            "value": true928          }929        ]930      },931      "id": "schedule_table",932      "props": {933        "accessibilityLabel": "Tasks by due date",934        "columns": [935          {936            "column": "due_date",937            "format": "date",938            "title": "Due"939          },940          {941            "column": "title"942          },943          {944            "column": "project"945          },946          {947            "column": "assignee"948          },949          {950            "column": "status",951            "format": "badge"952          },953          {954            "column": "priority",955            "format": "badge"956          }957        ],958        "emptyMessage": "No tasks are due in this month.",959        "emptyTitle": "Nothing due",960        "grow": true,961        "query": {962          "filters": [963            {964              "column": "due_date",965              "op": "startsWith",966              "unless": {967                "$expr": "isEmpty(state.scheduleDate)"968              },969              "value": {970                "$expr": "month(state.scheduleDate)"971              }972            },973            {974              "column": "project",975              "op": "eq",976              "unless": {977                "$expr": "state.projectFilter == 'All'"978              },979              "value": {980                "$bind": "projectFilter"981              }982            }983          ],984          "sort": [985            {986              "column": "due_date"987            }988          ],989          "table": "tasks"990        },991        "selection": {992          "$bind": "selectedTaskId"993        }994      },995      "provenance": {996        "source": "agent"997      },998      "schemaVersion": 1,999      "type": "prism.table",1000      "version": 11001    },1002    {1003      "children": [1004        "schedule_editor"1005      ],1006      "id": "schedule_modal",1007      "props": {1008        "minWidth": 460,1009        "presented": {1010          "$bind": "editorOpen"1011        },1012        "title": "Edit Task"1013      },1014      "provenance": {1015        "source": "agent"1016      },1017      "schemaVersion": 1,1018      "type": "prism.modal",1019      "version": 11020    },1021    {1022      "dependencies": [1023        "tasks"1024      ],1025      "events": {1026        "cancelled": [1027          {1028            "key": "editorOpen",1029            "type": "setState",1030            "value": false1031          },1032          {1033            "key": "selectedTaskId",1034            "type": "setState",1035            "value": ""1036          }1037        ],1038        "deleted": [1039          {1040            "key": "editorOpen",1041            "type": "setState",1042            "value": false1043          },1044          {1045            "key": "selectedTaskId",1046            "type": "setState",1047            "value": ""1048          }1049        ],1050        "saved": [1051          {1052            "key": "editorOpen",1053            "type": "setState",1054            "value": false1055          },1056          {1057            "key": "selectedTaskId",1058            "type": "setState",1059            "value": ""1060          }1061        ]1062      },1063      "id": "schedule_editor",1064      "props": {1065        "fields": [1066          "title",1067          "project",1068          "assignee",1069          "status",1070          "priority",1071          "due_date",1072          "notes"1073        ],1074        "recordId": {1075          "$bind": "selectedTaskId"1076        },1077        "table": "tasks"1078      },1079      "provenance": {1080        "source": "agent"1081      },1082      "schemaVersion": 1,1083      "type": "prism.recordEditor",1084      "version": 11085    }1086  ],1087  "permissions": [1088    "storage.local"1089  ],1090  "schemaVersion": 1,1091  "state": {1092    "editorOpen": false,1093    "projectFilter": "All",1094    "scheduleDate": "",1095    "search": "",1096    "selectedTaskId": ""1097  },1098  "summary": "Track projects and tasks on a status board, see what is due by date, and get in-app warnings for overdue work.",1099  "version": 11100}
Files main
Menu

Theme