Skip to content

Commit b59effc

Browse files
committed
Update documentation
1 parent 7a2ccab commit b59effc

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

doc/backlog.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,29 @@
1111
again if previously empty. Improve that.
1212
- Propagate errors from InfluxDB like "GROUP BY requires at least one aggregate function"
1313
when having "GROUP BY time ($__interval)" in query.
14+
- Display "Ignore empty geohash values" conditionally
15+
- Improve security for "Use request parameters prefixed with `panel-` to optionally override the
16+
respective panel control options." @ec37a628 by adding an appropriate enable/disable control option.
17+
- Check if `panel-` request variables are getting interpolated. They shouldn't.
18+
- Add indicators about obligatory form fields in editor view, depending on selected options.
19+
- Use drilldown / detail linking like outlined at https://grafana.com/docs/features/panels/graph/#drilldown-detail-link
20+
- Check if escape key disabling can be outsourced to a HTML panel
21+
https://grafana.com/docs/installation/configuration/#disable-sanitize-html
22+
- The contrast of the text on the red tooltip drop isn't that great. Maybe use black or white, at least for the light theme.
23+
- Does data autofitting work when changing dashboard variables?
1424

1525
## Documentation
26+
- Note about installation
27+
grafana-cli --pluginUrl https://github.com/hiveeyes/grafana-worldmap-panel/archive/0.3.0-dev4.zip plugins install grafana-worldmap-panel
1628
- Add documentation about table+json and table+jsonp
1729
- https://community.grafana.com/t/influxdb-and-grafana-plugin-worldmap-panel/16761
1830
- Add note about variable interpolation to user interface
1931
- Document the Makefile and how to run this in a sandbox
32+
- https://community.grafana.com/t/world-map-panel/16871
2033

2134
## Prio 2
22-
- Add variable interpolation like `$point_station_id` also to other data sources != "table"
35+
- Sliders for things like circle parameters.
36+
- Add variable interpolation like `$__field_station_id` also to other data sources != "table"
2337
- Think about introducing a panel-wide "Ignore decoding errors" control option
2438
in order to compensate for anything in decoding machinery of the
2539
`DataFormatter.setXXXValues` methods from where the shit might hit the fan.
@@ -65,6 +79,11 @@
6579
- Optionally open link in new or named window
6680
- Convenience checkbox "Add complete dataPoint as query parameters"
6781
- Review: Currently, only "valueRounded is displayed"
82+
- When reintegrating TrackMap functionality, put layer style into control options
83+
- OpenStreetMap
84+
- OpenTopoMap
85+
- Satellite
86+
See also https://weather.hiveeyes.org/grafana/d/KdNMBfhiz/ratrack-tonke
6887

6988
## Prio 3
7089
- Something might still be fishy with circle sizes.
@@ -95,3 +114,11 @@
95114
- Completely proxy all accesses to self.panel through self.settings
96115
- Remove overloading of labelField for table+json location source
97116
- When switching from JSON to JSONP, the location list will not get cleared out.
117+
118+
119+
## Release
120+
```
121+
cd /srv/packages/organizations/hiveeyes/grafana/grafana-worldmap-panel
122+
wget https://github.com/hiveeyes/grafana-worldmap-panel/archive/0.3.0-dev4.zip
123+
grafana-cli --repo https://packages.hiveeyes.org/grafana/ plugins install grafana-worldmap-panel
124+
```

src/data_formatter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ export default class DataFormatter {
288288
let highestValue = 0;
289289
let lowestValue = Number.MAX_VALUE;
290290

291+
// Todo: Using hardcoded `tableData[0]` means
292+
// this will only use the first active query?
291293
tableData[0].forEach(datapoint => {
292294
let key;
293295
let longitude;

0 commit comments

Comments
 (0)