Commit Graph

5717 Commits (d40a3742749c6a4e2ea5f602978d31dbf708d04b)

Author SHA1 Message Date
Nathan Haugo 6cbd33b9ee Fix tests for the updated group by time logic 2017-10-03 16:31:51 -07:00
deniz kusefoglu c599b4e20b Make copy directionless 2017-10-03 16:29:48 -07:00
deniz kusefoglu 1d34b6e5aa Stop required props spam in VisView components 2017-10-03 16:26:44 -07:00
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 d30143377a Update CHANGELOG 2017-10-03 15:55:57 -07:00
Nathan Haugo 20360d44cc Port changes from 1.3.8.x for pixels per graph to master 2017-10-03 15:53:33 -07:00
Jared Scheib 98d612e412 Fix Tooltip width for long source host:port strings
Fix HTML in other tooltips

Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 15:49:24 -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
Alex Paxton 9ce7d8d389 Allow for multiple SourceIndicator Tooltips at a time
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-03 15:20:08 -07:00
Jared Scheib 912427070a Make Tooltip styles consistent
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 15:19:25 -07:00
Alex Paxton 08b16cb9a5 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 15:04:33 -07:00
Jared Scheib 22b212e61f Remove passed-in props from all SourceIndicator instances
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 15:02:39 -07:00
Alex Paxton 4514141dd6 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 14:57:22 -07:00
Nathan Haugo 7f03119317 Merge pull request #2066 from influxdata/feature/add-env-override
Add env override to chronograf.service
2017-10-03 14:53:38 -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
Nathan Haugo 2b0747166a Add env override to chornograf.service 2017-10-03 12:24:13 -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
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