Commit Graph

36 Commits (82f09014016325a506b36c73b2468fec71a88ef2)

Author SHA1 Message Date
Chris Goller a99e33162f Update make run-dev to be more TICKStack compliant 2017-03-31 16:18:30 -05: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
Chris Goller 46b1a08aa5 Merge branch 'master' into feature/#54-tr-enterprise-client
Conflicts:
	Makefile
	chronograf.go
	server/routes.go
	server/users.go
2017-02-23 23:26:09 -06:00
Chris Goller 6494ddd751 Update Makefile continuous build to restart chronograf 2017-02-19 12:22:16 -06:00
Chris Goller af50e96fe0 Fix Makefile go depends and add continuous build 2017-02-19 12:17:37 -06:00
Chris Goller 3eb7da2f1a Refactor Influx OSS users 2017-02-19 00:54:52 -06:00
Tim Raymond f0e8d0b3e8 Update Makefile for ctags
Adds a `make ctags` command to generate Go ctags for editors
2017-02-14 16:18:41 -05:00
Chris Goller cb1aadf49c Update Makefile and webpack to make builds incremental 2017-02-08 21:15:56 -06:00
Chris Goller d0c4d21724 Update Makefile to use yarn instead of npm install 2017-02-08 21:15:31 -06:00
gunnaraasen 58a2a82d52 Add X-Chronograf-Version header 2017-01-23 23:29:12 -08:00
Chris Goller b6a0d7c5cc Add layouts as bindata in case chronograf run as a single-file binary
Using my existing layout chaining, I added layouts wrapped in
go-bindata as the last option for loading layouts.  This means
that the data store is preferred over file system over bindata.

With this functionality, we can simply distribute the single-file
binary.
2016-11-14 19:07:38 -06:00
Chris Goller a4a7b4330b Update build to always remove the node_modules 2016-11-08 15:42:56 -06:00
Chris Goller 16c14521df Merge pull request #386 from influxdata/update-cli-options
Update cli options
2016-11-07 11:29:05 -06:00
Chris Goller cf4b6ebf32 Update Makefile to use default chronograf port 2016-11-07 11:10:47 -06:00
Chris Goller 7096e2ee70 Update layouts to not use UUIDs in name and only use filesystem 2016-11-07 10:10:26 -06:00
gunnaraasen 7e94012bf5 WIP 2016-11-03 15:50:34 -05:00
gunnaraasen 39d21014dc Add usage stats reporting 2016-10-28 14:34:55 -07:00
Chris Goller d1359c09b3 Refactor to remove autogenerated code. 2016-10-26 22:10:52 -05:00
Chris Goller 91eec23099 Update name to chronograf 2016-10-20 09:39:40 -05:00
Chris Goller 408f520bbb Update kapacitor endpoint to be scoped to sources 2016-10-04 12:49:12 -05:00
gunnaraasen 27ffaf4fcc Refactor the exploration store 2016-09-29 09:38:35 -04:00
Chris Goller f70bd552e7 Update swagger and mock to have optional URL field for data source 2016-09-23 17:14:53 -07:00
Chris Goller d56513c8fe Update test to use channels to prevent race.
Signed-off-by: Nathaniel Cook <nvcook42@gmail.com>
2016-09-22 14:15:46 -07:00
Andrew Watkins 9683e277f7 Remove the race flag in the build to unblock the front end team.
Per @goller's instruction
2016-09-22 11:44:20 -07:00
Chris Goller 6386f9a077 Update Makefile bindata to not use dev flag 2016-09-21 10:52:38 -07:00
Will Piers bcb6ec7960 Remove shared propTypes declarations and amend Makefile with dev server 2016-09-20 11:44:22 -07:00
Chris Goller 2304ee76a2 Fix asset serving for development mode
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Chris Goller 4035130b80 Update build system for javascript/go asset packaging 2016-09-19 13:45:05 -07:00
Chris Goller 2d361e4fe8 Update the build instructions with more common practices 2016-09-19 13:45:05 -07:00
Chris Goller b9b0d4db08 Update bindata to be in dist. Use dev and debug for now 2016-09-19 13:45:05 -07:00
Chris Goller 840b00b4d0 Update circle and makefile to build and test everything.
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-19 13:45:05 -07:00
Chris Goller b8d74706fa Update docker and makefile to use mrfusion 2016-09-16 15:47:38 -05:00
Chris Goller d074894440 Update Makefile to use assets 2016-09-16 13:51:01 -05:00
Chris Goller e24a16fa9f Update static assets to use ui/build 2016-09-16 13:47:58 -05:00
Chris Goller 9f0969751f Add simple static asset packaging.
Closes #5
2016-09-16 12:21:29 -05:00
Chris Goller f9a5dc75a8 Add Makefile to coordinate builds 2016-09-15 16:01:51 -05:00