Commit Graph

4466 Commits (d8963ca81307278f255e6c75b5f631bcf5ab3049)

Author SHA1 Message Date
Jared Scheib 86d083823c Revert "WIP Pass values from GrooveKnob to parent"
This reverts commit c0cc730857.
2017-08-02 09:38:15 -07:00
Andrew Watkins e1ab849b63 Prettier 2017-08-02 08:45:09 -07:00
Tim Raymond 532a6a8c48 Merge branch 'master' into feature/1602-graph-bounds-setting
Also removed LegacyBounds marshaling since it was no longer necessary

Conflicts resolved:
	bolt/internal/internal.go
	bolt/internal/internal.pb.go
	bolt/internal/internal.proto
	bolt/internal/internal_test.go
	chronograf.go
	server/cells_test.go
	server/dashboards_test.go
	server/swagger.json
2017-08-02 11:29:29 -04:00
Tim Raymond e545f91d8f Add Label to DashboardCell Axis
It's useful for the frontend to be able to specify a label on a
particular axis. This adds a property to Axis to facilitate that.
2017-08-02 11:12:47 -04:00
Tim Raymond 803906e25a Return nothing from previously set bounds
Previously, if bounds were not set, the default value that would be
returned was ["0", "0"], which is incorrect. This now returns [] when
there was nothing set for a particular axis.
2017-08-02 10:58:01 -04:00
Alex Paxton c0cc730857 WIP Pass values from GrooveKnob to parent
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-01 20:43:45 -07:00
Alex Paxton 69dbd0e988 Wire up GrooveKnob to be fully functional
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-01 20:42:29 -07:00
Alex P b7bb9cb339 Rename classes and element 2017-08-01 19:51:20 -07:00
Alex P 3897228e30 WIP "one or any" component 2017-08-01 19:46:11 -07:00
Jared Scheib bcaa3f37cf Merge pull request #1812 from influxdata/update/news_feed_errors-1628
Improve error message on JSON Feed GET fail
2017-08-01 16:30:06 -07:00
Jared Scheib 5df2a56ead Merge branch 'master' into update/news_feed_errors-1628 2017-08-01 16:18:05 -07:00
Jared Scheib a9789afe84 Fix link in changelog update for #1800 2017-08-01 16:17:11 -07:00
Andrew Watkins ce02479704 Make linter happy 2017-08-01 16:16:24 -07:00
Jared Scheib c0f4f78a6d Update changelog 2017-08-01 16:16:04 -07:00
Jared Scheib 6f4c386e69 Improve error message on JSON Feed GET fail 2017-08-01 16:10:14 -07:00
Alex P c177ee706c Merge remote-tracking branch 'origin/feature/1602-graph-bounds-setting' into feature/1602-graph-bounds-setting 2017-08-01 14:41:02 -07:00
Alex P eb6f437c43 Fine tune UI for axis controls 2017-08-01 14:38:12 -07:00
Andrew Watkins b9754fd5d5 Update CHANGELOG 2017-08-01 14:12:40 -07:00
Andrew Watkins 2270604c68 Comment out undone features 2017-08-01 13:24:52 -07:00
Andrew Watkins 101e5da0e7 Merge branch 'feature/1602-graph-bounds-setting' of github.com:influxdata/chronograf into feature/1602-graph-bounds-setting 2017-08-01 13:14:47 -07:00
Andrew Watkins b9bac12d88 Fix test and user submitted values check 2017-08-01 13:14:31 -07:00
Alex P d83fb97a00 Add UI scaffolding for more axis controls 2017-08-01 11:31:56 -07:00
Andrew Watkins cd9c341663 Tweak styles 2017-08-01 11:02:59 -07:00
Andrew Watkins 21edafce95 Shorten text 2017-08-01 09:42:37 -07:00
Andrew Watkins d0e322ef55 Save y range for user 2017-08-01 09:10:08 -07:00
Andrew Watkins 59141c0125 Merge branch 'feature/1602-graph-bounds-setting' of github.com:influxdata/chronograf into feature/1602-graph-bounds-setting 2017-07-31 14:27:21 -07:00
Tim Raymond e703107644 Copy missing properties from Dashboards
When creating new dashboards to set defaults, not all properties of the
dashboard were being copied. This ensures that they are so that zero
values are not used for things like the ID and Name.
2017-07-31 17:24:43 -04:00
Andrew Watkins 1a1b077a90 Remove axes normalizer
With the `bounds` returning from the backend and the values saved as
strings there's no longer a need to normalize cell state.
2017-07-31 14:00:54 -07:00
Andrew Watkins f7191b1cba Merge pull request #1797 from influxdata/feature/tr-new-axes-format
Change Cell Axes' Bounds to []string
2017-07-31 13:43:14 -07:00
Tim Raymond 7aad733682 Fix data races in dashboard response construction
Dashboard responses had data races because multiple goroutines were
reading and modifying dashboards before sending them out on the wire.
This patch introduces immutability in the construction of the response,
so that each goroutine is working with its own set of dashboardResponse
structs.
2017-07-31 16:36:20 -04:00
Tim Raymond 08bf8aeff5 Ensure cell bounds come back as empty array
The contract with the frontend states that bounds should come back as an
empty array instead of null when there are no bounds present. We must
explicitly specify []string{} for this to happen.
2017-07-31 16:36:16 -04:00
Tim Raymond 4391004e7f Enforce presence of "x", "y", and "y2" axes
Certain aspects of the frontend requires the presence of these three
axes, so part of the contract established is that the backend will
always provide them. Since we centralize creation of
dashboardCellResponses, this is where these axes are added to all cell
responses.

Additionally, because there was previously no coverage over the
dashboard cells endpoints, a test has been added to cover the
DashboardCells method of Service.
2017-07-31 16:36:07 -04:00
Tim Raymond 2ff3e27e1f Convert Axis Bounds to []string
Due to various limitations with the previous implementation of Bounds as
a [2]int64{}, we've decided to change this to a []string{}. This will
allow clients to store arbitrary data specifying a bound and interpret
it as they wish.
2017-07-31 16:35:53 -04:00
Andrew Watkins fa94e09210 Merge pull request #1798 from influxdata/bugfix/domain
Give preference to queryConfig range
2017-07-28 07:49:41 -07:00
Andrew Watkins 4fa7883882 Merge branch 'master' into bugfix/domain 2017-07-28 07:49:33 -07:00
Andrew Watkins b8435cd4b8 Merge pull request #1799 from influxdata/bugfix/syncronize
Dont sync graphs if there is only one graph
2017-07-28 07:48:27 -07:00
Andrew Watkins ee471a519d Merge pull request #1800 from influxdata/enhancement/write-data-window
Embiggen the write data form
2017-07-28 07:47:30 -07:00
Alex P 06de962b66 Prevent overlay from extending beyond the viewport
Factored in the heights of all the neighboring elements
2017-07-27 16:57:09 -07:00
Jared Scheib 76614643ec Clarify changelog, fix method name typo 2017-07-27 16:49:18 -07:00
Jared Scheib 13801f58cb Merge remote-tracking branch 'origin/master' into enhancement/write-data-window 2017-07-27 16:37:09 -07:00
Jared Scheib 7abb6dc170 Clarify changelog 2017-07-27 16:35:18 -07:00
Jared Scheib 3527ec19e3 Merge branch 'master' into enhancement/write-data-window 2017-07-27 16:30:11 -07:00
Jared Scheib 1a5c98b656 Merge pull request #1802 from influxdata/1.3.5.x
Merge 1.3.5.x with updated release date
2017-07-27 16:28:34 -07:00
Andrew Watkins 0878539edd Update CHANGELOG 2017-07-27 15:26:20 -07:00
Andrew Watkins 99eff45056 Embiggen the write data form 2017-07-27 15:23:59 -07:00
Jared Scheib af29ece5ba Merge branch 'refs/heads/1.3.5.x' 2017-07-27 14:50:00 -07:00
Jared Scheib ddb170dcd6 Update release date 2017-07-27 14:48:18 -07:00
Andrew Watkins cb91c967ed Update CHANGELOG 2017-07-27 14:47:04 -07:00
Andrew Watkins 753726d0f2 Dont sync graphs if there is only one graph 2017-07-27 14:38:57 -07:00
Andrew Watkins d88247849b Update CHANGEOG 2017-07-27 13:41:44 -07:00