Remove computed data sources

This commit is contained in:
2026-01-18 17:54:28 +00:00
parent a718aca6f5
commit b57c4014ca
40 changed files with 326 additions and 486 deletions
+3 -9
View File
@@ -1,7 +1,7 @@
{
"header": {
"title": "Data Binding Designer",
"description": "Connect UI components to KV storage and computed values"
"description": "Connect UI components to KV storage and static values"
},
"bindingsCard": {
"title": "Component Bindings",
@@ -13,7 +13,6 @@
"title": "How It Works",
"steps": [
"Create data sources (KV store for persistence, static for constants)",
"Add computed sources to derive values from other sources",
"Bind component properties to data sources for reactive updates"
]
},
@@ -33,12 +32,6 @@
"type": "kv",
"key": "app-counter",
"defaultValue": 0
},
{
"id": "displayName",
"type": "computed",
"dependencies": ["userProfile"],
"computeId": "displayName"
}
],
"components": [
@@ -50,7 +43,8 @@
},
"bindings": {
"children": {
"source": "displayName"
"source": "userProfile",
"path": "name"
}
}
},
+1 -9
View File
@@ -1,6 +1,6 @@
{
"title": "Edit Data Source",
"description": "Configure the data source settings and dependencies",
"description": "Configure the data source settings",
"fields": {
"id": {
"label": "ID",
@@ -18,14 +18,6 @@
"valueLabel": "Value (JSON)",
"valuePlaceholder": "{\"key\": \"value\"}"
},
"computed": {
"computeLabel": "Compute Function",
"computePlaceholder": "(data) => data.source1 + data.source2",
"computeHelp": "Function that computes the value from other data sources",
"dependenciesLabel": "Dependencies",
"availableSourcesLabel": "Available Sources",
"emptyDependencies": "No data sources available. Create KV or static sources first."
},
"actions": {
"cancel": "Cancel",
"save": "Save Changes"
+2 -6
View File
@@ -1,14 +1,13 @@
{
"header": {
"title": "Data Sources",
"description": "Manage KV storage, computed values, and static data"
"description": "Manage KV storage and static data"
},
"actions": {
"add": "Add Data Source"
},
"menu": {
"kv": "KV Store",
"computed": "Computed Value",
"static": "Static Data"
},
"emptyState": {
@@ -17,12 +16,9 @@
},
"groups": {
"kv": "KV Store",
"static": "Static Data",
"computed": "Computed Values"
"static": "Static Data"
},
"toasts": {
"deleteBlockedTitle": "Cannot delete",
"deleteBlockedDescription": "This source is used by {count} computed {noun}",
"deleted": "Data source deleted",
"updated": "Data source updated"
}