Update data source editor copy

This commit is contained in:
2026-01-18 18:32:55 +00:00
parent 91969e8494
commit 03cc955d20
40 changed files with 653 additions and 903 deletions

View File

@@ -39,9 +39,13 @@
},
{
"id": "trends",
"type": "computed",
"compute": "(data) => ({ filesGrowth: 12, modelsGrowth: -3, componentsGrowth: 8, testsGrowth: 15 })",
"dependencies": ["metrics"]
"type": "static",
"defaultValue": {
"filesGrowth": 12,
"modelsGrowth": -3,
"componentsGrowth": 8,
"testsGrowth": 15
}
}
],
"components": [

View File

@@ -25,9 +25,12 @@
},
{
"id": "filteredFiles",
"type": "computed",
"compute": "(data) => {\n if (!data.searchQuery) return data.files;\n return data.files.filter(f => f.name.toLowerCase().includes(data.searchQuery.toLowerCase()));\n}",
"dependencies": ["files", "searchQuery"]
"type": "static",
"expression": "data.files",
"dependencies": [
"files",
"searchQuery"
]
}
],
"components": [