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
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
Alex P
69311f8b94
Updoot the log of changes
2017-09-29 16:37:05 -07:00
Alex P
1590812813
Add button that sets source connection defaults
...
Also changed placeholder text to be less misleading
2017-09-29 16:30:45 -07:00
Alex P
5157b0c88f
Update theme file
...
- Inputs have italic placeholder text
- Tab Lists have borders between items for increased clarity
2017-09-29 16:00:56 -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
Alex Paxton
a1514ded11
Merge branch 'master' into plus-buttons
2017-09-29 14:15:54 -07:00
Alex P
b29cef9a3f
Updoot
2017-09-29 14:14:48 -07:00
Alex P
b0495882c1
Add Plus Icon to all Add/Create buttons
2017-09-29 14:08:54 -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