Commit Graph

2471 Commits (7bb955baa3fbf670ca89c0a7204078ad091ce294)

Author SHA1 Message Date
Luke Morris a45e1a0816 Merge branch 'master' into 1060-remove_visualizations_bar 2017-03-24 13:32:25 -07:00
Luke Morris 4f601e4d5f Update CHANGELOG 2017-03-24 13:31:06 -07:00
Luke Morris 1c2711241f Remove VisualizationSelector from Dashboard Edit Mode 2017-03-24 13:29:10 -07:00
Andrew Watkins 89f1d0b4b4 Make div a button 2017-03-24 13:26:22 -07:00
lukevmorris 148140effa NameableGraph Dropdown now contains an active Delete button (#1058)
* Dropdown now contains an active Delete button

* Prefer `filter` over `findIndex` => `slice`
2017-03-24 13:24:11 -07:00
Andrew Watkins 01ec21b483 Merge pull request #1029 from influxdata/feature/db-manager
Feature/db manager
2017-03-24 10:57:12 -07:00
Andrew Watkins 43c0961e69 Pass delete retention policy down down down 2017-03-24 10:42:59 -07:00
Andrew Watkins 3356c21969 Merge branch 'feature/db-manager' of github.com:influxdata/chronograf into feature/db-manager 2017-03-24 10:07:50 -07:00
Chris Goller 6bf79c7cb3 Update rpResponse default to isDefault 2017-03-24 10:06:59 -07:00
Andrew Watkins 97c69cad53 Merge branch 'feature/db-manager' of github.com:influxdata/chronograf into feature/db-manager 2017-03-24 10:03:55 -07:00
Chris Goller 53fda10deb FIx RP default to isDefault 2017-03-24 10:03:38 -07:00
Andrew Watkins ac87aeb8ae Merge branch 'feature/db-manager' of github.com:influxdata/chronograf into feature/db-manager 2017-03-24 09:59:48 -07:00
Chris Goller e8a77be244 Update RP JSON default to isDefault 2017-03-24 09:58:57 -07:00
Andrew Watkins 8380ede50e Remove ability to update name 2017-03-24 09:49:32 -07:00
lukevmorris 2d8d546368 Create a new dashboard cell; Fix remaining bugs with Overlay (#1056)
* Relax query validation for cell endpoint

* Dashboards can now add a cell; Rebase over 950-overlay_technologies-edit

* Server now returns empty queries array when creating a new dashboard cell

* Use async/await pattern for addDashboardCell, add basic error handling

* Update names of methods and actions for editing and updating cells to match those for adding

Factor out newDefaultCell to dashboard constants

* Update CHANGELOG

* Fix bug where Overlay wouldn’t display for query-less cells

* We removed these validations
2017-03-23 17:50:21 -07:00
Jared Scheib 959b387f61 Introduce ability to edit a dashboard cell
* Correct documentation for dashboards

* Exclude .git and use 'make run-dev' in 'make continuous'

* Fix dashboard deletion bug where id serialization was wrong

* Commence creation of overlay technology, add autoRefresh props to DashboardPage

* Enhance overlay magnitude of overlay technology

* Add confirm buttons to overlay technology

* Refactor ResizeContainer to accommodate arbitrary containers

* Refactor ResizeContainer to require explicit ResizeTop and ResizeBottom for clarity

* Add markup and styles for OverlayControls

* CellEditorOverlay needs a larger minimum bottom height to accommodate more things

* Revert Visualization to not use ResizeTop or flex-box

* Remove TODO and move to issue

* Refactor CellEditorOverlay to allow selection of graph type

* Style Overlay controls, move confirm buttons to own stylesheet

* Fix toggle buttons in overlay so active is actually active

* Block user-select on a few UI items

* Update cell query shape to support Visualization and LayoutRenderer

* Code cleanup

* Repair fixture schema; update props for affected components

* Wired up selectedGraphType and activeQueryID in CellEditorOverlay

* Wire up chooseMeasurements in QueryBuilder

Pass queryActions into QueryBuilder so that DataExplorer can provide
actionCreators and CellEditorOverlay can provide functions that
modify its component state

* semicolon cleanup

* Bind all queryModifier actions to component state with a stateReducer

* Overlay Technologies™ can add and delete a query from a cell

* Semicolon cleanup

* Add conversion of InfluxQL to QueryConfig for dashboards

* Update go deps to add influxdb at af72d9b0e4ebe95be30e89b160f43eabaf0529ed

* Updated docs for dashboard query config

* Update CHANGELOG to mention InfluxQL to QueryConfig

* Make reducer’s name more specific for clarity

* Remove 'table' as graphType

* Make graph renaming prettier

* Remove duplicate DashboardQuery in swagger.json

* Fix swagger to include name and links for Cell

* Refactor CellEditorOverlay to enable graph type selection

* Add link.self to all Dashboard cells; add bolt migrations

* Make dash graph names only hover on contents

* Consolidate timeRange format patterns, clean up

* Add cell endpoints to dashboards

* Include Line + Stat in Visualization Type list

* Add cell link to dashboards

* Enable step plot and stacked graph in Visualization

* Overlay Technologies are summonable and dismissable

* OverlayTechnologies saves changes to a cell

* Convert NameableGraph to createClass for state

This was converted from a pure function to encapsulate the state of the
buttons. An attempt was made previously to store this state in Redux,
but it proved too convoluted with the current state of the reducers for
cells and dashboards. Another effort must take place to separate a cell
reducer to manage the state of an individual cell in Redux in order for
this state to be sanely kept in Redux as well.

For the time being, this state is being kept in the component for the
sake of expeditiousness, since this is needed for Dashboards to be
released. A refactor of this will occur later.

* Cells should contain a links key in server response

* Clean up console logs

* Use live data instead of a cellQuery fixture

* Update docs for dashboard creation

* DB and RP are already present in the Command field

* Fix LayoutRenderer’s understanding of query schema

* Return a new object, rather that mutate in place

* Visualization doesn’t use activeQueryID

* Selected is an object, not a string

* QueryBuilder refactored to use query index instead of query id

* CellEditorOverlay refactored to use query index instead of query id

* ConfirmButtons doesn’t need to act on an item

* Rename functions to follow convention

* Queries are no longer guaranteed to have ids

* Omit WHERE and GROUP BY clauses when saving query

* Select new query on add in OverlayTechnologies

* Add click outside to dash graph menu, style menu also

* Change context menu from ... to a caret

More consistent with the rest of the UI, better affordance

* Hide graph context menu in presentation mode

Don’t want people editing a dashboard from presentation mode

* Move graph refreshing spinner so it does not overlap with context menu

* Wire up Cell Menu to Overlay Technologies

* Correct empty dashboard type

* Refactor dashboard spec fixtures

* Test syncDashboardCell reducer

* Remove Delete button from graph dropdown menu (for now)

* Update changelog
2017-03-23 17:12:33 -07:00
Andrew Watkins 9648b66b6f Fix update retention policy 2017-03-23 17:10:13 -07:00
Andrew Watkins 635fc9824c Fix update sync 2017-03-23 17:09:47 -07:00
Andrew Watkins 7265f0f503 Remove delete for _internal db 2017-03-23 16:21:19 -07:00
Andrew Watkins 003961e016 Remove ability to delete if last RP 2017-03-23 16:12:59 -07:00
Andrew Watkins 7b0abbd604 Disable add rp button if currently adding an RP 2017-03-23 16:06:17 -07:00
Andrew Watkins 7c393d6159 Disable creation of DB when currently creating one 2017-03-23 15:58:28 -07:00
Andrew Watkins a8597538d5 Merge branch 'feature/db-manager' of github.com:influxdata/chronograf into feature/db-manager 2017-03-23 15:38:20 -07:00
Andrew Watkins 05bdb193ef Add database naming styles 2017-03-23 15:36:48 -07:00
Chris Goller 0824b983b8 Merge branch 'feature/db-manager' of github.com:influxdata/chronograf into feature/db-manager 2017-03-23 15:24:18 -07:00
Chris Goller c252c6126c Fix create retention policies InfluxQL 2017-03-23 15:23:54 -07:00
Andrew Watkins a502ff3e37 Remove noops from confirm db buttons 2017-03-23 15:11:03 -07:00
Andrew Watkins 9280741773 Hook up DBRP manager to backend 2017-03-23 15:06:22 -07:00
Chris Goller 2c874e4e53 Fix retention policies responses and change to PATCH 2017-03-23 14:30:24 -07:00
Chris Goller 98799cc442 Fix sources test to include databases link 2017-03-23 14:06:52 -07:00
Chris Goller b061369a56 Fix drop retention policy InfluxQL 2017-03-23 13:59:28 -07:00
Chris Goller 768bd12541 Add retention policies to the database response 2017-03-23 13:53:28 -07:00
Chris Goller 83ee057f56 Fix exported method to be internal 2017-03-23 13:34:09 -07:00
Chris Goller 65e93125dd Fix drop database InfluxQL statement 2017-03-23 13:33:46 -07:00
Chris Goller 2cd5e50442 Add retention policy link to databases and add comments 2017-03-23 13:29:13 -07:00
Chris Goller 8827093bc6 Update databases/retention policy link responses 2017-03-23 13:16:02 -07:00
Chris Goller b0c57f9509 Fix retention policy InfluxQL creation string 2017-03-23 13:15:39 -07:00
Jared Scheib 00ea887218 Merge pull request #1053 from influxdata/feature/add-dashboard
Introduce create dashbaord
2017-03-23 13:09:07 -07:00
Jared Scheib 18ab8e3b91 Fix typo 2017-03-23 12:55:08 -07:00
Alex P 6a265552c0 Make Table rows slightly less condensed 2017-03-23 12:53:43 -07:00
Alex P 38cf643d4a Prevent host table headers from overlapping sort arrows 2017-03-23 12:45:27 -07:00
Andrew Watkins a2b3d6b725 Introduce create dashbaord 2017-03-23 12:24:10 -07:00
Andrew Watkins 0234d6df0b Merge pull request #1047 from influxdata/create-dashboard-button
Create Dashboard Button
2017-03-23 11:25:41 -07:00
Jade McGough baf7a938c4 Merge branch 'dbrp' into feature/db-manager 2017-03-23 11:24:40 -07:00
Jade McGough 10a05412c0 go fmt 2017-03-23 06:24:26 -07:00
Jade McGough ffdc14ebdd add options to alter rp 2017-03-23 06:21:19 -07:00
Jade McGough e58a846f7b updateRP 2017-03-23 06:13:41 -07:00
Jade McGough 2a990e2b3e clean up some dashboards code 2017-03-23 05:49:33 -07:00
Jade McGough c547ca5ebc add missing patch responses swagger 2017-03-23 05:16:49 -07:00
Jade McGough ba8609d7b6 go format 2017-03-23 04:56:36 -07:00