@uibot/registry 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2117 -12
- package/dist/materialize-templates.d.ts +28 -0
- package/dist/materialize.d.ts +63 -0
- package/dist/resources.d.ts +4 -0
- package/dist/resources.js +2108 -3
- package/dist/shadcn/r/admin-apps.json +1 -1
- package/dist/shadcn/r/admin-chats.json +1 -1
- package/dist/shadcn/r/admin-settings-account.json +1 -1
- package/dist/shadcn/r/admin-settings-appearance.json +1 -1
- package/dist/shadcn/r/admin-settings-display.json +1 -1
- package/dist/shadcn/r/admin-settings-notifications.json +1 -1
- package/dist/shadcn/r/admin-settings-profile.json +1 -1
- package/dist/shadcn/r/admin-settings.json +1 -1
- package/dist/shadcn/r/admin-shell.json +1 -1
- package/dist/shadcn/r/admin-tasks.json +1 -1
- package/dist/shadcn/r/admin-users.json +1 -1
- package/dist/shadcn/r/agent-run-console.json +64 -0
- package/dist/shadcn/r/auth-minimal.json +59 -0
- package/dist/shadcn/r/billing-overview.json +66 -0
- package/dist/shadcn/r/billing-usage-ledger.json +66 -0
- package/dist/shadcn/r/chat-workspace.json +1 -1
- package/dist/shadcn/r/collection-cell-editor.json +1 -1
- package/dist/shadcn/r/collection-kanban.json +134 -0
- package/dist/shadcn/r/collection-panel-drawer.json +1 -1
- package/dist/shadcn/r/collection-record-menu.json +1 -1
- package/dist/shadcn/r/collection-shared.json +1 -1
- package/dist/shadcn/r/commerce-workspace.json +1 -1
- package/dist/shadcn/r/console-billing.json +1 -1
- package/dist/shadcn/r/console-page.json +13 -13
- package/dist/shadcn/r/console-shell.json +2 -2
- package/dist/shadcn/r/creation-html-generation.json +2 -2
- package/dist/shadcn/r/creation-reference-generation.json +2 -2
- package/dist/shadcn/r/creation-revision-export.json +2 -2
- package/dist/shadcn/r/creation-shared.json +2 -2
- package/dist/shadcn/r/creation-variant-compare.json +3 -3
- package/dist/shadcn/r/creation-workspace.json +3 -3
- package/dist/shadcn/r/crm-workspace.json +1 -1
- package/dist/shadcn/r/dashboard-01.json +1 -1
- package/dist/shadcn/r/data-crud-gallery.json +66 -0
- package/dist/shadcn/r/data-crud-kanban.json +66 -0
- package/dist/shadcn/r/data-crud-master-detail.json +66 -0
- package/dist/shadcn/r/data-crud-table.json +66 -0
- package/dist/shadcn/r/document-workspace.json +1 -1
- package/dist/shadcn/r/education-workspace.json +1 -1
- package/dist/shadcn/r/launch-site.json +72 -0
- package/dist/shadcn/r/layout.json +34 -18
- package/dist/shadcn/r/onboarding-checklist.json +63 -0
- package/dist/shadcn/r/onboarding-wizard.json +66 -0
- package/dist/shadcn/r/prompt-eval-workbench.json +65 -0
- package/dist/shadcn/r/record-master-detail.json +132 -0
- package/dist/shadcn/r/shadcn-admin.json +1 -1
- package/dist/shadcn/r/workspace.json +1 -1
- package/dist/shadcn/registry.json +194 -20
- package/dist/solution-regions.d.ts +12 -2
- package/dist/spec-blueprint.d.ts +11 -0
- package/dist/spec-patch.d.ts +10 -0
- package/dist/variant-swap.d.ts +22 -0
- package/package.json +2 -2
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{
|
|
16
16
|
"path": "lib/uibot/templates/admin-tasks.uibot.yaml",
|
|
17
17
|
"target": "lib/uibot/templates/admin-tasks.uibot.yaml",
|
|
18
|
-
"content": "version: \"2.0\"\nlayout:\n navigation: sidebar\n container: fluid\n navigationStyle: attached\n offcanvas: attached\n sidebar: expanded\npages:\n - id: tasks\n lifecycle:\n onMount:\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: load-tasks\n connectionId: tasks-db\n payload:\n operation: FindAll\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onStateChange:\n - watch:\n - editorOpen\n - draft.title\n - draft.label\n - draft.status\n - draft.priority\n run: []\n path: /tasks\n title: Tasks\n state:\n direction: ltr\n font: Inter\n selectionEvent: null\n theme: light\n currentPath: /tasks\n rows:\n - id: TASK-8782\n title: Document release rollback steps\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8783\n title: Fix keyboard focus in the task drawer\n label: bug\n status: todo\n priority: high\n - id: TASK-8784\n title: Add status filters to the task list\n label: feature\n status: in progress\n priority: low\n - id: TASK-8785\n title: Update deployment checklist\n label: documentation\n status: done\n priority: medium\n - id: TASK-8786\n title: Investigate duplicate task submissions\n label: bug\n status: canceled\n priority: high\n - id: TASK-8787\n title: Add saved table views\n label: feature\n status: backlog\n priority: low\n - id: TASK-8788\n title: Document task priority definitions\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8789\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8790\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8791\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8792\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8793\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8794\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8795\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8796\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8797\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8798\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8799\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8800\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8801\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8802\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8803\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8804\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8805\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8806\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8807\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8808\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8809\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8810\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8811\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8812\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8813\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8814\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8815\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8816\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8817\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8818\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8819\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8820\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8821\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8822\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8823\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8824\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8825\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8826\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8827\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8828\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8829\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8830\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8831\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8832\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8833\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8834\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8835\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8836\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8837\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8838\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8839\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8840\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8841\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8842\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8843\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8844\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8845\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8846\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8847\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8848\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8849\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8850\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8851\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8852\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8853\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8854\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8855\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8856\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8857\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8858\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8859\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8860\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8861\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8862\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8863\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8864\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8865\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8866\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8867\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8868\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8869\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8870\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8871\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8872\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8873\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8874\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8875\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8876\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8877\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8878\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8879\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8880\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8881\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n editorOpen: false\n deleteOpen: false\n draft: {}\n loading: false\n saving: false\n uiError: null\n tableView: \"\"\n serverMode: false\n selectedIds: []\n total: null\n hasNextPage: false\n reloadRequested: 0\n pageNotice: \"\"\n bulkOpen: false\n bulkRequest: null\n bulkSubmit: false\n bulkAction: \"\"\n bulkStatus: backlog\n bulkSummary: \"\"\n bulkError: null\n bulkConfirmDisabled: true\n bulkDisabled: true\n bulkUnavailable: Select records with known versions to enable batch actions.\n editorBaseline: {}\n discardEditorOpen: false\n blocks:\n - type: PageLayout\n children:\n - type: Box\n props:\n className: \"!flex-row items-start justify-between gap-4 mb-6\"\n children:\n - type: Box\n props:\n gap: xs\n children:\n - type: Heading\n props:\n level: 1\n text: Tasks\n - type: Paragraph\n props:\n text: Sample tasks for triage and prioritization.\n muted: true\n size: sm\n - type: Button\n props:\n label: Create\n variant: default\n events:\n onClick:\n - action: SetState\n params:\n path: draft\n value:\n action: create\n - action: SetState\n params:\n path: uiError\n value: null\n - action: SetState\n params:\n path: editorBaseline\n value:\n title:\n _state: draft.title\n label:\n _state: draft.label\n status:\n _state: draft.status\n priority:\n _state: draft.priority\n - action: SetState\n params:\n path: editorOpen\n value: true\n - type: Paragraph\n visible:\n _state: serverMode\n props:\n text:\n _state: pageNotice\n muted: true\n size: sm\n - type: DataTable\n props:\n server:\n _state: serverMode\n total:\n _state: total\n hasNextPage:\n _state: hasNextPage\n selectedIds:\n _if:\n - _state: serverMode\n - _state: selectedIds\n - null\n rows:\n _state: rows\n loading:\n _state: loading\n error:\n _state: uiError.message\n columns:\n - key: id\n label: Task\n kind: muted\n - key: title\n label: Title\n kind: text\n badgeKey: label\n - key: status\n label: Status\n kind: badge\n - key: priority\n label: Priority\n kind: text\n filters:\n - key: status\n label: Status\n options:\n - value: backlog\n label: Backlog\n - value: todo\n label: Todo\n - value: in progress\n label: In Progress\n - value: done\n label: Done\n - value: canceled\n label: Canceled\n - key: priority\n label: Priority\n options:\n - value: low\n label: Low\n - value: medium\n label: Medium\n - value: high\n label: High\n searchKeys:\n - id\n - title\n searchPlaceholder: Filter tasks...\n actions:\n - id: edit\n label: Edit\n - id: delete\n label: Delete\n bulkActions:\n _if:\n - _state: serverMode\n - - id: delete\n label: Delete selected\n disabled:\n _state: bulkDisabled\n - id: status\n label: Change status\n disabled:\n _state: bulkDisabled\n - - id: delete\n label: Delete selected\n disabled: true\n view:\n _state: tableView\n minWidth: 950\n events:\n onRowAction:\n - action: SetState\n params:\n path: uiError\n value: null\n - action: SetState\n params:\n path: draft\n value:\n _event: values\n - action: SetState\n params:\n path: editorBaseline\n value:\n title:\n _state: draft.title\n label:\n _state: draft.label\n status:\n _state: draft.status\n priority:\n _state: draft.priority\n - action: SetState\n params:\n path: editorOpen\n value:\n _eq:\n - _state: draft.action\n - edit\n - action: SetState\n params:\n path: deleteOpen\n value:\n _eq:\n - _state: draft.action\n - delete\n onBulkAction:\n - action: SetState\n params:\n path: bulkRequest\n value:\n _event: values\n onSelectionChange:\n - action: SetState\n params:\n path: selectionEvent\n value:\n _event: values\n - action: SetState\n params:\n path: selectedIds\n value:\n _state: selectionEvent.ids\n onViewChange:\n - action: SetState\n params:\n path: tableView\n value:\n _event: value\n - type: Paragraph\n visible:\n _state: serverMode\n props:\n text:\n _state: bulkUnavailable\n muted: true\n size: sm\n - type: Button\n visible:\n _state: serverMode\n props:\n label: Reload first page\n variant: outline\n disabled:\n _or:\n - _state: loading\n - _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: reloadRequested\n value:\n _not:\n _state: reloadRequested\n - type: Modal\n props:\n open:\n _state: bulkOpen\n pending:\n _state: saving\n title:\n _if:\n - _eq:\n - _state: bulkAction\n - delete\n - Delete selected records?\n - Change selected status?\n description: Review the selected IDs, versions and change before confirming.\n children:\n - type: Field\n visible:\n _eq:\n - _state: bulkAction\n - status\n props:\n name: bulkStatus\n label: New status\n kind: select\n value:\n _bindState: bulkStatus\n disabled:\n _state: saving\n options:\n - value: backlog\n label: Backlog\n - value: todo\n label: Todo\n - value: in progress\n label: In Progress\n - value: done\n label: Done\n - value: canceled\n label: Canceled\n - type: Paragraph\n props:\n text:\n _state: bulkSummary\n className: whitespace-pre-wrap break-all max-h-48 overflow-auto font-mono\n text-xs\n - type: Paragraph\n visible:\n _state: bulkError\n props:\n text:\n _state: bulkError.message\n className: text-destructive\n - type: Box\n props:\n direction: row\n justify: end\n children:\n - type: Button\n props:\n label: Cancel\n variant: outline\n disabled:\n _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: bulkOpen\n value: false\n - type: Button\n props:\n label: Confirm batch\n disabled:\n _state: bulkConfirmDisabled\n events:\n onClick:\n - action: SetState\n params:\n path: bulkSubmit\n value:\n _not:\n _state: bulkSubmit\n events:\n onClose:\n - action: SetState\n params:\n path: bulkOpen\n value: false\n - type: Drawer\n props:\n open:\n _state: editorOpen\n pending:\n _state: saving\n title: Create or edit task\n description: Update the details below. Click save when you’re done.\n children:\n - type: Form\n props:\n label: Record details\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: title\n label: Title\n kind: text\n value:\n _bindState: draft.title\n required: true\n - type: Field\n props:\n name: label\n label: Label\n kind: select\n value:\n _bindState: draft.label\n required: true\n options:\n - value: documentation\n label: Documentation\n - value: bug\n label: Bug\n - value: feature\n label: Feature\n - type: Field\n props:\n name: status\n label: Status\n kind: select\n value:\n _bindState: draft.status\n required: true\n options:\n - value: backlog\n label: Backlog\n - value: todo\n label: Todo\n - value: in progress\n label: In Progress\n - value: done\n label: Done\n - value: canceled\n label: Canceled\n - type: Field\n props:\n name: priority\n label: Priority\n kind: radio\n value:\n _bindState: draft.priority\n required: true\n options:\n - value: low\n label: Low\n - value: medium\n label: Medium\n - value: high\n label: High\n - type: Paragraph\n props:\n text:\n _state: uiError.message\n muted: true\n size: sm\n visible:\n _state: uiError\n - type: Form.Submit\n props:\n label: Save changes\n disabled:\n _state: saving\n events:\n onSubmit:\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: mutate-tasks\n connectionId: tasks-db\n payload:\n operation:\n _if:\n - _eq:\n - _state: draft.action\n - create\n - InsertOne\n - UpdateOne\n filter:\n id:\n _state: draft.id\n data:\n _event: values\n idempotencyKey:\n _event: value\n expectedVersion:\n _state: draft.version\n loadingPath: saving\n errorPath: uiError\n onSuccess:\n - action: SetState\n params:\n path: editorOpen\n value: false\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: load-tasks\n connectionId: tasks-db\n payload:\n operation: FindAll\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n events:\n onClose:\n - action: SetState\n params:\n path: discardEditorOpen\n value:\n _computed: editorDirty\n - action: SetState\n params:\n path: editorOpen\n value:\n _computed: editorDirty\n - type: Modal\n props:\n open:\n _state: deleteOpen\n pending:\n _state: saving\n title: Delete this record?\n description: This action cannot be undone. The record will be permanently\n removed.\n children:\n - type: Paragraph\n visible:\n _state: uiError\n props:\n text:\n _state: uiError.message\n className: text-destructive\n - type: Box\n props:\n direction: row\n justify: end\n children:\n - type: Button\n props:\n label: Cancel\n variant: outline\n disabled:\n _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - type: Button\n props:\n label: Delete\n variant: destructive\n disabled:\n _state: saving\n events:\n onClick:\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: mutate-tasks\n connectionId: tasks-db\n payload:\n operation: DeleteOne\n filter:\n id:\n _state: draft.id\n expectedVersion:\n _state: draft.version\n loadingPath: saving\n errorPath: uiError\n onSuccess:\n - action: SetState\n params:\n path: editorOpen\n value: false\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: load-tasks\n connectionId: tasks-db\n payload:\n operation: FindAll\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n events:\n onClose:\n - action: SetState\n params:\n path: deleteOpen\n value: false\n events:\n onThemeChange:\n - action: SetState\n params:\n path: theme\n value:\n _event: value\n props:\n headerLinks:\n - label: Tasks\n href: /tasks\n appearance: admin\n routes:\n - label: Tasks\n href: /tasks\n theme:\n _state: theme\n direction:\n _state: direction\n font:\n _state: font\n - type: Modal\n props:\n open:\n _state: discardEditorOpen\n pending:\n _state: saving\n title: Discard unsaved changes?\n description: Your edits will be lost if you discard them.\n events:\n onClose: &a1\n - &a2\n action: SetState\n params:\n path: discardEditorOpen\n value: false\n children:\n - type: Button\n props:\n label: Stay\n variant: outline\n events:\n onClick: *a1\n - type: Button\n props:\n label: Discard\n variant: destructive\n events:\n onClick:\n - *a2\n - action: SetState\n params:\n path: editorOpen\n value: false\n urlState:\n tableView:\n param: view\n default: \"\"\n computed:\n editorDirty:\n _not:\n _and:\n - _eq:\n - _if:\n - _state: draft.title\n - _state: draft.title\n - \"\"\n - _if:\n - _state: editorBaseline.title\n - _state: editorBaseline.title\n - \"\"\n - _eq:\n - _if:\n - _state: draft.label\n - _state: draft.label\n - \"\"\n - _if:\n - _state: editorBaseline.label\n - _state: editorBaseline.label\n - \"\"\n - _eq:\n - _if:\n - _state: draft.status\n - _state: draft.status\n - \"\"\n - _if:\n - _state: editorBaseline.status\n - _state: editorBaseline.status\n - \"\"\n - _eq:\n - _if:\n - _state: draft.priority\n - _state: draft.priority\n - \"\"\n - _if:\n - _state: editorBaseline.priority\n - _state: editorBaseline.priority\n - \"\"\nconnections:\n - id: tasks-db\n type: NowAPI.Collection\n",
|
|
18
|
+
"content": "version: \"2.0\"\nlayout:\n navigation: sidebar\n container: fluid\n navigationStyle: attached\n offcanvas: attached\n sidebar: expanded\npages:\n - id: tasks\n lifecycle:\n onMount:\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: load-tasks\n connectionId: tasks-db\n payload:\n operation: Find\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onStateChange:\n - watch:\n - editorOpen\n - draft.title\n - draft.label\n - draft.status\n - draft.priority\n run: []\n path: /tasks\n title: Tasks\n state:\n direction: ltr\n font: Inter\n selectionEvent: null\n theme: light\n currentPath: /tasks\n rows:\n - id: TASK-8782\n title: Document release rollback steps\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8783\n title: Fix keyboard focus in the task drawer\n label: bug\n status: todo\n priority: high\n - id: TASK-8784\n title: Add status filters to the task list\n label: feature\n status: in progress\n priority: low\n - id: TASK-8785\n title: Update deployment checklist\n label: documentation\n status: done\n priority: medium\n - id: TASK-8786\n title: Investigate duplicate task submissions\n label: bug\n status: canceled\n priority: high\n - id: TASK-8787\n title: Add saved table views\n label: feature\n status: backlog\n priority: low\n - id: TASK-8788\n title: Document task priority definitions\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8789\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8790\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8791\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8792\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8793\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8794\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8795\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8796\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8797\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8798\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8799\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8800\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8801\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8802\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8803\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8804\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8805\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8806\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8807\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8808\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8809\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8810\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8811\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8812\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8813\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8814\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8815\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8816\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8817\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8818\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8819\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8820\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8821\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8822\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8823\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8824\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8825\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8826\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8827\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8828\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8829\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8830\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8831\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8832\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8833\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8834\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8835\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8836\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8837\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8838\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8839\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8840\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8841\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8842\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8843\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8844\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8845\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8846\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8847\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8848\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8849\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8850\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8851\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8852\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8853\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8854\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8855\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8856\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8857\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8858\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8859\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8860\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8861\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8862\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8863\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8864\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8865\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8866\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8867\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8868\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8869\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8870\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8871\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8872\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8873\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8874\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8875\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8876\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8877\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8878\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8879\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8880\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8881\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n editorOpen: false\n deleteOpen: false\n draft: {}\n loading: false\n saving: false\n uiError: null\n tableView: \"\"\n serverMode: false\n selectedIds: []\n total: null\n hasNextPage: false\n reloadRequested: 0\n pageNotice: \"\"\n bulkOpen: false\n bulkRequest: null\n bulkSubmit: false\n bulkAction: \"\"\n bulkStatus: backlog\n bulkSummary: \"\"\n bulkError: null\n bulkConfirmDisabled: true\n bulkDisabled: true\n bulkUnavailable: Select records with known versions to enable batch actions.\n editorBaseline: {}\n discardEditorOpen: false\n blocks:\n - type: PageLayout\n children:\n - type: Box\n props:\n className: \"!flex-row items-start justify-between gap-4 mb-6\"\n children:\n - type: Box\n props:\n gap: xs\n children:\n - type: Heading\n props:\n level: 1\n text: Tasks\n - type: Paragraph\n props:\n text: Sample tasks for triage and prioritization.\n muted: true\n size: sm\n - type: Button\n props:\n label: Create\n variant: default\n events:\n onClick:\n - action: SetState\n params:\n path: draft\n value:\n action: create\n - action: SetState\n params:\n path: uiError\n value: null\n - action: SetState\n params:\n path: editorBaseline\n value:\n title:\n _state: draft.title\n label:\n _state: draft.label\n status:\n _state: draft.status\n priority:\n _state: draft.priority\n - action: SetState\n params:\n path: editorOpen\n value: true\n - type: Paragraph\n visible:\n _state: serverMode\n props:\n text:\n _state: pageNotice\n muted: true\n size: sm\n - type: DataTable\n props:\n server:\n _state: serverMode\n total:\n _state: total\n hasNextPage:\n _state: hasNextPage\n selectedIds:\n _if:\n - _state: serverMode\n - _state: selectedIds\n - null\n rows:\n _state: rows\n loading:\n _state: loading\n error:\n _state: uiError.message\n columns:\n - key: id\n label: Task\n kind: muted\n - key: title\n label: Title\n kind: text\n badgeKey: label\n - key: status\n label: Status\n kind: badge\n - key: priority\n label: Priority\n kind: text\n filters:\n - key: status\n label: Status\n options:\n - value: backlog\n label: Backlog\n - value: todo\n label: Todo\n - value: in progress\n label: In Progress\n - value: done\n label: Done\n - value: canceled\n label: Canceled\n - key: priority\n label: Priority\n options:\n - value: low\n label: Low\n - value: medium\n label: Medium\n - value: high\n label: High\n searchKeys:\n - id\n - title\n searchPlaceholder: Filter tasks...\n actions:\n - id: edit\n label: Edit\n - id: delete\n label: Delete\n bulkActions:\n _if:\n - _state: serverMode\n - - id: delete\n label: Delete selected\n disabled:\n _state: bulkDisabled\n - id: status\n label: Change status\n disabled:\n _state: bulkDisabled\n - - id: delete\n label: Delete selected\n disabled: true\n view:\n _state: tableView\n minWidth: 950\n events:\n onRowAction:\n - action: SetState\n params:\n path: uiError\n value: null\n - action: SetState\n params:\n path: draft\n value:\n _event: values\n - action: SetState\n params:\n path: editorBaseline\n value:\n title:\n _state: draft.title\n label:\n _state: draft.label\n status:\n _state: draft.status\n priority:\n _state: draft.priority\n - action: SetState\n params:\n path: editorOpen\n value:\n _eq:\n - _state: draft.action\n - edit\n - action: SetState\n params:\n path: deleteOpen\n value:\n _eq:\n - _state: draft.action\n - delete\n onBulkAction:\n - action: SetState\n params:\n path: bulkRequest\n value:\n _event: values\n onSelectionChange:\n - action: SetState\n params:\n path: selectionEvent\n value:\n _event: values\n - action: SetState\n params:\n path: selectedIds\n value:\n _state: selectionEvent.ids\n onViewChange:\n - action: SetState\n params:\n path: tableView\n value:\n _event: value\n - type: Paragraph\n visible:\n _state: serverMode\n props:\n text:\n _state: bulkUnavailable\n muted: true\n size: sm\n - type: Button\n visible:\n _state: serverMode\n props:\n label: Reload first page\n variant: outline\n disabled:\n _or:\n - _state: loading\n - _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: reloadRequested\n value:\n _not:\n _state: reloadRequested\n - type: Modal\n props:\n open:\n _state: bulkOpen\n pending:\n _state: saving\n title:\n _if:\n - _eq:\n - _state: bulkAction\n - delete\n - Delete selected records?\n - Change selected status?\n description: Review the selected IDs, versions and change before confirming.\n children:\n - type: Field\n visible:\n _eq:\n - _state: bulkAction\n - status\n props:\n name: bulkStatus\n label: New status\n kind: select\n value:\n _bindState: bulkStatus\n disabled:\n _state: saving\n options:\n - value: backlog\n label: Backlog\n - value: todo\n label: Todo\n - value: in progress\n label: In Progress\n - value: done\n label: Done\n - value: canceled\n label: Canceled\n - type: Paragraph\n props:\n text:\n _state: bulkSummary\n className: whitespace-pre-wrap break-all max-h-48 overflow-auto font-mono\n text-xs\n - type: Paragraph\n visible:\n _state: bulkError\n props:\n text:\n _state: bulkError.message\n className: text-destructive\n - type: Box\n props:\n direction: row\n justify: end\n children:\n - type: Button\n props:\n label: Cancel\n variant: outline\n disabled:\n _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: bulkOpen\n value: false\n - type: Button\n props:\n label: Confirm batch\n disabled:\n _state: bulkConfirmDisabled\n events:\n onClick:\n - action: SetState\n params:\n path: bulkSubmit\n value:\n _not:\n _state: bulkSubmit\n events:\n onClose:\n - action: SetState\n params:\n path: bulkOpen\n value: false\n - type: Drawer\n props:\n open:\n _state: editorOpen\n pending:\n _state: saving\n title: Create or edit task\n description: Update the details below. Click save when you’re done.\n children:\n - type: Form\n props:\n label: Record details\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: title\n label: Title\n kind: text\n value:\n _bindState: draft.title\n required: true\n - type: Field\n props:\n name: label\n label: Label\n kind: select\n value:\n _bindState: draft.label\n required: true\n options:\n - value: documentation\n label: Documentation\n - value: bug\n label: Bug\n - value: feature\n label: Feature\n - type: Field\n props:\n name: status\n label: Status\n kind: select\n value:\n _bindState: draft.status\n required: true\n options:\n - value: backlog\n label: Backlog\n - value: todo\n label: Todo\n - value: in progress\n label: In Progress\n - value: done\n label: Done\n - value: canceled\n label: Canceled\n - type: Field\n props:\n name: priority\n label: Priority\n kind: radio\n value:\n _bindState: draft.priority\n required: true\n options:\n - value: low\n label: Low\n - value: medium\n label: Medium\n - value: high\n label: High\n - type: Paragraph\n props:\n text:\n _state: uiError.message\n muted: true\n size: sm\n visible:\n _state: uiError\n - type: Form.Submit\n props:\n label: Save changes\n disabled:\n _state: saving\n events:\n onSubmit:\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: mutate-tasks\n connectionId: tasks-db\n payload:\n _if:\n - _eq:\n - _if:\n - _eq:\n - _state: draft.action\n - create\n - InsertOne\n - UpdateOne\n - InsertOne\n - operation: InsertOne\n data:\n title:\n _event: values.title\n label:\n _event: values.label\n status:\n _event: values.status\n priority:\n _event: values.priority\n - operation: UpdateOne\n data:\n title:\n _event: values.title\n label:\n _event: values.label\n status:\n _event: values.status\n priority:\n _event: values.priority\n filter:\n id:\n _state: draft.id\n version:\n _state: draft.version\n loadingPath: saving\n errorPath: uiError\n onSuccess:\n - action: SetState\n params:\n path: editorOpen\n value: false\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: load-tasks\n connectionId: tasks-db\n payload:\n operation: Find\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n events:\n onClose:\n - action: SetState\n params:\n path: discardEditorOpen\n value:\n _computed: editorDirty\n - action: SetState\n params:\n path: editorOpen\n value:\n _computed: editorDirty\n - type: Modal\n props:\n open:\n _state: deleteOpen\n pending:\n _state: saving\n title: Delete this record?\n description: This action cannot be undone. The record will be permanently\n removed.\n children:\n - type: Paragraph\n visible:\n _state: uiError\n props:\n text:\n _state: uiError.message\n className: text-destructive\n - type: Box\n props:\n direction: row\n justify: end\n children:\n - type: Button\n props:\n label: Cancel\n variant: outline\n disabled:\n _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - type: Button\n props:\n label: Delete\n variant: destructive\n disabled:\n _state: saving\n events:\n onClick:\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: mutate-tasks\n connectionId: tasks-db\n payload:\n operation: DeleteOne\n filter:\n id:\n _state: draft.id\n version:\n _state: draft.version\n loadingPath: saving\n errorPath: uiError\n onSuccess:\n - action: SetState\n params:\n path: editorOpen\n value: false\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - action: Request\n params:\n connectionId: tasks-db\n request:\n id: load-tasks\n connectionId: tasks-db\n payload:\n operation: Find\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n events:\n onClose:\n - action: SetState\n params:\n path: deleteOpen\n value: false\n events:\n onThemeChange:\n - action: SetState\n params:\n path: theme\n value:\n _event: value\n props:\n headerLinks:\n - label: Tasks\n href: /tasks\n appearance: admin\n routes:\n - label: Tasks\n href: /tasks\n theme:\n _state: theme\n direction:\n _state: direction\n font:\n _state: font\n - type: Modal\n props:\n open:\n _state: discardEditorOpen\n pending:\n _state: saving\n title: Discard unsaved changes?\n description: Your edits will be lost if you discard them.\n events:\n onClose: &a1\n - &a2\n action: SetState\n params:\n path: discardEditorOpen\n value: false\n children:\n - type: Button\n props:\n label: Stay\n variant: outline\n events:\n onClick: *a1\n - type: Button\n props:\n label: Discard\n variant: destructive\n events:\n onClick:\n - *a2\n - action: SetState\n params:\n path: editorOpen\n value: false\n urlState:\n tableView:\n param: view\n default: \"\"\n computed:\n editorDirty:\n _not:\n _and:\n - _eq:\n - _if:\n - _state: draft.title\n - _state: draft.title\n - \"\"\n - _if:\n - _state: editorBaseline.title\n - _state: editorBaseline.title\n - \"\"\n - _eq:\n - _if:\n - _state: draft.label\n - _state: draft.label\n - \"\"\n - _if:\n - _state: editorBaseline.label\n - _state: editorBaseline.label\n - \"\"\n - _eq:\n - _if:\n - _state: draft.status\n - _state: draft.status\n - \"\"\n - _if:\n - _state: editorBaseline.status\n - _state: editorBaseline.status\n - \"\"\n - _eq:\n - _if:\n - _state: draft.priority\n - _state: draft.priority\n - \"\"\n - _if:\n - _state: editorBaseline.priority\n - _state: editorBaseline.priority\n - \"\"\nconnections:\n - id: tasks-db\n type: Collection\n entity: tasks\n mock:\n seed:\n - id: TASK-8782\n title: Document release rollback steps\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8783\n title: Fix keyboard focus in the task drawer\n label: bug\n status: todo\n priority: high\n - id: TASK-8784\n title: Add status filters to the task list\n label: feature\n status: in progress\n priority: low\n - id: TASK-8785\n title: Update deployment checklist\n label: documentation\n status: done\n priority: medium\n - id: TASK-8786\n title: Investigate duplicate task submissions\n label: bug\n status: canceled\n priority: high\n - id: TASK-8787\n title: Add saved table views\n label: feature\n status: backlog\n priority: low\n - id: TASK-8788\n title: Document task priority definitions\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8789\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8790\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8791\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8792\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8793\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8794\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8795\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8796\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8797\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8798\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8799\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8800\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8801\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8802\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8803\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8804\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8805\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8806\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8807\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8808\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8809\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8810\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8811\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8812\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8813\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8814\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8815\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8816\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8817\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8818\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8819\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8820\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8821\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8822\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8823\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8824\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8825\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8826\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8827\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8828\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8829\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8830\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8831\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8832\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8833\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8834\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8835\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8836\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8837\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8838\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8839\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8840\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8841\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8842\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8843\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8844\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8845\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8846\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8847\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8848\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8849\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8850\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8851\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8852\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8853\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: feature\n status: todo\n priority: low\n - id: TASK-8854\n title: We need to bypass the neural TCP card!\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8855\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: bug\n status: done\n priority: high\n - id: TASK-8856\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: feature\n status: canceled\n priority: low\n - id: TASK-8857\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8858\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: bug\n status: todo\n priority: high\n - id: TASK-8859\n title: Update the onboarding documentation for team members.\n label: feature\n status: in progress\n priority: low\n - id: TASK-8860\n title: Review project permissions before the next release.\n label: documentation\n status: done\n priority: medium\n - id: TASK-8861\n title: Make the settings form usable with keyboard navigation.\n label: bug\n status: canceled\n priority: high\n - id: TASK-8862\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8863\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8864\n title: We need to bypass the neural TCP card!\n label: bug\n status: in progress\n priority: high\n - id: TASK-8865\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: feature\n status: done\n priority: low\n - id: TASK-8866\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: documentation\n status: canceled\n priority: medium\n - id: TASK-8867\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: bug\n status: backlog\n priority: high\n - id: TASK-8868\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: feature\n status: todo\n priority: low\n - id: TASK-8869\n title: Update the onboarding documentation for team members.\n label: documentation\n status: in progress\n priority: medium\n - id: TASK-8870\n title: Review project permissions before the next release.\n label: bug\n status: done\n priority: high\n - id: TASK-8871\n title: Make the settings form usable with keyboard navigation.\n label: feature\n status: canceled\n priority: low\n - id: TASK-8872\n title: You can’t compress the program without quantifying the open-source SSD\n pixel!\n label: documentation\n status: backlog\n priority: medium\n - id: TASK-8873\n title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!\n label: bug\n status: todo\n priority: high\n - id: TASK-8874\n title: We need to bypass the neural TCP card!\n label: feature\n status: in progress\n priority: low\n - id: TASK-8875\n title: The SAS interface is down, bypass the open-source pixel so we can back up\n the PNG bandwidth!\n label: documentation\n status: done\n priority: medium\n - id: TASK-8876\n title: I’ll transmit the primary HTTP panel, that should feed the UTF-8\n protocol!\n label: bug\n status: canceled\n priority: high\n - id: TASK-8877\n title: Use the digital TLS panel, then you can transmit the haptic system!\n label: feature\n status: backlog\n priority: low\n - id: TASK-8878\n title: The RAM monitor is down, parsing the virtual circuit will help.\n label: documentation\n status: todo\n priority: medium\n - id: TASK-8879\n title: Update the onboarding documentation for team members.\n label: bug\n status: in progress\n priority: high\n - id: TASK-8880\n title: Review project permissions before the next release.\n label: feature\n status: done\n priority: low\n - id: TASK-8881\n title: Make the settings form usable with keyboard navigation.\n label: documentation\n status: canceled\n priority: medium\ndata:\n entities:\n tasks:\n key: id\n version: version\n fields:\n version:\n type: number\n readOnly: true\n id:\n type: string\n readOnly: true\n title:\n type: string\n label:\n type: string\n status:\n type: string\n priority:\n type: string\n users:\n key: id\n version: version\n fields:\n version:\n type: number\n readOnly: true\n id:\n type: string\n readOnly: true\n username:\n type: string\n firstName:\n type: string\n lastName:\n type: string\n email:\n type: string\n phoneNumber:\n type: string\n status:\n type: string\n role:\n type: string\n preferences:\n key: id\n version: version\n fields:\n version:\n type: number\n readOnly: true\n id:\n type: string\n readOnly: true\n section:\n type: string\n values:\n type: json\n integrations:\n key: id\n version: version\n fields:\n version:\n type: number\n readOnly: true\n id:\n type: string\n readOnly: true\n provider:\n type: string\n enabled:\n type: boolean\n config:\n type: json\n conversations:\n key: id\n fields:\n id:\n type: string\n readOnly: true\n name:\n type: string\n initials:\n type: string\n preview:\n type: string\n createdAt:\n type: datetime\n readOnly: true\n messages:\n key: id\n fields:\n id:\n type: string\n readOnly: true\n conversationId:\n type: string\n text:\n type: string\n time:\n type: string\n own:\n type: boolean\n createdAt:\n type: datetime\n senderId:\n type: string\n readOnly: true\n",
|
|
19
19
|
"type": "registry:lib"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{
|
|
16
16
|
"path": "lib/uibot/templates/admin-users.uibot.yaml",
|
|
17
17
|
"target": "lib/uibot/templates/admin-users.uibot.yaml",
|
|
18
|
-
"content": "version: \"2.0\"\nlayout:\n navigation: sidebar\n container: fluid\n navigationStyle: attached\n offcanvas: attached\n sidebar: expanded\npages:\n - id: users\n lifecycle:\n onMount:\n - action: Request\n params:\n connectionId: users-db\n request:\n id: load-users\n connectionId: users-db\n payload:\n operation: FindAll\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onStateChange:\n - watch:\n - editorOpen\n - draft.username\n - draft.firstName\n - draft.lastName\n - draft.email\n - draft.phoneNumber\n - draft.status\n - draft.role\n run: []\n path: /users\n title: Users\n state:\n direction: ltr\n font: Inter\n selectionEvent: null\n theme: light\n currentPath: /users\n rows:\n - id: user-1\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0000\n status: active\n role: admin\n - id: user-2\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0001\n status: inactive\n role: manager\n - id: user-3\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0002\n status: invited\n role: cashier\n - id: user-4\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0003\n status: suspended\n role: superadmin\n - id: user-5\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0004\n status: active\n role: admin\n - id: user-6\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0005\n status: inactive\n role: manager\n - id: user-7\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0006\n status: invited\n role: cashier\n - id: user-8\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0007\n status: suspended\n role: superadmin\n - id: user-9\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0008\n status: active\n role: admin\n - id: user-10\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0009\n status: inactive\n role: manager\n - id: user-11\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0010\n status: invited\n role: cashier\n - id: user-12\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0011\n status: suspended\n role: superadmin\n - id: user-13\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0012\n status: active\n role: admin\n - id: user-14\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0013\n status: inactive\n role: manager\n - id: user-15\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0014\n status: invited\n role: cashier\n - id: user-16\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0015\n status: suspended\n role: superadmin\n - id: user-17\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0016\n status: active\n role: admin\n - id: user-18\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0017\n status: inactive\n role: manager\n - id: user-19\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0018\n status: invited\n role: cashier\n - id: user-20\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0019\n status: suspended\n role: superadmin\n - id: user-21\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0020\n status: active\n role: admin\n - id: user-22\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0021\n status: inactive\n role: manager\n - id: user-23\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0022\n status: invited\n role: cashier\n - id: user-24\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0023\n status: suspended\n role: superadmin\n - id: user-25\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0024\n status: active\n role: admin\n - id: user-26\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0025\n status: inactive\n role: manager\n - id: user-27\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0026\n status: invited\n role: cashier\n - id: user-28\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0027\n status: suspended\n role: superadmin\n - id: user-29\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0028\n status: active\n role: admin\n - id: user-30\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0029\n status: inactive\n role: manager\n - id: user-31\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0030\n status: invited\n role: cashier\n - id: user-32\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0031\n status: suspended\n role: superadmin\n - id: user-33\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0032\n status: active\n role: admin\n - id: user-34\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0033\n status: inactive\n role: manager\n - id: user-35\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0034\n status: invited\n role: cashier\n - id: user-36\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0035\n status: suspended\n role: superadmin\n editorOpen: false\n deleteOpen: false\n draft: {}\n loading: false\n saving: false\n uiError: null\n tableView: \"\"\n serverMode: false\n selectedIds: []\n total: null\n hasNextPage: false\n reloadRequested: 0\n pageNotice: \"\"\n bulkOpen: false\n bulkRequest: null\n bulkSubmit: false\n bulkAction: \"\"\n bulkStatus: active\n bulkSummary: \"\"\n bulkError: null\n bulkConfirmDisabled: true\n bulkDisabled: true\n bulkUnavailable: Select records with known versions to enable batch actions.\n editorBaseline: {}\n discardEditorOpen: false\n blocks:\n - type: PageLayout\n children:\n - type: Box\n props:\n className: \"!flex-row items-start justify-between gap-4 mb-6\"\n children:\n - type: Box\n props:\n gap: xs\n children:\n - type: Heading\n props:\n level: 1\n text: Users\n - type: Paragraph\n props:\n text: Manage your users and their roles here.\n muted: true\n size: sm\n - type: Button\n props:\n label: Add User\n variant: default\n events:\n onClick:\n - action: SetState\n params:\n path: draft\n value:\n action: create\n - action: SetState\n params:\n path: uiError\n value: null\n - action: SetState\n params:\n path: editorBaseline\n value:\n username:\n _state: draft.username\n firstName:\n _state: draft.firstName\n lastName:\n _state: draft.lastName\n email:\n _state: draft.email\n phoneNumber:\n _state: draft.phoneNumber\n status:\n _state: draft.status\n role:\n _state: draft.role\n - action: SetState\n params:\n path: editorOpen\n value: true\n - type: Paragraph\n visible:\n _state: serverMode\n props:\n text:\n _state: pageNotice\n muted: true\n size: sm\n - type: DataTable\n props:\n server:\n _state: serverMode\n total:\n _state: total\n hasNextPage:\n _state: hasNextPage\n selectedIds:\n _if:\n - _state: serverMode\n - _state: selectedIds\n - null\n rows:\n _state: rows\n loading:\n _state: loading\n error:\n _state: uiError.message\n columns:\n - key: username\n label: Username\n kind: muted\n - key: firstName\n displayKeys:\n - firstName\n - lastName\n label: Name\n kind: text\n - key: email\n label: Email\n kind: muted\n - key: phoneNumber\n label: Phone Number\n kind: muted\n - key: status\n label: Status\n kind: badge\n - key: role\n label: Role\n kind: text\n filters:\n - key: status\n label: Status\n options:\n - value: active\n label: Active\n - value: inactive\n label: Inactive\n - value: invited\n label: Invited\n - value: suspended\n label: Suspended\n - key: role\n label: Role\n options:\n - value: admin\n label: Admin\n - value: manager\n label: Manager\n - value: cashier\n label: Cashier\n - value: superadmin\n label: Superadmin\n searchKeys:\n - username\n - firstName\n - lastName\n - email\n searchPlaceholder: Filter users...\n actions:\n - id: edit\n label: Edit\n - id: delete\n label: Delete\n bulkActions:\n _if:\n - _state: serverMode\n - - id: delete\n label: Delete selected\n disabled:\n _state: bulkDisabled\n - id: status\n label: Change status\n disabled:\n _state: bulkDisabled\n - - id: delete\n label: Delete selected\n disabled: true\n view:\n _state: tableView\n minWidth: 950\n events:\n onRowAction:\n - action: SetState\n params:\n path: uiError\n value: null\n - action: SetState\n params:\n path: draft\n value:\n _event: values\n - action: SetState\n params:\n path: editorBaseline\n value:\n username:\n _state: draft.username\n firstName:\n _state: draft.firstName\n lastName:\n _state: draft.lastName\n email:\n _state: draft.email\n phoneNumber:\n _state: draft.phoneNumber\n status:\n _state: draft.status\n role:\n _state: draft.role\n - action: SetState\n params:\n path: editorOpen\n value:\n _eq:\n - _state: draft.action\n - edit\n - action: SetState\n params:\n path: deleteOpen\n value:\n _eq:\n - _state: draft.action\n - delete\n onBulkAction:\n - action: SetState\n params:\n path: bulkRequest\n value:\n _event: values\n onSelectionChange:\n - action: SetState\n params:\n path: selectionEvent\n value:\n _event: values\n - action: SetState\n params:\n path: selectedIds\n value:\n _state: selectionEvent.ids\n onViewChange:\n - action: SetState\n params:\n path: tableView\n value:\n _event: value\n - type: Paragraph\n visible:\n _state: serverMode\n props:\n text:\n _state: bulkUnavailable\n muted: true\n size: sm\n - type: Button\n visible:\n _state: serverMode\n props:\n label: Reload first page\n variant: outline\n disabled:\n _or:\n - _state: loading\n - _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: reloadRequested\n value:\n _not:\n _state: reloadRequested\n - type: Modal\n props:\n open:\n _state: bulkOpen\n pending:\n _state: saving\n title:\n _if:\n - _eq:\n - _state: bulkAction\n - delete\n - Delete selected records?\n - Change selected status?\n description: Review the selected IDs, versions and change before confirming.\n children:\n - type: Field\n visible:\n _eq:\n - _state: bulkAction\n - status\n props:\n name: bulkStatus\n label: New status\n kind: select\n value:\n _bindState: bulkStatus\n disabled:\n _state: saving\n options:\n - value: active\n label: Active\n - value: inactive\n label: Inactive\n - value: invited\n label: Invited\n - value: suspended\n label: Suspended\n - type: Paragraph\n props:\n text:\n _state: bulkSummary\n className: whitespace-pre-wrap break-all max-h-48 overflow-auto font-mono\n text-xs\n - type: Paragraph\n visible:\n _state: bulkError\n props:\n text:\n _state: bulkError.message\n className: text-destructive\n - type: Box\n props:\n direction: row\n justify: end\n children:\n - type: Button\n props:\n label: Cancel\n variant: outline\n disabled:\n _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: bulkOpen\n value: false\n - type: Button\n props:\n label: Confirm batch\n disabled:\n _state: bulkConfirmDisabled\n events:\n onClick:\n - action: SetState\n params:\n path: bulkSubmit\n value:\n _not:\n _state: bulkSubmit\n events:\n onClose:\n - action: SetState\n params:\n path: bulkOpen\n value: false\n - type: Drawer\n props:\n open:\n _state: editorOpen\n pending:\n _state: saving\n title: Create or edit user\n description: Update the details below. Click save when you’re done.\n children:\n - type: Form\n props:\n label: Record details\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: username\n label: Username\n kind: text\n value:\n _bindState: draft.username\n required: true\n - type: Field\n props:\n name: firstName\n label: First name\n kind: text\n value:\n _bindState: draft.firstName\n required: true\n - type: Field\n props:\n name: lastName\n label: Last name\n kind: text\n value:\n _bindState: draft.lastName\n required: true\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n value:\n _bindState: draft.email\n required: true\n - type: Field\n props:\n name: phoneNumber\n label: Phone Number\n kind: text\n value:\n _bindState: draft.phoneNumber\n required: true\n - type: Field\n props:\n name: status\n label: Status\n kind: select\n value:\n _bindState: draft.status\n required: true\n options:\n - value: active\n label: Active\n - value: inactive\n label: Inactive\n - value: invited\n label: Invited\n - value: suspended\n label: Suspended\n - type: Field\n props:\n name: role\n label: Role\n kind: select\n value:\n _bindState: draft.role\n required: true\n options:\n - value: admin\n label: Admin\n - value: manager\n label: Manager\n - value: cashier\n label: Cashier\n - value: superadmin\n label: Superadmin\n - type: Paragraph\n props:\n text:\n _state: uiError.message\n muted: true\n size: sm\n visible:\n _state: uiError\n - type: Form.Submit\n props:\n label: Save changes\n disabled:\n _state: saving\n events:\n onSubmit:\n - action: Request\n params:\n connectionId: users-db\n request:\n id: mutate-users\n connectionId: users-db\n payload:\n operation:\n _if:\n - _eq:\n - _state: draft.action\n - create\n - InsertOne\n - UpdateOne\n filter:\n id:\n _state: draft.id\n data:\n _event: values\n idempotencyKey:\n _event: value\n expectedVersion:\n _state: draft.version\n loadingPath: saving\n errorPath: uiError\n onSuccess:\n - action: SetState\n params:\n path: editorOpen\n value: false\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - action: Request\n params:\n connectionId: users-db\n request:\n id: load-users\n connectionId: users-db\n payload:\n operation: FindAll\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n events:\n onClose:\n - action: SetState\n params:\n path: discardEditorOpen\n value:\n _computed: editorDirty\n - action: SetState\n params:\n path: editorOpen\n value:\n _computed: editorDirty\n - type: Modal\n props:\n open:\n _state: deleteOpen\n pending:\n _state: saving\n title: Delete this record?\n description: This action cannot be undone. The record will be permanently\n removed.\n children:\n - type: Paragraph\n visible:\n _state: uiError\n props:\n text:\n _state: uiError.message\n className: text-destructive\n - type: Box\n props:\n direction: row\n justify: end\n children:\n - type: Button\n props:\n label: Cancel\n variant: outline\n disabled:\n _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - type: Button\n props:\n label: Delete\n variant: destructive\n disabled:\n _state: saving\n events:\n onClick:\n - action: Request\n params:\n connectionId: users-db\n request:\n id: mutate-users\n connectionId: users-db\n payload:\n operation: DeleteOne\n filter:\n id:\n _state: draft.id\n expectedVersion:\n _state: draft.version\n loadingPath: saving\n errorPath: uiError\n onSuccess:\n - action: SetState\n params:\n path: editorOpen\n value: false\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - action: Request\n params:\n connectionId: users-db\n request:\n id: load-users\n connectionId: users-db\n payload:\n operation: FindAll\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n events:\n onClose:\n - action: SetState\n params:\n path: deleteOpen\n value: false\n events:\n onThemeChange:\n - action: SetState\n params:\n path: theme\n value:\n _event: value\n props:\n headerLinks:\n - label: Users\n href: /users\n appearance: admin\n routes:\n - label: Users\n href: /users\n theme:\n _state: theme\n direction:\n _state: direction\n font:\n _state: font\n - type: Modal\n props:\n open:\n _state: discardEditorOpen\n pending:\n _state: saving\n title: Discard unsaved changes?\n description: Your edits will be lost if you discard them.\n events:\n onClose: &a1\n - &a2\n action: SetState\n params:\n path: discardEditorOpen\n value: false\n children:\n - type: Button\n props:\n label: Stay\n variant: outline\n events:\n onClick: *a1\n - type: Button\n props:\n label: Discard\n variant: destructive\n events:\n onClick:\n - *a2\n - action: SetState\n params:\n path: editorOpen\n value: false\n urlState:\n tableView:\n param: view\n default: \"\"\n computed:\n editorDirty:\n _not:\n _and:\n - _eq:\n - _if:\n - _state: draft.username\n - _state: draft.username\n - \"\"\n - _if:\n - _state: editorBaseline.username\n - _state: editorBaseline.username\n - \"\"\n - _eq:\n - _if:\n - _state: draft.firstName\n - _state: draft.firstName\n - \"\"\n - _if:\n - _state: editorBaseline.firstName\n - _state: editorBaseline.firstName\n - \"\"\n - _eq:\n - _if:\n - _state: draft.lastName\n - _state: draft.lastName\n - \"\"\n - _if:\n - _state: editorBaseline.lastName\n - _state: editorBaseline.lastName\n - \"\"\n - _eq:\n - _if:\n - _state: draft.email\n - _state: draft.email\n - \"\"\n - _if:\n - _state: editorBaseline.email\n - _state: editorBaseline.email\n - \"\"\n - _eq:\n - _if:\n - _state: draft.phoneNumber\n - _state: draft.phoneNumber\n - \"\"\n - _if:\n - _state: editorBaseline.phoneNumber\n - _state: editorBaseline.phoneNumber\n - \"\"\n - _eq:\n - _if:\n - _state: draft.status\n - _state: draft.status\n - \"\"\n - _if:\n - _state: editorBaseline.status\n - _state: editorBaseline.status\n - \"\"\n - _eq:\n - _if:\n - _state: draft.role\n - _state: draft.role\n - \"\"\n - _if:\n - _state: editorBaseline.role\n - _state: editorBaseline.role\n - \"\"\nconnections:\n - id: users-db\n type: NowAPI.Collection\n",
|
|
18
|
+
"content": "version: \"2.0\"\nlayout:\n navigation: sidebar\n container: fluid\n navigationStyle: attached\n offcanvas: attached\n sidebar: expanded\npages:\n - id: users\n lifecycle:\n onMount:\n - action: Request\n params:\n connectionId: users-db\n request:\n id: load-users\n connectionId: users-db\n payload:\n operation: Find\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onStateChange:\n - watch:\n - editorOpen\n - draft.username\n - draft.firstName\n - draft.lastName\n - draft.email\n - draft.phoneNumber\n - draft.status\n - draft.role\n run: []\n path: /users\n title: Users\n state:\n direction: ltr\n font: Inter\n selectionEvent: null\n theme: light\n currentPath: /users\n rows:\n - id: user-1\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0000\n status: active\n role: admin\n - id: user-2\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0001\n status: inactive\n role: manager\n - id: user-3\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0002\n status: invited\n role: cashier\n - id: user-4\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0003\n status: suspended\n role: superadmin\n - id: user-5\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0004\n status: active\n role: admin\n - id: user-6\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0005\n status: inactive\n role: manager\n - id: user-7\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0006\n status: invited\n role: cashier\n - id: user-8\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0007\n status: suspended\n role: superadmin\n - id: user-9\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0008\n status: active\n role: admin\n - id: user-10\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0009\n status: inactive\n role: manager\n - id: user-11\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0010\n status: invited\n role: cashier\n - id: user-12\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0011\n status: suspended\n role: superadmin\n - id: user-13\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0012\n status: active\n role: admin\n - id: user-14\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0013\n status: inactive\n role: manager\n - id: user-15\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0014\n status: invited\n role: cashier\n - id: user-16\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0015\n status: suspended\n role: superadmin\n - id: user-17\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0016\n status: active\n role: admin\n - id: user-18\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0017\n status: inactive\n role: manager\n - id: user-19\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0018\n status: invited\n role: cashier\n - id: user-20\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0019\n status: suspended\n role: superadmin\n - id: user-21\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0020\n status: active\n role: admin\n - id: user-22\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0021\n status: inactive\n role: manager\n - id: user-23\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0022\n status: invited\n role: cashier\n - id: user-24\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0023\n status: suspended\n role: superadmin\n - id: user-25\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0024\n status: active\n role: admin\n - id: user-26\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0025\n status: inactive\n role: manager\n - id: user-27\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0026\n status: invited\n role: cashier\n - id: user-28\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0027\n status: suspended\n role: superadmin\n - id: user-29\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0028\n status: active\n role: admin\n - id: user-30\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0029\n status: inactive\n role: manager\n - id: user-31\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0030\n status: invited\n role: cashier\n - id: user-32\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0031\n status: suspended\n role: superadmin\n - id: user-33\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0032\n status: active\n role: admin\n - id: user-34\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0033\n status: inactive\n role: manager\n - id: user-35\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0034\n status: invited\n role: cashier\n - id: user-36\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0035\n status: suspended\n role: superadmin\n editorOpen: false\n deleteOpen: false\n draft: {}\n loading: false\n saving: false\n uiError: null\n tableView: \"\"\n serverMode: false\n selectedIds: []\n total: null\n hasNextPage: false\n reloadRequested: 0\n pageNotice: \"\"\n bulkOpen: false\n bulkRequest: null\n bulkSubmit: false\n bulkAction: \"\"\n bulkStatus: active\n bulkSummary: \"\"\n bulkError: null\n bulkConfirmDisabled: true\n bulkDisabled: true\n bulkUnavailable: Select records with known versions to enable batch actions.\n editorBaseline: {}\n discardEditorOpen: false\n blocks:\n - type: PageLayout\n children:\n - type: Box\n props:\n className: \"!flex-row items-start justify-between gap-4 mb-6\"\n children:\n - type: Box\n props:\n gap: xs\n children:\n - type: Heading\n props:\n level: 1\n text: Users\n - type: Paragraph\n props:\n text: Manage your users and their roles here.\n muted: true\n size: sm\n - type: Button\n props:\n label: Add User\n variant: default\n events:\n onClick:\n - action: SetState\n params:\n path: draft\n value:\n action: create\n - action: SetState\n params:\n path: uiError\n value: null\n - action: SetState\n params:\n path: editorBaseline\n value:\n username:\n _state: draft.username\n firstName:\n _state: draft.firstName\n lastName:\n _state: draft.lastName\n email:\n _state: draft.email\n phoneNumber:\n _state: draft.phoneNumber\n status:\n _state: draft.status\n role:\n _state: draft.role\n - action: SetState\n params:\n path: editorOpen\n value: true\n - type: Paragraph\n visible:\n _state: serverMode\n props:\n text:\n _state: pageNotice\n muted: true\n size: sm\n - type: DataTable\n props:\n server:\n _state: serverMode\n total:\n _state: total\n hasNextPage:\n _state: hasNextPage\n selectedIds:\n _if:\n - _state: serverMode\n - _state: selectedIds\n - null\n rows:\n _state: rows\n loading:\n _state: loading\n error:\n _state: uiError.message\n columns:\n - key: username\n label: Username\n kind: muted\n - key: firstName\n displayKeys:\n - firstName\n - lastName\n label: Name\n kind: text\n - key: email\n label: Email\n kind: muted\n - key: phoneNumber\n label: Phone Number\n kind: muted\n - key: status\n label: Status\n kind: badge\n - key: role\n label: Role\n kind: text\n filters:\n - key: status\n label: Status\n options:\n - value: active\n label: Active\n - value: inactive\n label: Inactive\n - value: invited\n label: Invited\n - value: suspended\n label: Suspended\n - key: role\n label: Role\n options:\n - value: admin\n label: Admin\n - value: manager\n label: Manager\n - value: cashier\n label: Cashier\n - value: superadmin\n label: Superadmin\n searchKeys:\n - username\n - firstName\n - lastName\n - email\n searchPlaceholder: Filter users...\n actions:\n - id: edit\n label: Edit\n - id: delete\n label: Delete\n bulkActions:\n _if:\n - _state: serverMode\n - - id: delete\n label: Delete selected\n disabled:\n _state: bulkDisabled\n - id: status\n label: Change status\n disabled:\n _state: bulkDisabled\n - - id: delete\n label: Delete selected\n disabled: true\n view:\n _state: tableView\n minWidth: 950\n events:\n onRowAction:\n - action: SetState\n params:\n path: uiError\n value: null\n - action: SetState\n params:\n path: draft\n value:\n _event: values\n - action: SetState\n params:\n path: editorBaseline\n value:\n username:\n _state: draft.username\n firstName:\n _state: draft.firstName\n lastName:\n _state: draft.lastName\n email:\n _state: draft.email\n phoneNumber:\n _state: draft.phoneNumber\n status:\n _state: draft.status\n role:\n _state: draft.role\n - action: SetState\n params:\n path: editorOpen\n value:\n _eq:\n - _state: draft.action\n - edit\n - action: SetState\n params:\n path: deleteOpen\n value:\n _eq:\n - _state: draft.action\n - delete\n onBulkAction:\n - action: SetState\n params:\n path: bulkRequest\n value:\n _event: values\n onSelectionChange:\n - action: SetState\n params:\n path: selectionEvent\n value:\n _event: values\n - action: SetState\n params:\n path: selectedIds\n value:\n _state: selectionEvent.ids\n onViewChange:\n - action: SetState\n params:\n path: tableView\n value:\n _event: value\n - type: Paragraph\n visible:\n _state: serverMode\n props:\n text:\n _state: bulkUnavailable\n muted: true\n size: sm\n - type: Button\n visible:\n _state: serverMode\n props:\n label: Reload first page\n variant: outline\n disabled:\n _or:\n - _state: loading\n - _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: reloadRequested\n value:\n _not:\n _state: reloadRequested\n - type: Modal\n props:\n open:\n _state: bulkOpen\n pending:\n _state: saving\n title:\n _if:\n - _eq:\n - _state: bulkAction\n - delete\n - Delete selected records?\n - Change selected status?\n description: Review the selected IDs, versions and change before confirming.\n children:\n - type: Field\n visible:\n _eq:\n - _state: bulkAction\n - status\n props:\n name: bulkStatus\n label: New status\n kind: select\n value:\n _bindState: bulkStatus\n disabled:\n _state: saving\n options:\n - value: active\n label: Active\n - value: inactive\n label: Inactive\n - value: invited\n label: Invited\n - value: suspended\n label: Suspended\n - type: Paragraph\n props:\n text:\n _state: bulkSummary\n className: whitespace-pre-wrap break-all max-h-48 overflow-auto font-mono\n text-xs\n - type: Paragraph\n visible:\n _state: bulkError\n props:\n text:\n _state: bulkError.message\n className: text-destructive\n - type: Box\n props:\n direction: row\n justify: end\n children:\n - type: Button\n props:\n label: Cancel\n variant: outline\n disabled:\n _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: bulkOpen\n value: false\n - type: Button\n props:\n label: Confirm batch\n disabled:\n _state: bulkConfirmDisabled\n events:\n onClick:\n - action: SetState\n params:\n path: bulkSubmit\n value:\n _not:\n _state: bulkSubmit\n events:\n onClose:\n - action: SetState\n params:\n path: bulkOpen\n value: false\n - type: Drawer\n props:\n open:\n _state: editorOpen\n pending:\n _state: saving\n title: Create or edit user\n description: Update the details below. Click save when you’re done.\n children:\n - type: Form\n props:\n label: Record details\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: username\n label: Username\n kind: text\n value:\n _bindState: draft.username\n required: true\n - type: Field\n props:\n name: firstName\n label: First name\n kind: text\n value:\n _bindState: draft.firstName\n required: true\n - type: Field\n props:\n name: lastName\n label: Last name\n kind: text\n value:\n _bindState: draft.lastName\n required: true\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n value:\n _bindState: draft.email\n required: true\n - type: Field\n props:\n name: phoneNumber\n label: Phone Number\n kind: text\n value:\n _bindState: draft.phoneNumber\n required: true\n - type: Field\n props:\n name: status\n label: Status\n kind: select\n value:\n _bindState: draft.status\n required: true\n options:\n - value: active\n label: Active\n - value: inactive\n label: Inactive\n - value: invited\n label: Invited\n - value: suspended\n label: Suspended\n - type: Field\n props:\n name: role\n label: Role\n kind: select\n value:\n _bindState: draft.role\n required: true\n options:\n - value: admin\n label: Admin\n - value: manager\n label: Manager\n - value: cashier\n label: Cashier\n - value: superadmin\n label: Superadmin\n - type: Paragraph\n props:\n text:\n _state: uiError.message\n muted: true\n size: sm\n visible:\n _state: uiError\n - type: Form.Submit\n props:\n label: Save changes\n disabled:\n _state: saving\n events:\n onSubmit:\n - action: Request\n params:\n connectionId: users-db\n request:\n id: mutate-users\n connectionId: users-db\n payload:\n _if:\n - _eq:\n - _if:\n - _eq:\n - _state: draft.action\n - create\n - InsertOne\n - UpdateOne\n - InsertOne\n - operation: InsertOne\n data:\n username:\n _event: values.username\n firstName:\n _event: values.firstName\n lastName:\n _event: values.lastName\n email:\n _event: values.email\n phoneNumber:\n _event: values.phoneNumber\n status:\n _event: values.status\n role:\n _event: values.role\n - operation: UpdateOne\n data:\n username:\n _event: values.username\n firstName:\n _event: values.firstName\n lastName:\n _event: values.lastName\n email:\n _event: values.email\n phoneNumber:\n _event: values.phoneNumber\n status:\n _event: values.status\n role:\n _event: values.role\n filter:\n id:\n _state: draft.id\n version:\n _state: draft.version\n loadingPath: saving\n errorPath: uiError\n onSuccess:\n - action: SetState\n params:\n path: editorOpen\n value: false\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - action: Request\n params:\n connectionId: users-db\n request:\n id: load-users\n connectionId: users-db\n payload:\n operation: Find\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n events:\n onClose:\n - action: SetState\n params:\n path: discardEditorOpen\n value:\n _computed: editorDirty\n - action: SetState\n params:\n path: editorOpen\n value:\n _computed: editorDirty\n - type: Modal\n props:\n open:\n _state: deleteOpen\n pending:\n _state: saving\n title: Delete this record?\n description: This action cannot be undone. The record will be permanently\n removed.\n children:\n - type: Paragraph\n visible:\n _state: uiError\n props:\n text:\n _state: uiError.message\n className: text-destructive\n - type: Box\n props:\n direction: row\n justify: end\n children:\n - type: Button\n props:\n label: Cancel\n variant: outline\n disabled:\n _state: saving\n events:\n onClick:\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - type: Button\n props:\n label: Delete\n variant: destructive\n disabled:\n _state: saving\n events:\n onClick:\n - action: Request\n params:\n connectionId: users-db\n request:\n id: mutate-users\n connectionId: users-db\n payload:\n operation: DeleteOne\n filter:\n id:\n _state: draft.id\n version:\n _state: draft.version\n loadingPath: saving\n errorPath: uiError\n onSuccess:\n - action: SetState\n params:\n path: editorOpen\n value: false\n - action: SetState\n params:\n path: deleteOpen\n value: false\n - action: Request\n params:\n connectionId: users-db\n request:\n id: load-users\n connectionId: users-db\n payload:\n operation: Find\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n onError:\n - action: SetState\n params:\n path: requestFailed\n value: true\n events:\n onClose:\n - action: SetState\n params:\n path: deleteOpen\n value: false\n events:\n onThemeChange:\n - action: SetState\n params:\n path: theme\n value:\n _event: value\n props:\n headerLinks:\n - label: Users\n href: /users\n appearance: admin\n routes:\n - label: Users\n href: /users\n theme:\n _state: theme\n direction:\n _state: direction\n font:\n _state: font\n - type: Modal\n props:\n open:\n _state: discardEditorOpen\n pending:\n _state: saving\n title: Discard unsaved changes?\n description: Your edits will be lost if you discard them.\n events:\n onClose: &a1\n - &a2\n action: SetState\n params:\n path: discardEditorOpen\n value: false\n children:\n - type: Button\n props:\n label: Stay\n variant: outline\n events:\n onClick: *a1\n - type: Button\n props:\n label: Discard\n variant: destructive\n events:\n onClick:\n - *a2\n - action: SetState\n params:\n path: editorOpen\n value: false\n urlState:\n tableView:\n param: view\n default: \"\"\n computed:\n editorDirty:\n _not:\n _and:\n - _eq:\n - _if:\n - _state: draft.username\n - _state: draft.username\n - \"\"\n - _if:\n - _state: editorBaseline.username\n - _state: editorBaseline.username\n - \"\"\n - _eq:\n - _if:\n - _state: draft.firstName\n - _state: draft.firstName\n - \"\"\n - _if:\n - _state: editorBaseline.firstName\n - _state: editorBaseline.firstName\n - \"\"\n - _eq:\n - _if:\n - _state: draft.lastName\n - _state: draft.lastName\n - \"\"\n - _if:\n - _state: editorBaseline.lastName\n - _state: editorBaseline.lastName\n - \"\"\n - _eq:\n - _if:\n - _state: draft.email\n - _state: draft.email\n - \"\"\n - _if:\n - _state: editorBaseline.email\n - _state: editorBaseline.email\n - \"\"\n - _eq:\n - _if:\n - _state: draft.phoneNumber\n - _state: draft.phoneNumber\n - \"\"\n - _if:\n - _state: editorBaseline.phoneNumber\n - _state: editorBaseline.phoneNumber\n - \"\"\n - _eq:\n - _if:\n - _state: draft.status\n - _state: draft.status\n - \"\"\n - _if:\n - _state: editorBaseline.status\n - _state: editorBaseline.status\n - \"\"\n - _eq:\n - _if:\n - _state: draft.role\n - _state: draft.role\n - \"\"\n - _if:\n - _state: editorBaseline.role\n - _state: editorBaseline.role\n - \"\"\nconnections:\n - id: users-db\n type: Collection\n entity: users\n mock:\n seed:\n - id: user-1\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0000\n status: active\n role: admin\n - id: user-2\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0001\n status: inactive\n role: manager\n - id: user-3\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0002\n status: invited\n role: cashier\n - id: user-4\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0003\n status: suspended\n role: superadmin\n - id: user-5\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0004\n status: active\n role: admin\n - id: user-6\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0005\n status: inactive\n role: manager\n - id: user-7\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0006\n status: invited\n role: cashier\n - id: user-8\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0007\n status: suspended\n role: superadmin\n - id: user-9\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0008\n status: active\n role: admin\n - id: user-10\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0009\n status: inactive\n role: manager\n - id: user-11\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0010\n status: invited\n role: cashier\n - id: user-12\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0011\n status: suspended\n role: superadmin\n - id: user-13\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0012\n status: active\n role: admin\n - id: user-14\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0013\n status: inactive\n role: manager\n - id: user-15\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0014\n status: invited\n role: cashier\n - id: user-16\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0015\n status: suspended\n role: superadmin\n - id: user-17\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0016\n status: active\n role: admin\n - id: user-18\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0017\n status: inactive\n role: manager\n - id: user-19\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0018\n status: invited\n role: cashier\n - id: user-20\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0019\n status: suspended\n role: superadmin\n - id: user-21\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0020\n status: active\n role: admin\n - id: user-22\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0021\n status: inactive\n role: manager\n - id: user-23\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0022\n status: invited\n role: cashier\n - id: user-24\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0023\n status: suspended\n role: superadmin\n - id: user-25\n username: liam.anderson\n firstName: Liam\n lastName: Anderson\n email: liam.anderson@example.com\n phoneNumber: +1 (555) 010-0024\n status: active\n role: admin\n - id: user-26\n username: olivia.baker\n firstName: Olivia\n lastName: Baker\n email: olivia.baker@example.com\n phoneNumber: +1 (555) 010-0025\n status: inactive\n role: manager\n - id: user-27\n username: noah.carter\n firstName: Noah\n lastName: Carter\n email: noah.carter@example.com\n phoneNumber: +1 (555) 010-0026\n status: invited\n role: cashier\n - id: user-28\n username: emma.davis\n firstName: Emma\n lastName: Davis\n email: emma.davis@example.com\n phoneNumber: +1 (555) 010-0027\n status: suspended\n role: superadmin\n - id: user-29\n username: elijah.evans\n firstName: Elijah\n lastName: Evans\n email: elijah.evans@example.com\n phoneNumber: +1 (555) 010-0028\n status: active\n role: admin\n - id: user-30\n username: amelia.foster\n firstName: Amelia\n lastName: Foster\n email: amelia.foster@example.com\n phoneNumber: +1 (555) 010-0029\n status: inactive\n role: manager\n - id: user-31\n username: james.garcia\n firstName: James\n lastName: Garcia\n email: james.garcia@example.com\n phoneNumber: +1 (555) 010-0030\n status: invited\n role: cashier\n - id: user-32\n username: charlotte.harris\n firstName: Charlotte\n lastName: Harris\n email: charlotte.harris@example.com\n phoneNumber: +1 (555) 010-0031\n status: suspended\n role: superadmin\n - id: user-33\n username: william.irwin\n firstName: William\n lastName: Irwin\n email: william.irwin@example.com\n phoneNumber: +1 (555) 010-0032\n status: active\n role: admin\n - id: user-34\n username: sophia.jones\n firstName: Sophia\n lastName: Jones\n email: sophia.jones@example.com\n phoneNumber: +1 (555) 010-0033\n status: inactive\n role: manager\n - id: user-35\n username: benjamin.kim\n firstName: Benjamin\n lastName: Kim\n email: benjamin.kim@example.com\n phoneNumber: +1 (555) 010-0034\n status: invited\n role: cashier\n - id: user-36\n username: isabella.lewis\n firstName: Isabella\n lastName: Lewis\n email: isabella.lewis@example.com\n phoneNumber: +1 (555) 010-0035\n status: suspended\n role: superadmin\ndata:\n entities:\n tasks:\n key: id\n version: version\n fields:\n version:\n type: number\n readOnly: true\n id:\n type: string\n readOnly: true\n title:\n type: string\n label:\n type: string\n status:\n type: string\n priority:\n type: string\n users:\n key: id\n version: version\n fields:\n version:\n type: number\n readOnly: true\n id:\n type: string\n readOnly: true\n username:\n type: string\n firstName:\n type: string\n lastName:\n type: string\n email:\n type: string\n phoneNumber:\n type: string\n status:\n type: string\n role:\n type: string\n preferences:\n key: id\n version: version\n fields:\n version:\n type: number\n readOnly: true\n id:\n type: string\n readOnly: true\n section:\n type: string\n values:\n type: json\n integrations:\n key: id\n version: version\n fields:\n version:\n type: number\n readOnly: true\n id:\n type: string\n readOnly: true\n provider:\n type: string\n enabled:\n type: boolean\n config:\n type: json\n conversations:\n key: id\n fields:\n id:\n type: string\n readOnly: true\n name:\n type: string\n initials:\n type: string\n preview:\n type: string\n createdAt:\n type: datetime\n readOnly: true\n messages:\n key: id\n fields:\n id:\n type: string\n readOnly: true\n conversationId:\n type: string\n text:\n type: string\n time:\n type: string\n own:\n type: boolean\n createdAt:\n type: datetime\n senderId:\n type: string\n readOnly: true\n",
|
|
19
19
|
"type": "registry:lib"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "agent-run-console",
|
|
4
|
+
"type": "registry:block",
|
|
5
|
+
"description": "AI operations console combining Collection-backed agent run telemetry, status filtering, and an embedded operator ChatWorkspace.",
|
|
6
|
+
"registryDependencies": [
|
|
7
|
+
"@uibot/chat-workspace",
|
|
8
|
+
"@uibot/data",
|
|
9
|
+
"@uibot/data-table",
|
|
10
|
+
"@uibot/feedback",
|
|
11
|
+
"@uibot/form",
|
|
12
|
+
"@uibot/layout"
|
|
13
|
+
],
|
|
14
|
+
"files": [
|
|
15
|
+
{
|
|
16
|
+
"path": "lib/uibot/templates/agent-run-console.uibot.yaml",
|
|
17
|
+
"target": "lib/uibot/templates/agent-run-console.uibot.yaml",
|
|
18
|
+
"content": "version: \"2.0\"\ndata:\n entities:\n agentRuns:\n key: id\n version: version\n fields:\n id:\n type: string\n readOnly: true\n version:\n type: number\n readOnly: true\n title:\n type: string\n status:\n type: string\n model:\n type: string\n score:\n type: string\n latencyMs:\n type: string\n summary:\n type: string\nconnections:\n - id: agent-runs-db\n type: Collection\n entity: agentRuns\n mock:\n seed:\n - id: RUN-401\n title: Release notes synthesis\n status: completed\n model: gpt-6.2-sol\n score: 96 / 100\n latencyMs: 1,240 ms\n summary: Compiled 14 PR diffs into changelog sections with 0 citation drift.\n version: 1\n - id: RUN-402\n title: Support ticket triage batch\n status: running\n model: gemini-3.1-flash\n score: 91 / 100\n latencyMs: 680 ms\n summary: Classifying 48 inbound support threads with confidence thresholds.\n version: 1\n - id: RUN-403\n title: SQL migration policy audit\n status: failed\n model: claude-4.5-sonnet\n score: 54 / 100\n latencyMs: 2,110 ms\n summary: Tool guard blocked destructive DROP statement pending human approval.\n version: 1\npages:\n - id: ai-workspace\n path: /agent-run-console\n title: Agent Run Console\n lifecycle:\n onMount:\n - action: Request\n params:\n connectionId: agent-runs-db\n request:\n id: find-agent-runs\n connectionId: agent-runs-db\n payload:\n operation: Find\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n state:\n rows:\n - id: RUN-401\n title: Release notes synthesis\n status: completed\n model: gpt-6.2-sol\n score: 96 / 100\n latencyMs: 1,240 ms\n summary: Compiled 14 PR diffs into changelog sections with 0 citation drift.\n version: 1\n - id: RUN-402\n title: Support ticket triage batch\n status: running\n model: gemini-3.1-flash\n score: 91 / 100\n latencyMs: 680 ms\n summary: Classifying 48 inbound support threads with confidence thresholds.\n version: 1\n - id: RUN-403\n title: SQL migration policy audit\n status: failed\n model: claude-4.5-sonnet\n score: 54 / 100\n latencyMs: 2,110 ms\n summary: Tool guard blocked destructive DROP statement pending human approval.\n version: 1\n loading: false\n uiError: \"\"\n statusFilter: all\n selectedRunId: RUN-401\n promptDraft: Summarize failed tool calls and propose safe retry parameters.\n newRunTitle: Regression eval batch\n newRunModel: gpt-6.2-sol\n computed:\n filteredRuns:\n _filter:\n - _state: rows\n - _or:\n - _eq:\n - _state: statusFilter\n - all\n - _eq:\n - _item: status\n - _state: statusFilter\n blocks:\n - id: ai-workspace-shell\n type: PageLayout\n props:\n title: Agent Run Console\n appearance: admin\n routes:\n - label: Agent Run Console\n href: /agent-run-console\n children:\n - id: ai-ops-root\n type: Box\n props:\n className: mx-auto flex max-w-6xl flex-col gap-6 p-6\n children:\n - id: ai-ops-header\n type: Box\n props:\n className: flex flex-wrap items-center justify-between gap-3\n children:\n - id: ai-ops-heading-group\n type: Box\n props:\n className: flex flex-col gap-1\n children:\n - id: ai-ops-title\n type: Heading\n props:\n level: 1\n text: Agent run console\n - id: ai-ops-subtitle\n type: Paragraph\n props:\n muted: true\n size: sm\n text: Monitor live agent executions, inspect tool failures, and intervene with\n the embedded operator copilot.\n - id: ai-ops-trigger-btn\n type: Button\n props:\n label: Trigger test run\n size: sm\n events:\n onClick:\n - action: Request\n params:\n connectionId: agent-runs-db\n request:\n id: insert-agent-run\n connectionId: agent-runs-db\n payload:\n operation: InsertOne\n data:\n title:\n _state: newRunTitle\n status: completed\n model:\n _state: newRunModel\n score: 94 / 100\n latencyMs: 920 ms\n summary: Triggered from Agent run console demonstration toolbar.\n loadingPath: loading\n errorPath: uiError\n onSuccess:\n - action: Request\n params:\n connectionId: agent-runs-db\n request:\n id: find-agent-runs\n connectionId: agent-runs-db\n payload:\n operation: Find\n responsePath: rows\n loadingPath: loading\n errorPath: uiError\n - id: ai-ops-stats\n type: Box\n props:\n className: grid gap-4 sm:grid-cols-3\n children:\n - id: ai-stat-pass\n type: Stat\n props:\n label: Completion rate\n value: 96.4%\n change: +1.8%\n trend: up\n - id: ai-stat-latency\n type: Stat\n props:\n label: Median latency\n value: 1.12 s\n change: -140 ms\n trend: down\n - id: ai-stat-guard\n type: Stat\n props:\n label: Guardrail intercepts\n value: \"1\"\n description: Pending review\n - id: ai-ops-filter\n type: Form.Select\n props:\n name: statusFilter\n label: Execution status\n value:\n _bindState: statusFilter\n options:\n - value: all\n label: All runs\n - value: running\n label: Running\n - value: completed\n label: Completed\n - value: failed\n label: Failed\n - id: ai-ops-table\n type: DataTable\n props:\n label: Agent runs\n rowKey: id\n searchable: true\n searchPlaceholder: Filter runs by title or model…\n searchKeys:\n - id\n - title\n - model\n - status\n columns:\n - key: id\n label: Run ID\n - key: title\n label: Task\n - key: model\n label: Model\n - key: status\n label: Status\n - key: latencyMs\n label: Latency\n - key: score\n label: Eval score\n rows:\n _computed: filteredRuns\n - id: ai-ops-chat\n type: ChatWorkspace\n props:\n bindingId: agent-console\n variant: focused\n title: Run operator copilot\n showSuggestions: true\n previewState: ready\n",
|
|
19
|
+
"type": "registry:lib"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"path": "lib/uibot/templates/agent-run-console.uibot.json",
|
|
23
|
+
"target": "lib/uibot/templates/agent-run-console.uibot.json",
|
|
24
|
+
"content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"agent-run-console\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"agent-run-console.uibot.yaml\",\n \"contract\": {\n \"name\": \"agent-run-console\",\n \"description\": \"AI operations console combining Collection-backed agent run telemetry, status filtering, and an embedded operator ChatWorkspace.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"agent-run-console\",\n \"智能体运行监控台\",\n \"Agent run console\",\n \"chat\",\n \"tasks\",\n \"copilot\",\n \"execution\"\n ],\n \"composedFrom\": [\n \"PageLayout\",\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Button\",\n \"Stat\",\n \"Form.Select\",\n \"DataTable\",\n \"ChatWorkspace\"\n ]\n }\n }\n}\n",
|
|
25
|
+
"type": "registry:lib"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"meta": {
|
|
29
|
+
"uibot": {
|
|
30
|
+
"schema": "uibot.registry.item.v1",
|
|
31
|
+
"item": "agent-run-console",
|
|
32
|
+
"channel": "public",
|
|
33
|
+
"template": {
|
|
34
|
+
"file": "agent-run-console.uibot.yaml",
|
|
35
|
+
"contract": {
|
|
36
|
+
"name": "agent-run-console",
|
|
37
|
+
"description": "AI operations console combining Collection-backed agent run telemetry, status filtering, and an embedded operator ChatWorkspace.",
|
|
38
|
+
"level": "L4",
|
|
39
|
+
"category": "page",
|
|
40
|
+
"keywords": [
|
|
41
|
+
"agent-run-console",
|
|
42
|
+
"智能体运行监控台",
|
|
43
|
+
"Agent run console",
|
|
44
|
+
"chat",
|
|
45
|
+
"tasks",
|
|
46
|
+
"copilot",
|
|
47
|
+
"execution"
|
|
48
|
+
],
|
|
49
|
+
"composedFrom": [
|
|
50
|
+
"PageLayout",
|
|
51
|
+
"Box",
|
|
52
|
+
"Heading",
|
|
53
|
+
"Paragraph",
|
|
54
|
+
"Button",
|
|
55
|
+
"Stat",
|
|
56
|
+
"Form.Select",
|
|
57
|
+
"DataTable",
|
|
58
|
+
"ChatWorkspace"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|