Skip to content

Commit 6e1d234

Browse files
committed
Release 0.3.0-dev5
1 parent a888d95 commit 6e1d234

File tree

4 files changed

+32
-24
lines changed

4 files changed

+32
-24
lines changed

dist/CHANGELOG.md

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,43 @@
22

33
## v0.3.0-dev
44

5-
- Add new mapping options "table+json" and "table+jsonp" to retrieve
5+
- Add new mapping options `table+json` and `table+jsonp` to retrieve
66
location information from JSON endpoint, even for table data.
7-
The lookup key is the value from the obtained "labelField".
8-
- Add "autoPanLabels" and "autoWidthLabels" to visual option settings.
9-
- Add "zoomControl" and "attributionControl" to visual option settings.
7+
The lookup key is the value obtained from the database field
8+
designated by `tableQueryOptions.labelLocationKeyField`.
9+
- Add `autoPanLabels` and `autoWidthLabels` to visual option settings.
10+
- Add `zoomControl` and `attributionControl` to visual option settings.
1011
- Optionally display legend in different DOM element.
1112
- Increase form field width for JSON endpoint url settings.
1213
- Fix conditional table options display in settings editor.
13-
- Add "showTableOptions()" conditional for signalling any type of table source.
14+
- Add `showTableOptions()` conditional for signalling any type of table source.
1415
- Add software tests covering new control options
15-
- locationData: "table+json(p)"
16-
- showZoomControl: false
17-
- showAttribution: false
18-
- legendContainerSelector: ".shared-map-legend"
19-
- Add Makefile for macOS/Homebrew.
20-
- Fix popover labels text color for light theme (#169). Thanks, [@dtheb](https://github.com/dtheb).
21-
- Add clickthrough option for circles, use fixed url (#129). Thanks, [@ryft](https://github.com/ryft).
22-
- Add clickthrough option for circles, use urls from data (#190). Thanks, [@leonhardhaas](https://github.com/leonhardhaas).
16+
- `locationData: "table+json"`
17+
- `showZoomControl: false`
18+
- `showAttribution: false`
19+
- `legendContainerSelector`
20+
- Add `Makefile` for macOS/Homebrew.
21+
- Fix popover labels text color for light theme ([#169](https://github.com/grafana/worldmap-panel/issues/169)).
22+
Thanks, [@dtheb](https://github.com/dtheb).
23+
- Add clickthrough option for circles, use fixed url ([#129](https://github.com/grafana/worldmap-panel/pull/129)).
24+
Thanks, [@ryft](https://github.com/ryft).
25+
- Add clickthrough option for circles, use urls from data ([#190](https://github.com/grafana/worldmap-panel/pull/190)).
26+
Thanks, [@leonhardhaas](https://github.com/leonhardhaas).
2327
- Combine both clickthrough link implementations #129 and #190,
2428
add basic variable interpolation based on keys from `dataPoint`.
2529
- Introduce the regular Grafana templating mechanism for interpolating variables
2630
into clickthrough links. As we are now interpolating dashboard **and** `dataPoint`
27-
variables, the latter one will get prefixed with "point_" to avoid collisions.
31+
variables, the latter one will get prefixed with `__field_` to avoid collisions.
2832
- Apply Grafana-style variable interpolation to **all** panel settings.
2933
- Add query parameters into the interpolation dictionary, prefixed by `request_`.
3034
- Use request parameters prefixed with "panel-" to optionally override the
3135
respective control options.
3236
- Improve map center control handling.
33-
- Improve clickthroughURL interpolation.
34-
- Add control option `clickthroughOptions.windowName`
35-
to open clickthrough target in designated window.
36-
- Improve centering on “Last Geohash
37-
- Add support for "First Geohash" centering (#156). Thanks, Fabien.
37+
- Improve `clickthroughUrl` interpolation.
38+
- Add control option `clickthroughOptions.windowName` to open clickthrough target in designated window.
39+
- Improve centering on `Last Geohash`.
40+
- Add support for `First Geohash` centering ([#156](https://github.com/grafana/worldmap-panel/pull/156)).
41+
Thanks, [@fabienpomerol](https://github.com/fabienpomerol).
3842
- Add control options `mapFitData` and `mapZoomByRadius`.
3943
- Repaint user interface.
4044
- Refactor machinery and user interface.
@@ -43,6 +47,7 @@
4347
- Add `hideTimepickerNavigation` option.
4448
- Add `circleOptions.strokeEnabled` and `circleOptions.strokeWeight`.
4549
- Add options `customAttribution` and `customAttributionText`.
50+
- Rename `point_` prefix to `__field_` when interpolating datapoint field values
4651

4752
## v0.2.0
4853

dist/module.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/partials/editor.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,11 @@ <h5>Popup labels</h5>
446446
<div class="gf-form-group">
447447
<h5>Clickthrough links</h5>
448448
<div class="gf-form">
449-
<label class="gf-form-label width-10">Clickthrough URL</label>
450-
<input type="text" class="input-small gf-form-input width-20" ng-model="ctrl.panel.clickthroughUrl" ng-change="ctrl.refresh()" ng-model-onblur />
449+
<label class="gf-form-label width-10">
450+
Clickthrough URL
451+
<i class="grafana-tip fa fa-question-circle" bs-tooltip="'Address field values by prefixing $__field, e.g. $__field_geohash'"></i>
452+
</label>
453+
<input type="text" class="input-small gf-form-input width-20" ng-model="ctrl.panel.clickthroughUrl" ng-change="ctrl.refresh()" ng-model-onblur/>
451454
</div>
452455
<div class="gf-form">
453456
<label class="gf-form-label width-10">Clickthrough Window</label>

0 commit comments

Comments
 (0)