Correlations: Add CorrelationSettings Page (#53821)

* GrafanaUI: add option to close DeleteButton on confirm click

* add datasource readOnly info to frontend settings

* move isTruthy utility type guard

* add generic non-visualization table component

* Add correlations settings page

* add missing readOnly in mock

* Fix typo

* avoid reloading correlations after add/remove

* use DeepPartial from rhf

* validate source data source

* fix validation logic

* fix navmodel test

* add missing readonly property

* remove unused styles

* handle multiple clicks on elements

* better UX for loading states

* fix remove handler

* add glue icon
This commit is contained in:
Giordano Ricci
2022-08-26 11:27:28 +01:00
committed by GitHub
parent 37fde2eec6
commit c68d7f1e35
51 changed files with 1307 additions and 8 deletions

View File

@ -220,6 +220,7 @@ type DataSourceDTO struct {
Preload bool `json:"preload"`
Module string `json:"module,omitempty"`
JSONData map[string]interface{} `json:"jsonData"`
ReadOnly bool `json:"readOnly"`
BasicAuth string `json:"basicAuth,omitempty"`
WithCredentials bool `json:"withCredentials,omitempty"`