DataSourcePlugin: support custom tabs (#16859)

* use ConfigEditor

* add tabs

* add tabs

* set the nav in state

* remove actions

* reorder imports

* catch plugin loading errors

* better text

* keep props

* fix typo

* update snapshot

* rename tab to page

* add missing pages
This commit is contained in:
Ryan McKinley
2019-05-13 22:55:49 -07:00
committed by Torkel Ödegaard
parent 1001cd7ac3
commit a87a763d83
14 changed files with 301 additions and 306 deletions

View File

@@ -110,6 +110,7 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
})
.when('/datasources/edit/:id/', {
template: '<react-container />',
reloadOnSearch: false, // for tabs
resolve: {
component: () => DataSourceSettingsPage,
},