Commit Graph

5364 Commits (847798a833ecd0dcebce8c3dbd56d0f74047de34)

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
Nathan Haugo f5ae39cde3 Port changes from 1.3.8.x for pixels per graph to master 2017-10-03 15:53:33 -07:00
Jared Scheib 44e79c5a01 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 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
Alex Paxton 65a92275b5 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 53a568b05a Make Tooltip styles consistent
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-03 15:19:25 -07:00
Alex Paxton 2725acc472 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 7a540303dc 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 7d05cef52d 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 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
Alex P 4238a69097 Updoot the log of changes 2017-09-29 16:37:05 -07:00
Alex P e019f1aa4b Add button that sets source connection defaults
Also changed placeholder text to be less misleading
2017-09-29 16:30:45 -07:00