mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Visualizations: Dynamically set any config (min, max, unit, color, thresholds) from query results (#36548)
* initial steps for config from data * Moving to core and separate transforms * Progress * Rows to fields are starting to work * Config from query transform working * UI progress * More scenarios working * Update public/app/core/components/TransformersUI/rowsToFields/rowsToFields.ts Co-authored-by: Ryan McKinley <ryantxu@gmail.com> * transform all * Refactor * UI starting to work * Add matcher UI to transform * Apply to self * Adding a reducer option * Value mapping via new all values reducer * value mappings workg add -A * Minor changes * Improving UI and adding test dashboards * RowsToFieldsTransformerEditor tests * Added tests for FieldToConfigMapping Editor * Added test for ConfigFromQueryTransformerEditor * Minor UI tweaks * Added missing test * Added label extraction * unified mapping * Progress refactoring * Updates * UI tweaks * Rename * Updates Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
@@ -13,15 +13,7 @@ export const PluginStateInfo: FC<Props> = (props) => {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<Badge
|
||||
color={display.color}
|
||||
title={display.tooltip}
|
||||
text={display.text}
|
||||
icon={display.icon}
|
||||
tooltip={display.tooltip}
|
||||
/>
|
||||
);
|
||||
return <Badge color={display.color} title={display.tooltip} text={display.text} icon={display.icon} />;
|
||||
};
|
||||
|
||||
function getFeatureStateInfo(state?: PluginState): BadgeProps | null {
|
||||
|
||||
Reference in New Issue
Block a user