You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: refactor widget configuration and data handling
- Updated PivotTableWidget to use new field reference handling and improved computed properties for row, column, and value fields.
- Enhanced TableWidget to support field references in column definitions.
- Modified dashboard endpoint to ensure proper response formatting.
- Improved widget schema to include new field reference and query configurations.
- Refactored widget configuration validation to accommodate new query structures.
- Updated widget data service to handle funnel queries and improved data aggregation logic.
- Added support for new filter expressions and aggregation operations in the widget data service.
| `kpi_card` | `kpi_card` | `value_field`, `label_field`, `prefix`, `suffix` | Reads aggregate values or the first returned row from `data_source`. |
43
-
| `gauge_card` | `gauge_card` | `value_field`, `min`, `max`, `min_field`, `max_field`, `suffix`, `color` | Reads aggregate values or the first returned row from `data_source` and renders progress between static or field-driven bounds. |
`resource_id` is an AdminForth `resourceId`. The data source is executed through AdminForth resources, so widgets use the same resource contracts as the rest of the application.
0 commit comments