From 4bd3ecbcf26391b1d85309c3f31b503102240417 Mon Sep 17 00:00:00 2001 From: Ivan Mikheykin Date: Thu, 13 Aug 2020 14:23:25 +0300 Subject: [PATCH] fix: plugin.json fields and relative links in README.md --- README.md | 8 ++++---- dist/README.md | 8 ++++---- dist/plugin.json | 5 +++-- src/plugin.json | 5 +++-- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a72d4f8..8d4f669 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ __Rows sort__ can be used to sort labels on Y axis. Metrics — sort y labels a #### Pagination -![Pagination controls](src/img/pagination-graph.png) +![Pagination controls](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/pagination-graph.png) __Enable pagination__ toggles pagination controls on graph. @@ -192,7 +192,7 @@ __Rows per page__ a number of rows to display on graph. #### Tooltip -![Tooltip in frozen state](src/img/tooltip-frozen.png) +![Tooltip in frozen state](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/tooltip-frozen.png) __Show tooltip__ toggles tooltip display on mouse over buckets. @@ -204,7 +204,7 @@ __Items__ is a list of definitions to display URLs in tooltip. Each URL has a template, icon, label and formating options: lowercase and date format for variables. -![Tooltip items editor](src/img/tooltip-editor.png) +![Tooltip items editor](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/tooltip-editor.png) ## Development @@ -215,7 +215,7 @@ the directory containing Statusmap plugin): docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \ -p 3000:3000 --name grafana.docker \ --env=GF_USERS_DEFAULT_THEME=light \ - grafana/grafana:5.1.3 + grafana/grafana:7.1.3 ``` This will expose local plugin from your machine to Grafana container. Now run `grunt` to compile diff --git a/dist/README.md b/dist/README.md index a72d4f8..8d4f669 100644 --- a/dist/README.md +++ b/dist/README.md @@ -184,7 +184,7 @@ __Rows sort__ can be used to sort labels on Y axis. Metrics — sort y labels a #### Pagination -![Pagination controls](src/img/pagination-graph.png) +![Pagination controls](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/pagination-graph.png) __Enable pagination__ toggles pagination controls on graph. @@ -192,7 +192,7 @@ __Rows per page__ a number of rows to display on graph. #### Tooltip -![Tooltip in frozen state](src/img/tooltip-frozen.png) +![Tooltip in frozen state](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/tooltip-frozen.png) __Show tooltip__ toggles tooltip display on mouse over buckets. @@ -204,7 +204,7 @@ __Items__ is a list of definitions to display URLs in tooltip. Each URL has a template, icon, label and formating options: lowercase and date format for variables. -![Tooltip items editor](src/img/tooltip-editor.png) +![Tooltip items editor](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/tooltip-editor.png) ## Development @@ -215,7 +215,7 @@ the directory containing Statusmap plugin): docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \ -p 3000:3000 --name grafana.docker \ --env=GF_USERS_DEFAULT_THEME=light \ - grafana/grafana:5.1.3 + grafana/grafana:7.1.3 ``` This will expose local plugin from your machine to Grafana container. Now run `grunt` to compile diff --git a/dist/plugin.json b/dist/plugin.json index df0c379..a40dc68 100644 --- a/dist/plugin.json +++ b/dist/plugin.json @@ -24,11 +24,12 @@ {"name": "Color mapping", "path": "img/color-mapping.png"}, {"name": "Queries example", "path": "img/queries-example.png"} ], - "version": "0.3.1", - "updated": "2020-07-21" + "version": "0.3.2", + "updated": "2020-08-13" }, "dependencies": { + "grafanaDependency": ">=5.4.3", "grafanaVersion": "5.4.x", "plugins": [ ] } diff --git a/src/plugin.json b/src/plugin.json index df0c379..a40dc68 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -24,11 +24,12 @@ {"name": "Color mapping", "path": "img/color-mapping.png"}, {"name": "Queries example", "path": "img/queries-example.png"} ], - "version": "0.3.1", - "updated": "2020-07-21" + "version": "0.3.2", + "updated": "2020-08-13" }, "dependencies": { + "grafanaDependency": ">=5.4.3", "grafanaVersion": "5.4.x", "plugins": [ ] }