Commit Graph

5184 Commits (1027b013626c2fc5594dcac4c9bb1e3aa3a3854b)

Author SHA1 Message Date
Andrew Watkins 1027b01362 Move source selector to OverlayControls
This move accomplishes a few things
1) It looks nicer
2) Can take advantage of the query error handling UI
3) Gives plenty of room for the dropdown
2017-10-02 17:12:30 -07:00
Andrew Watkins cdbd54ce0d Add styles for custom source indicator 2017-10-02 15:54:08 -07:00
Andrew Watkins f12f2790b1 Christmas came early 2017-10-02 15:43:05 -07:00
Andrew Watkins f60075fdd4 Guard againt selected source being deleted 2017-10-02 15:23:18 -07:00
Andrew Watkins 18905b1775 Get defensive with query sources 2017-10-02 14:42:57 -07:00
Andrew Watkins f0f34da9b5 Add souce indicator to cell
If a cell is getting data from a source besides the
default, it will display that sources name in the cell header
2017-10-02 13:47:04 -07:00
Andrew Watkins 0641b3edda Handle no queries or sources 2017-10-02 12:50:43 -07:00
Andrew Watkins 581f1a01ca WIP send along entire source object 2017-10-02 12:50:43 -07:00
Andrew Watkins a2583c820b Display 'No Results' when cannot connect to source
To be more specific and provide more information to the user
we would need to refactor how we do error handling in the app
which is beyond the scope of this PR
2017-10-02 12:50:43 -07:00
Andrew Watkins 5d0670e6f2 Implicitly return 2017-10-02 12:50:42 -07:00
Andrew Watkins 32c0e6f1cf Handle rebase 2017-10-02 12:50:42 -07:00
Andrew Watkins 5cd7d9e26f Use non-default source on any cell in dashboard 2017-10-02 12:50:42 -07:00
Andrew Watkins 2ddf6213b0 Actually find a source 2017-10-02 12:50:42 -07:00
Andrew Watkins ebf1e67e4d Stop cell fields being clobbered 2017-10-02 12:50:42 -07:00
Andrew Watkins 9858d8a7a8 Remove dummy data 2017-10-02 12:50:42 -07:00
Andrew Watkins a39ab180ad Update source on a query 2017-10-02 12:50:42 -07:00
Chris Goller 0e6a06d663 Update dashboard cells to have optional data source URI. 2017-10-02 12:50:42 -07:00
Andrew Watkins a0cb2d81f7 Use default source if cellSource isnt in sources list 2017-10-02 12:50:42 -07:00
Andrew Watkins c40380a6c4 WIP store seleted cellSource on state 2017-10-02 12:50:42 -07:00
Andrew Watkins f720c997e7 Tweak styles 2017-10-02 12:50:42 -07:00
Andrew Watkins af031f8e40 WIP Add some styles to SourceSelector 2017-10-02 12:50:42 -07:00
Andrew Watkins f5b034c98c WIP Introduce SourceSelector component 2017-10-02 12:50:41 -07:00
Andrew Watkins f1fc9640d8 Merge pull request #2055 from influxdata/chore/refactor-line-graph
REFACTOR:  LineGraph, SingleStat, and LineGraph+SingleStat
2017-10-02 12:50:19 -07:00
Alex Paxton 23994f801c Merge pull request #2046 from influxdata/fix-legend-positioning-moar
UI IMPROVEMENT: More complete fix of legend positioning
2017-09-29 16:48:22 -07:00
Andrew Watkins eefdd95559 Import lodash 2017-09-29 14:30:20 -07:00
Andrew Watkins aff1cd1dbc Move PropTypes to just above proptype declarations 2017-09-29 14:28:12 -07:00
Andrew Watkins ef0514bf0e Convert SingleStat to class component 2017-09-29 14:27:21 -07:00
Andrew Watkins 6ed194a9ca Bring Christmas even earlier 2017-09-29 14:05:11 -07:00
Andrew Watkins 5d6d22ef71 Consolidate series highlighting 2017-09-29 14:04:17 -07:00
Andrew Watkins bae5351b34 Christmas came early 2017-09-29 14:02:20 -07:00
Andrew Watkins 8be0262c3c Use SingleStat component for single state plus line
Turns out the there aren't any styles for the 'single-stat-plus-line'
class.  So, it has been deleted.
2017-09-29 14:00:33 -07:00
Andrew Watkins 647064bfd1 Make GraphSpinner its own component 2017-09-29 13:40:32 -07:00
Andrew Watkins 47c86bb22c Pull constants into graph helpers dir 2017-09-29 13:40:13 -07:00
Andrew Watkins f56ad437ab Christmas tree props 2017-09-29 13:32:43 -07:00
Andrew Watkins ec7b0b2d3e Convert LineGraph to class component 2017-09-29 13:31:10 -07:00
Andrew Watkins 74c10c10c3 Merge pull request #2052 from influxdata/feature/smoother-hovering
UI-IMPROVEMENT: Add custom findClosestPoint method
2017-09-29 12:30:40 -07:00
Andrew Watkins 002c4b6a8d Merge pull request #2049 from influxdata/chore/layout-renderer
REFACTOR: Layout Renderer and Line Graph
2017-09-29 12:28:59 -07:00
Andrew Watkins 475a7ba369 Add react-component-resizable package 2017-09-29 12:15:10 -07:00
Chris Goller 9863eeb7b9 Merge pull request #2051 from influxdata/feature/influx-enterprise-header
Add check for enterprise build type header
2017-09-29 14:08:02 -05:00
Andrew Watkins 23fbff6bb1 Update CHANGELOG 2017-09-29 11:41:14 -07:00
Andrew Watkins 73d4854c15 Add custom findClosestPoint method 2017-09-29 11:13:27 -07:00
Chris Goller cc4786f860 Merge pull request #2042 from influxdata/feature/point-release-quay-tag
Update circle to add latest tag to point releases rather than master
2017-09-29 10:03:42 -05:00
Andrew Watkins d8b808094c Resize Dygraph based on prop changes
This commit removes a hack that forced dygraph to respond
to a custom resize event created on document.  Now, Dygraph resizes
in response to prop changes.
2017-09-28 19:24:26 -07:00
Chris Goller b99ba2d3c2 Add check for enterprise build type header 2017-09-28 18:37:52 -05:00
Andrew Watkins a17aa1b734 WIP 2017-09-28 15:28:08 -07:00
Alex P 29b07be3be Use more descriptive name for state in parent component 2017-09-28 14:55:24 -07:00
Alex P 9155af051c Use state to manage legend arrow position
Passing this into the legend component similar to isHidden
2017-09-28 14:53:32 -07:00
Andrew Watkins 9bcec4ea8e Turn generateVisualization func into separate component 2017-09-28 14:18:48 -07:00
Andrew Watkins 91d18bed3c Make generateWidgetCell a component 2017-09-28 13:44:35 -07:00
Andrew Watkins 1449716273 Replace Object.assign with spread 2017-09-28 13:26:25 -07:00