Commit Graph

4735 Commits (ece8cf3fedbd7ccd2f11e7e7f8edc52a79dbea15)

Author SHA1 Message Date
Jared Scheib 80ad15eefb Revert GrooveKnob addition 2017-08-02 09:41:35 -07:00
Jared Scheib d1b31c384e Revert "WIP "one or any" component"
This reverts commit aa5f710b5a.
2017-08-02 09:40:31 -07:00
Jared Scheib 488fb2b5fa Revert "Rename classes and element"
This reverts commit 58c23ad14f.
2017-08-02 09:40:22 -07:00
Jared Scheib 04fe367256 Revert "Wire up GrooveKnob to be fully functional"
This reverts commit 2e15eed145.
2017-08-02 09:39:55 -07:00
Jared Scheib 07782040e8 Revert "WIP Pass values from GrooveKnob to parent"
This reverts commit d075733398.
2017-08-02 09:38:15 -07:00
Andrew Watkins 0bb49d9c4c Prettier 2017-08-02 08:45:09 -07:00
Tim Raymond 63cddc96e4 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 89c0d84a8d
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 d6322ae8f1
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 d075733398 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 2e15eed145 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 58c23ad14f Rename classes and element 2017-08-01 19:51:20 -07:00
Alex P aa5f710b5a WIP "one or any" component 2017-08-01 19:46:11 -07:00
Jared Scheib 87a1a19f22 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 5ce232f48c Merge branch 'master' into update/news_feed_errors-1628 2017-08-01 16:18:05 -07:00
Jared Scheib 25709ea923 Fix link in changelog update for #1800 2017-08-01 16:17:11 -07:00
Andrew Watkins ff0bad5629 Make linter happy 2017-08-01 16:16:24 -07:00
Jared Scheib 544b35fba8 Update changelog 2017-08-01 16:16:04 -07:00
Jared Scheib 12ab243018 Improve error message on JSON Feed GET fail 2017-08-01 16:10:14 -07:00
Alex P 44ed8b58de 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 240de08849 Fine tune UI for axis controls 2017-08-01 14:38:12 -07:00
Andrew Watkins b5ac54c719 Update CHANGELOG 2017-08-01 14:12:40 -07:00
Andrew Watkins 6865b90e33 Comment out undone features 2017-08-01 13:24:52 -07:00
Andrew Watkins 79ec80b5ff 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 737e4a8e02 Fix test and user submitted values check 2017-08-01 13:14:31 -07:00
Alex P e19817e330 Add UI scaffolding for more axis controls 2017-08-01 11:31:56 -07:00
Andrew Watkins e36108bfd3 Tweak styles 2017-08-01 11:02:59 -07:00
Andrew Watkins 6460e416d7 Shorten text 2017-08-01 09:42:37 -07:00
Andrew Watkins a51f0a175f Save y range for user 2017-08-01 09:10:08 -07:00
Andrew Watkins 8f0742c8ac 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 d08eab7214
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 2df2680214 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 b7cdb26b46 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 25059c0591
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 e5331dc536
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 8bd622c491
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 0a042e2e0f
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
Hunter Trujillo 91c3611ef2 .
.
ç̥͈̺͕̯̌͐̂̋̉͘͝H̸̨͍̳̟̖̳̱͖͎̔͛̏̄̚͟͠a̡̨̻̘̪̝̤̻̳͛̋͊̾́͟͝N̷͉͇̤͔̈́̎̑̍͊̃̀̕̕̚͜ͅg̢͈͈̭̙̬̜̓̈́͊͛͠E̛̫͇͚̘̹̾́̂̐͋̆͘͢ļ̴̛̲̮͓͈̼͉̮͐̆́̓͘ͅŐ̸̢̨̧͕͖̾̒͂͗͋̎́̚͠ǵ̵̡͙̘̖̺͖͉͎̋͊͋̍͢͜Ẻ̳̥̲͇̻̍̇̄̆̚
.
.
2017-07-31 12:07:48 -06:00
Hunter Trujillo 4ab18d586b Refactor hashing function to be simpler and remove hash de-duplication. Remove highlight circle on bar graphs. 2017-07-31 11:57:51 -06:00
Hunter Trujillo f8b8cc7364 Add universal hashed colors algorithm. Fix bar graph column overlap. Remove crosshairs on bar graphs. 2017-07-28 18:20:22 -06:00
Andrew Watkins 92882bfa2c Merge pull request #1798 from influxdata/bugfix/domain
Give preference to queryConfig range
2017-07-28 07:49:41 -07:00
Andrew Watkins 0de50089a2 Merge branch 'master' into bugfix/domain 2017-07-28 07:49:33 -07:00
Andrew Watkins 7f7b30be6f 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 249b54554b 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 dc0aaaaf5d 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 99f045e397 Clarify changelog, fix method name typo 2017-07-27 16:49:18 -07:00
Hunter Trujillo fef81f7499 Remember, kids... Always leave a note. 2017-07-27 17:43:45 -06:00
Jared Scheib 3a76733cd7 Merge remote-tracking branch 'origin/master' into enhancement/write-data-window 2017-07-27 16:37:09 -07:00
Jared Scheib 811ab58b2e Clarify changelog 2017-07-27 16:35:18 -07:00
Hunter Trujillo 3d7975946b CHAMGELOG 2017-07-27 17:31:24 -06:00