mirror of https://github.com/abpframework/abp.git
Browse Source
Flatten dashboard and form descriptor schemas for identity-keyed placements, remove the obsolete dashboard row schema, and allow constant string indexer access in AbpDynamicSortingGuard so low-code dynamic sorting works with property bags. Co-authored-by: Cursor <cursoragent@cursor.com>pull/25637/head
10 changed files with 165 additions and 118 deletions
@ -1,37 +0,0 @@ |
|||||
{ |
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema", |
|
||||
"$id": "dashboard-row-descriptor.schema.json", |
|
||||
"title": "DashboardRowDescriptor", |
|
||||
"description": "Describes one row in the dashboard layout grid. Each row contains one or two visualization items.", |
|
||||
"markdownDescription": "AI guidance: organize dashboard visualizations into rows by visual importance. Use one item for a full-width chart/list/number panel, and two items when related visualizations should be displayed side by side. Do not put more than two visualizations in a row; create another row instead.", |
|
||||
"type": "object", |
|
||||
"properties": { |
|
||||
"items": { |
|
||||
"type": "array", |
|
||||
"description": "Visualization items in this row. Use one item for full-width content or two items for a two-column row.", |
|
||||
"items": { |
|
||||
"$ref": "dashboard-visualization-descriptor.schema.json" |
|
||||
}, |
|
||||
"minItems": 1, |
|
||||
"maxItems": 2 |
|
||||
} |
|
||||
}, |
|
||||
"required": ["items"], |
|
||||
"additionalProperties": false, |
|
||||
"examples": [ |
|
||||
{ |
|
||||
"items": [ |
|
||||
{ |
|
||||
"name": "overview", |
|
||||
"type": "numberContainer", |
|
||||
"title": "Overview", |
|
||||
"numberContainer": { |
|
||||
"items": [ |
|
||||
{ "name": "total-records", "title": "Total Records", "entityName": "Acme.Events.Event", "aggregation": "count" } |
|
||||
] |
|
||||
} |
|
||||
} |
|
||||
] |
|
||||
} |
|
||||
] |
|
||||
} |
|
||||
Loading…
Reference in new issue