Commit Graph

3279 Commits (3c204a4d362b8ce1e0486b5178a67d08b752cf2c)

Author SHA1 Message Date
Deniz Kusefoglu 3c204a4d36 Merge pull request #1996 from influxdata/feature/source-on-cell
FEATURE: Switch InfluxDB sources per chart in Dashboards
2017-10-03 16:07:57 -07:00
deniz kusefoglu e5d23253aa Remove source indicator from cell header 2017-10-03 15:45:06 -07:00
deniz kusefoglu 7a300c4dce Get new dbs, rps, meas, fields etc when selecting a new source 2017-10-03 15:36:44 -07:00
deniz kusefoglu 3577fe0080 Remove source from DisplayOptions 2017-10-03 14:21:23 -07:00
Alex Paxton 08a1af020f Dedupe and polish Tooltip styles
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-03 12:55:29 -07:00
Jared Scheib 33a3eea9ed Style SourceIndicator in LayoutCellHeader
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 12:32:40 -07:00
Alex Paxton 948fc75049 Update CSS page syntax formatting
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-03 12:31:56 -07:00
Alex Paxton 9fda754042 Allow a source override on SourceIndicator
Use SourceIndicator server icon with tooltip on cells

Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-03 12:20:47 -07:00
Jared Scheib 37c3a1948e Remove passed-in props from all SourceIndicator instances
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 11:59:30 -07:00
Alex Paxton 02e9b63501 Use context to display source name, host, and port in SourceIndicator
Refactor SourceIndicator into SFC

Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-03 11:45:48 -07:00
Jared Scheib 4d2a6b8492 Add label to SourceSelector
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 11:17:39 -07:00
Jared Scheib a4e4c80598 Fix linter warning with non-single quote aprostrophes 2017-10-03 11:08:48 -07:00
Jared Scheib e60e61ac59 Fix typos in empty cell and dashboard copy 2017-10-03 11:05:45 -07:00
Andrew Watkins 7ef74d792f Add sweet styles 2017-10-02 17:27:31 -07:00
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
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 475a7ba369 Add react-component-resizable package 2017-09-29 12:15:10 -07:00