Skip to content

Commit

Permalink
Add Screenshot and update README, CHANGELOG (#20)
Browse files Browse the repository at this point in the history
* Add Screenshot and update README, CHANGELOG

* Update Dashboard
  • Loading branch information
mikhail-vl authored May 11, 2022
1 parent d25b990 commit f681077
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

## 1.0.0 (IN PROGRESS)
## 1.0.0 (2022-05-11)

### Features / Enhancements

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Custom form panel plugin for Grafana

![Form Panel](https://raw.githubusercontent.com/volkovlabs/volkovlabs-form-panel/main/src/img/form-panel.png)

[![Grafana 8](https://img.shields.io/badge/Grafana-8-orange)](https://www.grafana.com)
![CI](https://github.com/volkovlabs/volkovlabs-form-panel/workflows/CI/badge.svg)
[![codecov](https://codecov.io/gh/VolkovLabs/volkovlabs-form-panel/branch/main/graph/badge.svg?token=0m6f0ktUar)](https://codecov.io/gh/VolkovLabs/volkovlabs-form-panel)
Expand Down
70 changes: 67 additions & 3 deletions provisioning/dashboards/panels.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,14 @@
],
"title": "Radio",
"type": "radio",
"value": "minus"
"value": "plus"
},
{
"id": "text",
"rows": 4,
"title": "Text",
"type": "textarea",
"value": "Text"
"value": "The Custom Form Panel is a plugin for Grafana that allow to create customizable forms."
},
{
"id": "dateTime",
Expand Down Expand Up @@ -261,6 +261,70 @@
},
"title": "Custom Form",
"type": "volkovlabs-form-panel"
},
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 12,
"w": 9,
"x": 9,
"y": 6
},
"id": 12,
"options": {
"buttonGroup": {
"orientation": "center",
"size": "lg"
},
"initial": {
"code": "console.log(response)",
"contentType": "application/json",
"method": "GET",
"url": "http://localhost:3001"
},
"parameters": [
{
"id": "first",
"title": "First",
"type": "datetime"
},
{
"id": "second",
"title": "Second",
"type": "textarea"
},
{
"id": "third",
"title": "Third",
"type": "boolean"
}
],
"reset": {
"backgroundColor": "purple",
"foregroundColor": "yellow",
"icon": "process",
"text": "Reset",
"variant": "hidden"
},
"submit": {
"backgroundColor": "purple",
"foregroundColor": "yellow",
"icon": "cloud-upload",
"text": "Submit",
"variant": "destructive"
},
"update": {
"code": "console.log(response)",
"contentType": "application/json",
"method": "POST",
"url": "http://localhost:3001"
}
},
"title": "Custom Form",
"type": "volkovlabs-form-panel"
}
],
"refresh": "",
Expand All @@ -278,6 +342,6 @@
"timezone": "",
"title": "Panels",
"uid": "O4tc_E6Gz",
"version": 16,
"version": 18,
"weekStart": ""
}
Binary file added src/img/form-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f681077

Please sign in to comment.