SPB Git

Repository Public License

project-board.blueprint.json 14.1 KB 667 lines json

1{2  "entrypoint": "board",3  "icon": {4    "background": {5      "angle": 135,6      "colors": [7        "#2A2E36",8        "#14161A"9      ],10      "style": "linear"11    },12    "finish": "glass",13    "layers": [14      {15        "fill": "#4F8EF7",16        "height": 52,17        "opacity": 0.95,18        "shape": "roundedRect",19        "width": 18,20        "x": 26,21        "y": 5022      },23      {24        "fill": "#F2A33A",25        "height": 36,26        "shape": "roundedRect",27        "width": 18,28        "x": 50,29        "y": 4230      },31      {32        "fill": "#3CC48A",33        "height": 20,34        "shape": "roundedRect",35        "width": 18,36        "x": 74,37        "y": 3438      },39      {40        "fill": "#FFFFFF",41        "size": 12,42        "symbol": "checkmark",43        "x": 74,44        "y": 3445      }46    ]47  },48  "id": "app_prj_q3vlwmzrjk",49  "name": "Team Board",50  "objects": [51    {52      "id": "tasks",53      "name": "Tasks",54      "props": {55        "columns": [56          {57            "label": "Task",58            "name": "title",59            "required": true,60            "type": "text"61          },62          {63            "default": "To do",64            "label": "Status",65            "name": "status",66            "options": [67              "To do",68              "Doing",69              "Done"70            ],71            "required": true,72            "type": "text"73          },74          {75            "label": "Assignee",76            "name": "assignee",77            "type": "text"78          },79          {80            "label": "Due date",81            "name": "due",82            "type": "date"83          },84          {85            "label": "Notes",86            "name": "notes",87            "type": "text"88          }89        ],90        "seed": [91          {92            "assignee": "Maya",93            "due": "2026-11-09",94            "notes": "Shared with stakeholders",95            "status": "Done",96            "title": "Draft project brief"97          },98          {99            "assignee": "Leo",100            "due": "2026-11-12",101            "notes": "",102            "status": "Done",103            "title": "Set up repository"104          },105          {106            "assignee": "Priya",107            "due": "2026-11-24",108            "notes": "Two variants to test",109            "status": "Doing",110            "title": "Design onboarding screens"111          },112          {113            "assignee": "Leo",114            "due": "2026-11-26",115            "notes": "",116            "status": "Doing",117            "title": "API authentication"118          },119          {120            "assignee": "Maya",121            "due": "2026-11-27",122            "notes": "",123            "status": "To do",124            "title": "Write user interview script"125          },126          {127            "assignee": "Sam",128            "due": "2026-12-01",129            "notes": "",130            "status": "To do",131            "title": "Pick analytics tool"132          },133          {134            "assignee": "Sam",135            "due": "2026-12-04",136            "notes": "Book the big room",137            "status": "To do",138            "title": "Plan sprint review"139          },140          {141            "assignee": "Priya",142            "due": "2026-11-18",143            "notes": "",144            "status": "Done",145            "title": "Copy for landing page"146          }147        ]148      },149      "provenance": {150        "source": "agent"151      },152      "schemaVersion": 1,153      "type": "prism.data.table",154      "version": 1155    },156    {157      "dependencies": [158        "tasks"159      ],160      "id": "all_tasks",161      "name": "All tasks count",162      "props": {163        "query": {164          "aggregates": [165            {166              "as": "n",167              "column": "id",168              "fn": "count"169            }170          ],171          "table": "tasks"172        }173      },174      "provenance": {175        "generated": true,176        "source": "agent"177      },178      "schemaVersion": 1,179      "type": "prism.data.query",180      "version": 1181    },182    {183      "dependencies": [184        "tasks"185      ],186      "id": "done_tasks",187      "name": "Done tasks count",188      "props": {189        "query": {190          "aggregates": [191            {192              "as": "n",193              "column": "id",194              "fn": "count"195            }196          ],197          "filters": [198            {199              "column": "status",200              "op": "eq",201              "value": "Done"202            }203          ],204          "table": "tasks"205        }206      },207      "provenance": {208        "generated": true,209        "source": "agent"210      },211      "schemaVersion": 1,212      "type": "prism.data.query",213      "version": 1214    },215    {216      "dependencies": [217        "tasks"218      ],219      "id": "day_tasks",220      "name": "Tasks due on selected day",221      "props": {222        "query": {223          "filters": [224            {225              "column": "due",226              "op": "eq",227              "value": {228                "$expr": "state.selectedDay"229              }230            }231          ],232          "sort": [233            {234              "column": "title"235            }236          ],237          "table": "tasks"238        }239      },240      "provenance": {241        "generated": true,242        "source": "agent"243      },244      "schemaVersion": 1,245      "type": "prism.data.query",246      "version": 1247    },248    {249      "children": [250        "board_root"251      ],252      "id": "board",253      "name": "Board",254      "props": {255        "icon": "rectangle.split.3x1"256      },257      "provenance": {258        "source": "agent"259      },260      "schemaVersion": 1,261      "type": "prism.page",262      "version": 1263    },264    {265      "children": [266        "cal_root"267      ],268      "id": "calendar",269      "name": "Calendar",270      "props": {271        "icon": "calendar"272      },273      "provenance": {274        "source": "agent"275      },276      "schemaVersion": 1,277      "type": "prism.page",278      "version": 1279    },280    {281      "children": [282        "board_header",283        "kanban",284        "editor_modal"285      ],286      "id": "board_root",287      "props": {288        "align": "stretch",289        "grow": true,290        "padding": 20,291        "spacing": 16292      },293      "provenance": {294        "source": "agent"295      },296      "schemaVersion": 1,297      "type": "prism.stack",298      "version": 1299    },300    {301      "children": [302        "cal_title",303        "cal_row"304      ],305      "id": "cal_root",306      "props": {307        "align": "stretch",308        "grow": true,309        "padding": 20,310        "spacing": 16311      },312      "provenance": {313        "source": "agent"314      },315      "schemaVersion": 1,316      "type": "prism.stack",317      "version": 1318    },319    {320      "children": [321        "board_title",322        "header_spacer",323        "done_gauge",324        "new_task_btn"325      ],326      "id": "board_header",327      "props": {328        "align": "center",329        "direction": "horizontal",330        "spacing": 12331      },332      "provenance": {333        "source": "agent"334      },335      "schemaVersion": 1,336      "type": "prism.stack",337      "version": 1338    },339    {340      "id": "board_title",341      "props": {342        "level": 1,343        "text": "Project board"344      },345      "provenance": {346        "source": "agent"347      },348      "schemaVersion": 1,349      "type": "prism.heading",350      "version": 1351    },352    {353      "events": {354        "click": [355          {356            "key": "selectedTask",357            "type": "setState",358            "value": ""359          },360          {361            "key": "editorOpen",362            "type": "setState",363            "value": true364          }365        ]366      },367      "id": "new_task_btn",368      "props": {369        "icon": "plus",370        "style": "primary",371        "title": "New task"372      },373      "provenance": {374        "source": "agent"375      },376      "schemaVersion": 1,377      "type": "prism.button",378      "version": 1379    },380    {381      "dependencies": [382        "tasks"383      ],384      "events": {385        "select": [386          {387            "key": "editorOpen",388            "type": "setState",389            "value": true390          }391        ]392      },393      "id": "kanban",394      "name": "Kanban",395      "props": {396        "grow": true,397        "options": [398          "To do",399          "Doing",400          "Done"401        ],402        "selection": {403          "$bind": "selectedTask"404        },405        "statusColumn": "status",406        "subtitleColumn": "assignee",407        "table": "tasks",408        "titleColumn": "title"409      },410      "provenance": {411        "source": "agent"412      },413      "schemaVersion": 1,414      "type": "prism.kanban",415      "version": 1416    },417    {418      "id": "done_gauge",419      "props": {420        "accessibilityLabel": {421          "$expr": "concat('Tasks done: ', text(coalesce(first(queries.done_tasks).n, 0)), ' of ', text(coalesce(first(queries.all_tasks).n, 0)))"422        },423        "label": {424          "$expr": "concat(text(coalesce(first(queries.done_tasks).n, 0)), ' of ', text(coalesce(first(queries.all_tasks).n, 0)), ' done')"425        },426        "max": 100,427        "min": 0,428        "size": 140,429        "tone": "success",430        "unit": "%",431        "value": {432          "$expr": "coalesce(first(queries.all_tasks).n, 0) == 0 ? 0 : round(coalesce(first(queries.done_tasks).n, 0) * 100 / first(queries.all_tasks).n)"433        }434      },435      "provenance": {436        "source": "agent"437      },438      "schemaVersion": 1,439      "type": "prism.gauge",440      "version": 1441    },442    {443      "dependencies": [444        "tasks"445      ],446      "events": {447        "cancelled": [448          {449            "key": "editorOpen",450            "type": "setState",451            "value": false452          },453          {454            "key": "selectedTask",455            "type": "setState",456            "value": ""457          }458        ],459        "deleted": [460          {461            "message": "Task deleted",462            "tone": "info",463            "type": "showNotification"464          },465          {466            "key": "editorOpen",467            "type": "setState",468            "value": false469          },470          {471            "key": "selectedTask",472            "type": "setState",473            "value": ""474          }475        ],476        "saved": [477          {478            "message": "Task saved",479            "tone": "success",480            "type": "showNotification"481          },482          {483            "key": "editorOpen",484            "type": "setState",485            "value": false486          },487          {488            "key": "selectedTask",489            "type": "setState",490            "value": ""491          }492        ]493      },494      "id": "task_editor",495      "props": {496        "fields": [497          "title",498          "status",499          "assignee",500          "due",501          "notes"502        ],503        "recordId": {504          "$bind": "selectedTask"505        },506        "submitTitle": {507          "$expr": "isEmpty(state.selectedTask) ? 'Add task' : 'Save changes'"508        },509        "table": "tasks"510      },511      "provenance": {512        "source": "agent"513      },514      "schemaVersion": 1,515      "type": "prism.recordEditor",516      "version": 1517    },518    {519      "id": "cal_title",520      "props": {521        "level": 1,522        "text": "Due dates"523      },524      "provenance": {525        "source": "agent"526      },527      "schemaVersion": 1,528      "type": "prism.heading",529      "version": 1530    },531    {532      "dependencies": [533        "tasks"534      ],535      "id": "due_calendar",536      "props": {537        "accessibilityLabel": "Calendar of task due dates",538        "dateColumn": "due",539        "grow": true,540        "selection": {541          "$bind": "selectedDay"542        },543        "table": "tasks",544        "titleColumn": "title"545      },546      "provenance": {547        "source": "agent"548      },549      "schemaVersion": 1,550      "type": "prism.calendar",551      "version": 1552    },553    {554      "events": {555        "select": [556          {557            "key": "selectedTask",558            "type": "setState",559            "value": {560              "$expr": "value"561            }562          },563          {564            "key": "editorOpen",565            "type": "setState",566            "value": true567          },568          {569            "page": "board",570            "type": "navigate"571          }572        ]573      },574      "id": "day_list",575      "props": {576        "detailColumn": "status",577        "emptyText": {578          "$expr": "isEmpty(state.selectedDay) ? 'Pick a day to see what is due.' : 'Nothing due on this day.'"579        },580        "query": {581          "$ref": "day_tasks"582        },583        "title": {584          "$expr": "isEmpty(state.selectedDay) ? 'Due on…' : concat('Due ', formatDate(state.selectedDay))"585        },586        "titleColumn": "title",587        "width": 230588      },589      "provenance": {590        "source": "agent"591      },592      "schemaVersion": 1,593      "type": "prism.dataList",594      "version": 1595    },596    {597      "children": [598        "task_editor"599      ],600      "id": "editor_modal",601      "props": {602        "minWidth": 440,603        "presented": {604          "$bind": "editorOpen"605        },606        "title": {607          "$expr": "isEmpty(state.selectedTask) ? 'New task' : 'Edit task'"608        }609      },610      "provenance": {611        "source": "agent"612      },613      "schemaVersion": 1,614      "type": "prism.modal",615      "version": 1616    },617    {618      "id": "header_spacer",619      "provenance": {620        "source": "agent"621      },622      "schemaVersion": 1,623      "type": "prism.spacer",624      "version": 1625    },626    {627      "children": [628        "due_calendar",629        "day_list"630      ],631      "id": "cal_row",632      "props": {633        "align": "leading",634        "direction": "horizontal",635        "grow": true,636        "spacing": 16637      },638      "provenance": {639        "source": "agent"640      },641      "schemaVersion": 1,642      "type": "prism.stack",643      "version": 1644    }645  ],646  "permissions": [647    "storage.local"648  ],649  "schemaVersion": 1,650  "state": {651    "editorOpen": false,652    "selectedDay": "",653    "selectedTask": ""654  },655  "summary": "Project board for a small team: Kanban tasks, a due-date calendar and a completion gauge.",656  "theme": {657    "accent": "#4F8EF7",658    "chartColors": [659      "#4F8EF7",660      "#F2A33A",661      "#3CC48A",662      "#B07CF5"663    ],664    "preset": "graphite"665  },666  "version": 1667}
Files main
Menu

Theme