QueryEditorRow: Show query errors next to query in a consistent way across Grafana (#47613)

* Show query errors under each query row

* Testing a more plain error box

* Font size

* Make it green

* Nit UI

* Slight simplification of condition

* New design

* Update

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
Torkel Ödegaard
2022-04-14 12:57:56 +02:00
committed by GitHub
co-authored by Dominik Prokop
parent c8189e4808
commit 6f31a69bfd
11 changed files with 86 additions and 30 deletions
@@ -468,7 +468,7 @@ export interface DataQueryError {
error?: string;
};
message?: string;
status?: string;
status?: number;
statusText?: string;
refId?: string;
type?: DataQueryErrorType;
+1
View File
@@ -69,6 +69,7 @@ export const getAvailableIcons = () =>
'envelope',
'exchange-alt',
'exclamation-triangle',
'exclamation-circle',
'external-link-alt',
'eye',
'eye-slash',