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
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
e019f1aa4b
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
daa6cf8b69
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
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
Alex Paxton
7c471a8796
Merge branch 'master' into plus-buttons
2017-09-29 14:15:54 -07:00
Alex P
4ed225d012
Add Plus Icon to all Add/Create buttons
2017-09-29 14:08:54 -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
Andrew Watkins
126aecb9c1
Christmas tree props
2017-09-29 13:32:43 -07:00
Andrew Watkins
f67a147b69
Convert LineGraph to class component
2017-09-29 13:31:10 -07:00
Andrew Watkins
4da1d6c876
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
b526499a38
Add react-component-resizable package
2017-09-29 12:15:10 -07:00
Andrew Watkins
88249f7416
Add custom findClosestPoint method
2017-09-29 11:13:27 -07:00
Andrew Watkins
93cb35b3e6
Resize Dygraph based on prop changes
...
This commit removes a hack that forced dygraph to respond
to a custom resize event created on document. Now, Dygraph resizes
in response to prop changes.
2017-09-28 19:24:26 -07:00
Andrew Watkins
96f5d92a33
WIP
2017-09-28 15:28:08 -07:00
Alex P
d2a82f7142
Use more descriptive name for state in parent component
2017-09-28 14:55:24 -07:00
Alex P
23c9b98c55
Use state to manage legend arrow position
...
Passing this into the legend component similar to isHidden
2017-09-28 14:53:32 -07:00
Andrew Watkins
a74c561716
Turn generateVisualization func into separate component
2017-09-28 14:18:48 -07:00
Andrew Watkins
5f5e4dd3b5
Make generateWidgetCell a component
2017-09-28 13:44:35 -07:00
Andrew Watkins
3e2fd7ba76
Replace Object.assign with spread
2017-09-28 13:26:25 -07:00
Andrew Watkins
34f51b0975
Export canned dashboard query building functionailty to utils
2017-09-28 13:24:47 -07:00
Andrew Watkins
5d0cc8bddc
Use fat arrow properties
2017-09-28 13:06:34 -07:00
Alex P
ed6d5d2c32
Position legend on left or right side of crosshair when unable to position above or below graph
2017-09-27 18:44:41 -07:00
Andrew Watkins
766926dfaf
Guard against no field in buildDefaultYLabel
2017-09-27 16:10:30 -07:00
Andrew Watkins
c95aeaba7d
Merge pull request #1721 from influxdata/feature/tickscript-editor
...
TICKscript Editor
2017-09-27 15:55:41 -07:00
Alex P
f88cf2ee38
Remove small gap between cell and legend that can cause legend to disappear
2017-09-27 11:10:22 -07:00
Alex P
f684167d97
Add arrows to legend indicating which cell it is pointing to
2017-09-27 10:54:21 -07:00
Alex P
dbd19a37ed
Position legend above the graph when it would otherwise go off the screen
2017-09-27 10:54:05 -07:00
Hunter Trujillo
9208e76e2c
Merge pull request #2002 from influxdata/ux-improvements
...
UX Improvements
2017-09-26 14:58:57 -06:00
Alex P
1cc87fd42e
Remove console log
2017-09-26 10:43:38 -07:00
Alex P
e296fa4656
Use enter and escape to stage changes to the cell name
...
Sort of confusing if you look at the implementation, but produces the
desired user experience. There’s a two-step saving process with cell
names now. The user has to change the cell name and hit Enter (or
manually blur) and the name is committed to CEO workingCellName state.
If they hit Escape it reverts to its name when the cell was initially
edited.
2017-09-26 10:37:49 -07:00
Andrew Watkins
abbcd6ccdc
Remove react-addons-update
2017-09-22 15:14:28 -07:00
Andrew Watkins
4abe50e042
Merge branch 'feature/tickscript-editor' of github.com:influxdata/chronograf into feature/tickscript-editor
2017-09-22 15:07:29 -07:00
Andrew Watkins
f5209a8842
Fix multiselect in Admin page
2017-09-22 15:07:12 -07:00
Chris Goller
a08c69528b
Merge branch 'master' into 2014-permanent-critical-for-windows-hosts
2017-09-22 08:22:38 -05:00
Andrew Watkins
10ba55b3ed
Merge branch 'master' into bugfix/dup-kapa-name-error-misfire
2017-09-21 15:35:44 -07:00
Andrew Watkins
5d0355c7a8
Use lodash to get random element from array
2017-09-21 15:24:06 -07:00
Andrew Watkins
6ada0ec767
Remove binds from constructor
2017-09-21 15:04:31 -07:00
Andrew Watkins
8ca3d81685
Fix bug
2017-09-21 15:01:13 -07:00
Andrew Watkins
30bc28954f
Return proper empty state for visualizations in the dashboard overlay
2017-09-21 14:30:18 -07:00
Artem Zinenko
4efa98c4c7
Fixed #2014
2017-09-21 09:56:59 +03:00
Alex P
31cbcdbd03
Cleanup
2017-09-20 19:15:16 -07:00
Alex P
7ad43b4103
Remove cell name from state in favor of prop
...
This component doesn’t need to use state for this any longer. Also
causes the dashboard cell to render the new name without having to
refresh
2017-09-20 19:14:05 -07:00
Alex P
77c6255889
Set cellWorkingName to input value in CEO
2017-09-20 17:54:31 -07:00
Alex P
ca5af59b97
Remove vestigial cell renaming code
2017-09-20 14:21:26 -07:00
Alex P
0ea831524f
Refactor NameableGraph into LayoutCell
...
Chose a more semantic name for NameableGraph and its sub-components,
removed unused functions
2017-09-20 13:34:19 -07:00
Alex P
547fa63370
Move delete confirmation to a different position than the delete button
...
Better UX, less accidents
2017-09-20 13:17:31 -07:00
Alex P
d49da08d3f
Cleanup
2017-09-20 13:08:06 -07:00
Alex P
33a3427c08
Add style for untitled cells
...
Also using the language “Untitled Cell” instead of “Name this Graph” as
the thing being named is actually a cell, not a graph. Also now that
renaming is a little more buried, I am avoiding the urgency of “Name
this Graph”
2017-09-20 13:06:11 -07:00
Alex P
429a36512a
Redesign context menu to expose actions without dropdown
2017-09-20 12:39:42 -07:00
Alex P
3053ac5d1d
Revert "WIP show query errors on cells"
...
This reverts commit ea8a344501
.
2017-09-19 14:34:40 -07:00
deniz kusefoglu
57acfb52cb
Allow code to breathe
2017-09-19 13:09:08 -07:00
deniz kusefoglu
65ccac70db
Generate a unique db self.link for use as a temp-id-key
2017-09-19 13:05:31 -07:00
deniz kusefoglu
1900e79243
camelCase is alWays beTTer
2017-09-18 20:17:43 -07:00
deniz kusefoglu
6d2e1100d8
Fix behavior on db creation with enter and make db keys unique
2017-09-18 20:07:21 -07:00
deniz kusefoglu
fb4f9693e3
Display error and prevent new db creation if new db name matches existing db name
2017-09-18 19:34:58 -07:00
Alex P
ea8a344501
WIP show query errors on cells
2017-09-18 14:40:13 -07:00
deniz kusefoglu
223d46f497
Display Query Templates dropdown even when status is null
2017-09-18 14:11:52 -07:00
Alex P
9b643c7f7e
Sort databases list alphabetically by database name
2017-09-18 10:41:37 -07:00
Alex P
035637f1cd
Require user confirmation to delete a cell
2017-09-18 10:13:37 -07:00
Andrew Watkins
9059da096d
Merge branch 'master' into feature/tickscript-editor
2017-09-14 14:29:00 -07:00
Andrew Watkins
e314789895
Refine copy
2017-09-14 14:15:42 -07:00
Andrew Watkins
e646f42b25
Add a TICKscript table to alert rules page
2017-09-14 14:06:43 -07:00
Andrew Watkins
6dd8e378b1
Use tickscript id as 'name' for raw tickscripts
2017-09-14 13:04:05 -07:00
deniz kusefoglu
ca606b7191
Improve testing on resultstoCSV
2017-09-12 18:45:49 -07:00
deniz kusefoglu
9690b512a4
Improve testing on resultsToCSV
2017-09-12 15:50:25 -07:00
deniz kusefoglu
7561a0da6d
Add tests to results to CSV function
2017-09-12 14:59:03 -07:00
Andrew Watkins
dc7fc85bac
Remove TICKscript name creation
2017-09-12 14:27:48 -07:00
Andrew Watkins
701c4bf92e
Publish notification after route change
2017-09-12 14:25:40 -07:00
Andrew Watkins
f7d59f6a4f
Fix auto indendation to match indentation of previous line
2017-09-12 13:17:51 -07:00
deniz kusefoglu
3bbbd7056f
Provide a more descriptive error text
2017-09-12 13:11:16 -07:00
deniz kusefoglu
e6413d1436
Add error handling to getCSV function
2017-09-12 12:37:13 -07:00
Andrew Watkins
4915e978c9
Update existing tickscript
2017-09-12 11:44:06 -07:00
Andrew Watkins
b151e81733
Use /rules to create tickscripts
2017-09-12 11:03:30 -07:00
Hunter Trujillo
3f390ae01a
Refactor download.js. Refactor resultsToCSV. Use Excel formatting.
2017-09-12 09:45:13 -07:00
deniz kusefoglu
33123724e9
Add csv download button to data explorer visualization header
2017-09-12 09:45:13 -07:00
Andrew Watkins
b817c823de
Update branch with new linter rules
2017-09-12 09:23:26 -07:00