Commit Graph

3555 Commits (6fdba650ecf7d603a054eb30e37d6cafb8b131d7)

Author SHA1 Message Date
Andrew Watkins a8185071cc Remove unused prop 2017-10-20 10:09:52 -07:00
Hunter Trujillo 5ddcdacb42 Fixes for PR review. 2017-10-20 01:12:40 -06:00
Hunter Trujillo 2f34d644c2 Add missing proptype due to merge. 2017-10-19 16:01:56 -06:00
Hunter Trujillo 7561f0a7c3 Merge commit 'd384c4f858f7e60cae27a26be6eca5ee338c765c' into dashboard-manual-refresh
# Conflicts:
#	ui/src/dashboards/containers/DashboardPage.js
#	ui/src/shared/components/AutoRefresh.js
2017-10-19 15:57:20 -06:00
Hunter Trujillo 33c28b811c Add manual refresh magic. 2017-10-19 15:53:12 -06:00
Hunter Trujillo d0cc2f2fd3 Fix the other bug. 2017-10-19 15:52:52 -06:00
Hunter Trujillo b7cac1ec16 Fix Be The Change bug. 2017-10-19 15:44:25 -06:00
Hunter Trujillo d384c4f858 Merge pull request #2136 from influxdata/feature/milliseconds
Fix loss of precision while zooming
2017-10-19 14:37:25 -06:00
Hunter Trujillo cab7671efb Fix loss of precision while zooming. Now zooms to millisecond precision. NanoDate supports microsecond and nanosecond precision, but only with some work. 2017-10-19 14:20:58 -06:00
Andrew Watkins 5de6bba94e Merge branch 'master' into bugfix/bad-rp 2017-10-19 08:53:01 -07:00
Andrew Watkins 63d849738d Merge pull request #2135 from influxdata/bugfix/drag-n-drop
BUGFIX: Drag n drop cancelling
2017-10-19 08:52:34 -07:00
Hunter Trujillo c66324d1a6 Be The Change. 2017-10-18 20:12:00 -06:00
Deniz Kusefoglu ded67180c1 Merge pull request #2133 from influxdata/feature/implicit_http
Prepend 'http://' to source url
2017-10-18 16:03:16 -07:00
Alex Paxton edfc2f7f19 Merge pull request #2120 from influxdata/responsive-admin-tabs
Improve appearance of  Admin on small screens
2017-10-18 16:03:02 -07:00
Andrew Watkins e1b752f78a Reset fileInput value on cancel 2017-10-18 15:48:02 -07:00
Andrew Watkins 3057219844 Guard against no file 2017-10-18 15:43:54 -07:00
deniz kusefoglu 3b380e26cd Add http:// before a source url, if it does not begin with it, and change sourceform to a SFC 2017-10-18 14:24:59 -07:00
Andrew Watkins 33bad0bcd9 Tweak function names 2017-10-18 11:25:28 -07:00
deniz kusefoglu 260bbacb3c Fix overlay of custom time indicator and csv download button 2017-10-18 10:48:26 -07:00
Andrew Watkins 511777396c Merge branch 'master' into responsive-admin-tabs 2017-10-18 10:05:58 -07:00
Andrew Watkins 305facda40 Use gaurd clause pattern 2017-10-18 09:55:52 -07:00
Andrew Watkins 3b746ab26f Add/fix comments and improve grouping 2017-10-18 09:55:18 -07:00
Andrew Watkins 3451aa476f Add removeFuncs to propTypes 2017-10-18 09:45:13 -07:00
Andrew Watkins 21674fc851 Fix comment 2017-10-18 09:44:28 -07:00
Andrew Watkins d8d0ec41f9 Use spread instead of assign 2017-10-18 09:43:21 -07:00
Andrew Watkins 21a2148188 Uncomment out commented error messages 2017-10-18 09:39:00 -07:00
Andrew Watkins c229bb61f3 Move render to bottom of component 2017-10-18 09:39:00 -07:00
Andrew Watkins 69e25b82c2 Christmas came early 2017-10-18 09:39:00 -07:00
Andrew Watkins 8e1cb0b298 Merge branch 'master' into bugfix/unsafe-ssl 2017-10-18 09:06:26 -07:00
Hunter Trujillo 77f2e372e5 Merge pull request #2127 from influxdata/feature/milliseconds
Dygraph Fork for Milliseconds
2017-10-17 16:17:54 -06:00
Andrew Watkins 4fda37e739 Merge branch 'bugfix/unsafe-ssl' of github.com:influxdata/chronograf into bugfix/unsafe-ssl 2017-10-17 15:13:47 -07:00
Andrew Watkins 00b6ae15f5 Better banner copy 2017-10-17 15:13:04 -07:00
Andrew Watkins 80940f8bfa Fix field helper specs 2017-10-17 13:34:16 -07:00
Andrew Watkins 9b1cc1d436 Change influxql and FieldList fields to value instead of name 2017-10-17 13:31:17 -07:00
Andrew Watkins 77b3487bd2 Change tests and reducers to use value instead of name 2017-10-17 13:19:08 -07:00
Andrew Watkins faa3347343 Remove Now button from DataExplorer 2017-10-17 13:07:29 -07:00
Alex P bc42f4170b Make source page header match width of form 2017-10-17 12:54:44 -07:00
Andrew Watkins 73c93d2957 WIP change name to value 2017-10-17 12:44:16 -07:00
Alex P 8fc98db051 Make page contents fill the page when no other UI present 2017-10-17 12:44:16 -07:00
Alex P 85b1e8db9d Remove unnecessary attribute 2017-10-17 12:43:57 -07:00
Andrew Watkins 0d1001825d Remove irrlevant test 2017-10-17 12:42:58 -07:00
Andrew Watkins 4c6bc8ff76 Fix broken test 2017-10-17 12:42:58 -07:00
Andrew Watkins 6e2eefaaa0 Adjust kapacitor components to accept new data shape 2017-10-17 12:42:58 -07:00
Andrew Watkins 23ff0b7016 Fix applying funcs with initial group by time 2017-10-17 12:42:58 -07:00
Andrew Watkins 47a8ba49a9 Iron kinks 2017-10-17 12:42:58 -07:00
Andrew Watkins 9126191c2b Pull component specific attributes out of group by selection 2017-10-17 12:42:58 -07:00
Andrew Watkins 8c3f986117 Move logic for initial field out of reducer 2017-10-17 12:42:58 -07:00
Andrew Watkins 6b1284af5c Fix rawText keeping old state in the DE 2017-10-17 12:42:57 -07:00
Andrew Watkins 9eedad4dd6 Christmas came early 2017-10-17 12:42:57 -07:00
Andrew Watkins 2bbb956724 Max mean the default for new field 2017-10-17 12:42:57 -07:00
Andrew Watkins 2ea9272fcd Fix toggle field logic 2017-10-17 12:42:57 -07:00
Andrew Watkins d13d62d271 Move kapacitor specific logic out of toggleField 2017-10-17 12:42:57 -07:00
Andrew Watkins 93cfcf144e Add spec for REMOVE_FUNCS 2017-10-17 12:42:57 -07:00
Andrew Watkins 9c8572aca8 Start breaking up the sadness in applyFuncsToFields 2017-10-17 12:42:56 -07:00
Andrew Watkins e4512bd174 New queryConfig shape 'works' in the DE 2017-10-17 12:42:56 -07:00
Andrew Watkins 524bd1eee9 Refactor FieldList to accept new shape 2017-10-17 12:42:56 -07:00
Chris Goller e7125f3dd0 Remove toggleFieldWithGroupByInterval 2017-10-17 12:42:56 -07:00
Chris Goller b7c357129d Fix import of field helper typos 2017-10-17 12:42:56 -07:00
Chris Goller 831ea04980 Update queryConfigSpec to remove deprecated mocha assertions 2017-10-17 12:42:56 -07:00
Chris Goller 4797361622 Add spec tests for field helpers 2017-10-17 12:42:55 -07:00
Chris Goller 4e8e9b6cb2 Update reducers to reflect new field helper location 2017-10-17 12:42:55 -07:00
Chris Goller 1dc359e5f7 Move fields helpers into shared reducers 2017-10-17 12:42:55 -07:00
Chris Goller cf0245f953 Update queryTransitions to use field helpers 2017-10-17 12:42:55 -07:00
Chris Goller c14d44ae4f Fix field helper function to be javascript 2017-10-17 12:42:55 -07:00
Chris Goller bcf3943125 WIP 2017-10-17 12:42:55 -07:00
Chris Goller 1e8e8e2ddd Add functions to handle fields in new queryConfig 2017-10-17 12:42:55 -07:00
Andrew Watkins d8728cb925 Update kapacitory query reducer 2017-10-17 12:42:54 -07:00
Andrew Watkins 55d29f89e3 Put add funcs to fields in one reducer function 2017-10-17 12:42:54 -07:00
Chris Goller 0c72084fd8 Update query building to new queryConfig shape 2017-10-17 12:42:54 -07:00
Chris Goller d16249fce6 Move influxql spec file to correct location 2017-10-17 12:42:54 -07:00
Andrew Watkins ac126541b8 WIP adding funcs and fields to query config v2 2017-10-17 12:42:54 -07:00
Hunter Trujillo 1be7dbbd18 WIP 2017-10-17 12:42:54 -07:00
Hunter Trujillo b6757d4dd6 WIP 2017-10-17 12:42:53 -07:00
Hunter Trujillo 4d963f57f0 Add our own fork of Dygraphs. 2017-10-17 13:25:28 -06:00
Andrew Watkins 74e3b5247d Reset customTime when a preconfigured relative time is selected 2017-10-17 10:49:29 -07:00
Andrew Watkins 7b0e653446 Tweak styles 2017-10-17 10:49:29 -07:00
Andrew Watkins ba62efecb4 Replace regex with boolean 2017-10-17 10:49:29 -07:00
Andrew Watkins 694d73a994 Add ability to toggle now in CustomTimeRange 2017-10-17 10:49:29 -07:00
Andrew Watkins c4c46fd03e Remove CreateSources container 2017-10-16 17:57:51 -07:00
Andrew Watkins 7a423cf92d Prevent form submit onEnter 2017-10-16 17:31:45 -07:00
Andrew Watkins be4ceed4e3 Guard against non-numeric values 2017-10-16 17:14:44 -07:00
Andrew Watkins 2c6eb731b7 Turn RuleGraph into an SFC
This also allowed me to pull out some functions into helper files.
Also, this commit contains replacing string literals with constants.
2017-10-16 16:41:39 -07:00
Andrew Watkins 4e3bb7b226 Fix display of not-equal-to on rule graph 2017-10-16 16:04:20 -07:00
Andrew Watkins 2ad550345f Remove redundancy of CreateSource page 2017-10-16 15:51:04 -07:00
Andrew Watkins 6a91deacf1 Guard against properties not returned from server getting clobbered 2017-10-16 14:45:18 -07:00
Andrew Watkins 7ad3305efb Update SourcePage to use new SourceForm format 2017-10-16 14:07:56 -07:00
Andrew Watkins 46accab9fc Merge pull request #2119 from influxdata/enhancement/tickscript-cancel
UX-IMPROVEMENT: Add Cancel button for tickscript editor
2017-10-16 13:27:43 -07:00
Andrew Watkins 94d59afa1b Consolidate input state into parent 2017-10-16 12:41:09 -07:00
deniz kusefoglu 922876414b Refactor LayoutCell to use LayoutState HOC 2017-10-16 11:50:25 -07:00
Andrew Watkins 4a64bb2940 Convert CreateSource to es6 class 2017-10-16 11:44:36 -07:00
Andrew Watkins a1cd6d76e3 Fix unsafe ssl bug 2017-10-16 11:37:32 -07:00
Alex P b7334b4e49 Make tabs stack horizontally on small screens 2017-10-16 10:43:03 -07:00
Andrew Watkins 21d2feb442 Add Cancel button for tickscript editor 2017-10-16 10:31:37 -07:00
deniz kusefoglu 84c8945ff4 Change dataExists to a bool and handle instances of Autorefresh where grabdatafordownload is not defined 2017-10-16 09:55:03 -07:00
deniz kusefoglu 921bf66dc8 add test to dashboardtoCSV 2017-10-13 15:20:23 -07:00
deniz kusefoglu 9a13240bd4 fix test 2017-10-13 13:35:58 -07:00
deniz kusefoglu 2b4a0519f7 fix tests 2017-10-13 13:26:46 -07:00
deniz kusefoglu 57a6089b7f remove unused template and query props 2017-10-13 13:07:20 -07:00
deniz kusefoglu ecc1d23c5b Hoist graph data up to be downloaded upon csv dl push 2017-10-13 13:07:20 -07:00
deniz kusefoglu 5a1e4d11c5 Create a seperate function to handle csv downloads from dashboard cells 2017-10-13 13:07:20 -07:00
deniz kusefoglu 3a07ded85c WIP adds a console.logging csv button to each dashboard cell 2017-10-13 13:07:20 -07:00
deniz kusefoglu 4d6f7628d8 Refrain from coercing data to a date if column name is not time 2017-10-13 13:07:20 -07:00
Alex P 4fbb127319 Style query tabs to utilize available space more effectively
Maximum width is much larger, which increases utility of tabs when
there are < 5 queries
2017-10-11 17:34:09 -07:00
Nathan Haugo 33b165edce Merge branch 'master' into bug/fix-rp-copy 2017-10-10 11:07:06 -07:00
Alex P 36b59b33c3 Prevent auto refresh items from wrapping 2017-10-10 10:45:46 -07:00
Alex P 68b8de3a3f Show manual refresh button when auto refresh is set to "Pause"
Manual refresh button fires a dummy function, to be replaced
2017-10-10 10:38:37 -07:00
Alex Paxton dc296ba247 Merge pull request #2078 from influxdata/rule-builder-polish-2
UI IMPROVEMENT: Rule Builder Polish
2017-10-10 09:34:07 -07:00
Andrew Watkins 0565a24e0a Fix tests 2017-10-09 13:01:40 -07:00
Andrew Watkins fc57e88133 Add format to timeRange 2017-10-09 13:01:40 -07:00
Andrew Watkins d1181554d7 Add more properties to timeRange proptypes 2017-10-09 13:01:40 -07:00
Andrew Watkins a4d37e773e Simplify reducer 2017-10-09 13:01:40 -07:00
Andrew Watkins 1b9318f6ed Gaurd against ranges being undefined 2017-10-09 13:01:39 -07:00
Andrew Watkins bb6a88972e Add dashboard to props 2017-10-09 13:01:39 -07:00
Andrew Watkins beebbfa227 Move coercion of string into id normalizer
If an when we move to using URI's as the dynamic parameters
in routes.  We will need a consolidate place to decocde them or
ensure they are of the proper types and shape.  This commit introduces
this pattern.
2017-10-09 13:01:39 -07:00
Andrew Watkins 6cf52ff5f3 Future proof buildInfluxQL function 2017-10-09 13:01:39 -07:00
Andrew Watkins b083e2c654 Semantics 2017-10-09 13:01:39 -07:00
Andrew Watkins cb3cb0ac18 Test cleanup 2017-10-09 13:01:39 -07:00
Andrew Watkins b10b52b7d9 Test cleanup 2017-10-09 13:01:39 -07:00
Andrew Watkins 354d318d69 Use lodash for object detection 2017-10-09 13:01:38 -07:00
Andrew Watkins 1656d2e8f2 Normalize dashboard time ranges on load and save to localStorage 2017-10-09 13:01:38 -07:00
Andrew Watkins 8d7d0bd254 Add number as valid type of bound 2017-10-09 13:01:38 -07:00
Andrew Watkins 59ad62686f Introduce dashboardTime normalizer 2017-10-09 13:01:38 -07:00
Andrew Watkins cd2a46d439 Fix delete 2017-10-09 13:01:38 -07:00
Andrew Watkins 33039b90b7 Add dashTimeV1 to localStorage 2017-10-09 13:01:38 -07:00
Andrew Watkins 6631ca8a22 Introduce dashTimeV1 state to DashboardPage 2017-10-09 13:01:38 -07:00
Andrew Watkins 6d72f7f989 Add delete and update dashTime actions and reducers 2017-10-09 13:01:37 -07:00
Andrew Watkins ad629dfe50 Change set to add 2017-10-09 13:01:37 -07:00
Andrew Watkins d9d8abc0f3 Introduce dashTime reducer v1 2017-10-09 13:01:37 -07:00
Nathan Haugo 8b71cf4c74 Fix copy for rp values 2017-10-09 10:05:53 -07:00
Nathan Haugo a2f270bdb2 Update version 2017-10-06 11:38:40 -07:00
Hunter Trujillo 3bbae491c5 Fix PR change requests. 2017-10-06 09:47:03 -07:00
Hunter Trujillo ed361e0060 Add Data Explorer InfluxQL query and location query synchronization 2017-10-06 09:46:49 -07:00
Alex P e04befb89c Make group by tag button consistent with other toggle buttons 2017-10-05 12:23:09 -07:00
Alex P ce8370663f Change style of alert message field to be more consistent with inputs 2017-10-05 12:02:57 -07:00
Alex P cdad6d1d4e Move time range selector from page header into RuleGraph
Makes more sense to have this here, also cleans up the page header
2017-10-05 00:16:45 -07:00
Alex P d1c8a2b8c6 Prevent CEO toggle from de-centering when no queries present 2017-10-04 17:48:50 -07:00
lukevmorris 4f7ba728d0 Merge pull request #2076 from influxdata/source-cell-cleanup
Source cell cleanup for 1.3.9.x
2017-10-04 17:13:41 -07:00
Alex P a68642cf24 Adjust copy 2017-10-04 16:57:25 -07:00
Alex P 49e222c9d5 Remove edit functionality from RuleHeader 2017-10-04 16:57:19 -07:00
Alex P fb75796ccc Move rule name editing into page contents 2017-10-04 16:49:12 -07:00
Alex P d6f21285f6 Return to index view when saving an existing rule 2017-10-04 16:48:42 -07:00
Andrew Watkins 3f87a1595c Dont show source list until query is created 2017-10-04 16:29:28 -07:00
Alex P 2c1f02f743 Fix dropdown item clickable area bug 2017-10-04 16:13:07 -07:00
Andrew Watkins e6d3db8add Remove fun from the world 2017-10-04 15:53:24 -07:00
Andrew Watkins b5431b80eb Merge branch 'master' of github.com:influxdata/chronograf 2017-10-04 15:52:13 -07:00
Andrew Watkins 834f9935c6 Update copy 2017-10-04 15:52:03 -07:00
Andrew Watkins d76b1d0b0e Update source for tag values 2017-10-04 15:44:13 -07:00
Andrew Watkins 97ee2e3047 Add local source logic to local queryStateReducer 2017-10-04 15:43:40 -07:00
Alex P d4538f6050 Improve clarity of measurement list label 2017-10-04 15:40:36 -07:00
Alex P 71c0b8d29d Adjust rule builder copy 2017-10-04 15:40:16 -07:00