Commit Graph

5201 Commits (29f9d3d024a694e6a9064627a9649d16f7986109)

Author SHA1 Message Date
Deniz Kusefoglu 29f9d3d024 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 3805c695d0 Update CHANGELOG 2017-10-03 15:55:57 -07:00
deniz kusefoglu b96aaaf210 Remove source indicator from cell header 2017-10-03 15:45:06 -07:00
deniz kusefoglu ae364f5018 Get new dbs, rps, meas, fields etc when selecting a new source 2017-10-03 15:36:44 -07:00
Nathan Haugo 03dba17292 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 6230ddc512 Remove source from DisplayOptions 2017-10-03 14:21:23 -07:00
Alex Paxton 8aa41afa3f Dedupe and polish Tooltip styles
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-03 12:55:29 -07:00
Jared Scheib 54d9968a38 Style SourceIndicator in LayoutCellHeader
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 12:32:40 -07:00
Alex Paxton 4cbc0af4e5 Update CSS page syntax formatting
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-03 12:31:56 -07:00
Nathan Haugo 25e86f6bef Add env override to chornograf.service 2017-10-03 12:24:13 -07:00
Alex Paxton f964921a16 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 b2f4a6ed4d 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 d00ac3349b 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 5375b5c26f Add label to SourceSelector
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 11:17:39 -07:00
Jared Scheib 31eb034bd1 Fix linter warning with non-single quote aprostrophes 2017-10-03 11:08:48 -07:00
Jared Scheib 1630f39123 Fix typos in empty cell and dashboard copy 2017-10-03 11:05:45 -07:00
Andrew Watkins fc853622ae Add sweet styles 2017-10-02 17:27:31 -07:00
Andrew Watkins ae91bcc8cf 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 f0083a4410 Add styles for custom source indicator 2017-10-02 15:54:08 -07:00
Andrew Watkins b3fad26908 Christmas came early 2017-10-02 15:43:05 -07:00
Andrew Watkins 7a5a12ab76 Guard againt selected source being deleted 2017-10-02 15:23:18 -07:00
Andrew Watkins c24e7f4a0c Get defensive with query sources 2017-10-02 14:42:57 -07:00
Andrew Watkins a833b814f1 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 de49853ff1 Handle no queries or sources 2017-10-02 12:50:43 -07:00
Andrew Watkins 9a7b6126c2 WIP send along entire source object 2017-10-02 12:50:43 -07:00
Andrew Watkins 9177023c38 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 891fb1f527 Implicitly return 2017-10-02 12:50:42 -07:00
Andrew Watkins 199c173bb6 Handle rebase 2017-10-02 12:50:42 -07:00
Andrew Watkins 7f39bd7aad Use non-default source on any cell in dashboard 2017-10-02 12:50:42 -07:00
Andrew Watkins a6ab3a2f58 Actually find a source 2017-10-02 12:50:42 -07:00
Andrew Watkins 68e7166049 Stop cell fields being clobbered 2017-10-02 12:50:42 -07:00
Andrew Watkins ff12db36cc Remove dummy data 2017-10-02 12:50:42 -07:00
Andrew Watkins d7c03b4031 Update source on a query 2017-10-02 12:50:42 -07:00
Chris Goller 486a5bfb33 Update dashboard cells to have optional data source URI. 2017-10-02 12:50:42 -07:00
Andrew Watkins 27a63604cf Use default source if cellSource isnt in sources list 2017-10-02 12:50:42 -07:00
Andrew Watkins 18538ccc54 WIP store seleted cellSource on state 2017-10-02 12:50:42 -07:00
Andrew Watkins 272089efe6 Tweak styles 2017-10-02 12:50:42 -07:00
Andrew Watkins d7d73727b9 WIP Add some styles to SourceSelector 2017-10-02 12:50:42 -07:00
Andrew Watkins 8f8e7fa013 WIP Introduce SourceSelector component 2017-10-02 12:50:41 -07:00
Andrew Watkins 99be768f92 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 332769be57 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 3e3918c9cf Import lodash 2017-09-29 14:30:20 -07:00
Andrew Watkins 7e120d4251 Move PropTypes to just above proptype declarations 2017-09-29 14:28:12 -07:00
Andrew Watkins 1c113e2316 Convert SingleStat to class component 2017-09-29 14:27:21 -07:00
Andrew Watkins 3c538a5535 Bring Christmas even earlier 2017-09-29 14:05:11 -07:00
Andrew Watkins 896d6871c4 Consolidate series highlighting 2017-09-29 14:04:17 -07:00
Andrew Watkins 8d16a4dbef Christmas came early 2017-09-29 14:02:20 -07:00
Andrew Watkins 013f862b43 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 3153876d26 Make GraphSpinner its own component 2017-09-29 13:40:32 -07:00
Andrew Watkins feae172712 Pull constants into graph helpers dir 2017-09-29 13:40:13 -07:00