|
|
@@ -11,11 +11,9 @@ exports[`Render should render alpha info text 1`] = `
|
|
|
<form
|
|
|
onSubmit={[Function]}
|
|
|
>
|
|
|
- <div
|
|
|
- className="grafana-info-box"
|
|
|
- >
|
|
|
- This plugin is marked as being in alpha state, which means it is in early development phase and updates will include breaking changes.
|
|
|
- </div>
|
|
|
+ <PluginStateinfo
|
|
|
+ state="alpha"
|
|
|
+ />
|
|
|
<BasicSettings
|
|
|
dataSourceName="gdev-cloudwatch"
|
|
|
isDefault={false}
|
|
|
@@ -49,6 +47,7 @@ exports[`Render should render alpha info text 1`] = `
|
|
|
}
|
|
|
dataSourceMeta={
|
|
|
Object {
|
|
|
+ "baseUrl": "path/to/plugin",
|
|
|
"defaultNavUrl": "some/url",
|
|
|
"enabled": false,
|
|
|
"hasUpdate": false,
|
|
|
@@ -78,11 +77,11 @@ exports[`Render should render alpha info text 1`] = `
|
|
|
"version": "1",
|
|
|
},
|
|
|
"latestVersion": "1",
|
|
|
- "module": Object {},
|
|
|
+ "module": "path/to/module",
|
|
|
"name": "pretty cool plugin 1",
|
|
|
"pinned": false,
|
|
|
"state": "alpha",
|
|
|
- "type": "",
|
|
|
+ "type": "panel",
|
|
|
}
|
|
|
}
|
|
|
onModelChange={[Function]}
|
|
|
@@ -113,11 +112,9 @@ exports[`Render should render beta info text 1`] = `
|
|
|
<form
|
|
|
onSubmit={[Function]}
|
|
|
>
|
|
|
- <div
|
|
|
- className="grafana-info-box"
|
|
|
- >
|
|
|
- This plugin is marked as being in a beta development state. This means it is in currently in active development and could be missing important features.
|
|
|
- </div>
|
|
|
+ <PluginStateinfo
|
|
|
+ state="beta"
|
|
|
+ />
|
|
|
<BasicSettings
|
|
|
dataSourceName="gdev-cloudwatch"
|
|
|
isDefault={false}
|
|
|
@@ -151,6 +148,7 @@ exports[`Render should render beta info text 1`] = `
|
|
|
}
|
|
|
dataSourceMeta={
|
|
|
Object {
|
|
|
+ "baseUrl": "path/to/plugin",
|
|
|
"defaultNavUrl": "some/url",
|
|
|
"enabled": false,
|
|
|
"hasUpdate": false,
|
|
|
@@ -180,11 +178,11 @@ exports[`Render should render beta info text 1`] = `
|
|
|
"version": "1",
|
|
|
},
|
|
|
"latestVersion": "1",
|
|
|
- "module": Object {},
|
|
|
+ "module": "path/to/module",
|
|
|
"name": "pretty cool plugin 1",
|
|
|
"pinned": false,
|
|
|
"state": "beta",
|
|
|
- "type": "",
|
|
|
+ "type": "panel",
|
|
|
}
|
|
|
}
|
|
|
onModelChange={[Function]}
|
|
|
@@ -215,6 +213,7 @@ exports[`Render should render component 1`] = `
|
|
|
<form
|
|
|
onSubmit={[Function]}
|
|
|
>
|
|
|
+ <PluginStateinfo />
|
|
|
<BasicSettings
|
|
|
dataSourceName="gdev-cloudwatch"
|
|
|
isDefault={false}
|
|
|
@@ -248,6 +247,7 @@ exports[`Render should render component 1`] = `
|
|
|
}
|
|
|
dataSourceMeta={
|
|
|
Object {
|
|
|
+ "baseUrl": "path/to/plugin",
|
|
|
"defaultNavUrl": "some/url",
|
|
|
"enabled": false,
|
|
|
"hasUpdate": false,
|
|
|
@@ -277,11 +277,10 @@ exports[`Render should render component 1`] = `
|
|
|
"version": "1",
|
|
|
},
|
|
|
"latestVersion": "1",
|
|
|
- "module": Object {},
|
|
|
+ "module": "path/to/module",
|
|
|
"name": "pretty cool plugin 1",
|
|
|
"pinned": false,
|
|
|
- "state": "",
|
|
|
- "type": "",
|
|
|
+ "type": "panel",
|
|
|
}
|
|
|
}
|
|
|
onModelChange={[Function]}
|
|
|
@@ -317,6 +316,7 @@ exports[`Render should render is ready only message 1`] = `
|
|
|
>
|
|
|
This datasource was added by config and cannot be modified using the UI. Please contact your server admin to update this datasource.
|
|
|
</div>
|
|
|
+ <PluginStateinfo />
|
|
|
<BasicSettings
|
|
|
dataSourceName="gdev-cloudwatch"
|
|
|
isDefault={false}
|
|
|
@@ -350,6 +350,7 @@ exports[`Render should render is ready only message 1`] = `
|
|
|
}
|
|
|
dataSourceMeta={
|
|
|
Object {
|
|
|
+ "baseUrl": "path/to/plugin",
|
|
|
"defaultNavUrl": "some/url",
|
|
|
"enabled": false,
|
|
|
"hasUpdate": false,
|
|
|
@@ -379,11 +380,10 @@ exports[`Render should render is ready only message 1`] = `
|
|
|
"version": "1",
|
|
|
},
|
|
|
"latestVersion": "1",
|
|
|
- "module": Object {},
|
|
|
+ "module": "path/to/module",
|
|
|
"name": "pretty cool plugin 1",
|
|
|
"pinned": false,
|
|
|
- "state": "",
|
|
|
- "type": "",
|
|
|
+ "type": "panel",
|
|
|
}
|
|
|
}
|
|
|
onModelChange={[Function]}
|