From b4f12b086b1c080155c41b2aadfb742475ec6266 Mon Sep 17 00:00:00 2001 From: Hunter Trujillo Date: Thu, 17 Aug 2017 16:07:14 -0600 Subject: [PATCH 1/2] Fix QueryMaker not updating query time range when a the time range was changed through the time range dropdown. --- ui/src/data_explorer/components/QueryMaker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/data_explorer/components/QueryMaker.js b/ui/src/data_explorer/components/QueryMaker.js index 66ceb3609..09410d432 100644 --- a/ui/src/data_explorer/components/QueryMaker.js +++ b/ui/src/data_explorer/components/QueryMaker.js @@ -10,7 +10,7 @@ const rawTextBinder = (links, id, action) => text => action(links.queries, id, text) const buildText = (q, timeRange) => - q.rawText || buildInfluxQLQuery(q.range || timeRange, q) || '' + q.rawText || buildInfluxQLQuery(timeRange, q) || '' const QueryMaker = ({ source, From 9cfd6bf4af926deea6bdaebb28f33306b8ac3d07 Mon Sep 17 00:00:00 2001 From: Hunter Trujillo Date: Thu, 17 Aug 2017 16:12:41 -0600 Subject: [PATCH 2/2] Changelog. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53d2e2fd8..16accb2df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ 1. [#1864](https://github.com/influxdata/chronograf/pull/1864): Fix Write Data form upload button and add `onDragExit` handler 1. [#1891](https://github.com/influxdata/chronograf/pull/1891): Fix Kapacitor config for PagerDuty via the UI 1. [#1872](https://github.com/influxdata/chronograf/pull/1872): Prevent stats in the legend from wrapping line +1. [#1899](https://github.com/influxdata/chronograf/pull/1899): Fix raw query editor in Data Explorer not using selected time ### Features 1. [#1863](https://github.com/influxdata/chronograf/pull/1863): Improve 'new-sources' server flag example by adding 'type' key