Commit Graph

3316 Commits (7f4af358aed86300c6507d873f97e63bc005464b)

Author SHA1 Message Date
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
Andrew Watkins cce44b1681 Update to react-codemirror 1.0 2017-09-12 09:23:26 -07:00
Alex P 077bdf20fb Change layout of tickscript editor 2017-09-12 09:23:26 -07:00
Alex P 09d554cd4d Organize styles and use custom theme for code mirror 2017-09-12 09:23:25 -07:00
Andrew Watkins 25d5310cf5 Prettier 2017-09-12 09:23:25 -07:00
Andrew Watkins c653982216 Make task ids only edit when making new task 2017-09-12 09:23:25 -07:00
Andrew Watkins fe6c5ac29d Cleanup 2017-09-12 09:23:25 -07:00
Andrew Watkins 879685d11f Remove view only Tickscript 2017-09-12 09:23:25 -07:00
Andrew Watkins a1ecdb6e5d WIP Introduce tickscript id editing 2017-09-12 09:23:25 -07:00
Andrew Watkins f4aeefa95e Add tickscript type selector 2017-09-12 09:23:25 -07:00
Andrew Watkins 03e40c8ce1 Cleanup 2017-09-12 09:23:24 -07:00
Andrew Watkins 74145b0a49 Cleanup checks with default props 2017-09-12 09:23:24 -07:00
Andrew Watkins 1cdcc80259 Make UserRow work with new MultiSelectDropdown shape 2017-09-12 09:23:24 -07:00
Andrew Watkins 018bd17096 Add ability to apply changes per click 2017-09-12 09:23:24 -07:00
Andrew Watkins 026b1f1018 Add comment 2017-09-12 09:23:24 -07:00
Andrew Watkins fa2192f3fb Prettier 2017-09-12 09:23:24 -07:00
Andrew Watkins 4437475207 Apply selected dbrps to state 2017-09-12 09:23:23 -07:00
Andrew Watkins 0e8fecff6e Add lambda to syntax highlighting 2017-09-12 09:23:23 -07:00
Andrew Watkins 9f371f17c2 Set default props for ruleID 2017-09-12 09:23:23 -07:00
Andrew Watkins cea9d077a4 Introduce TICKscript editing 2017-09-12 09:23:23 -07:00
Andrew Watkins b6ca021604 WIP Edit scripts returned from the server
Had to downgrade react-codemirror due to a bug.  Issues and PRs
are open to resolve:
- https://github.com/JedWatson/react-codemirror/issues/121
- https://github.com/JedWatson/react-codemirror/issues/106
2017-09-12 09:23:23 -07:00
Andrew Watkins 4f1372a01b Introduce skeleton to create task through proxy 2017-09-12 09:23:23 -07:00
Andrew Watkins b6880c2524 ES6ify 2017-09-12 09:23:23 -07:00
Andrew Watkins b66be556ed Update kapacitor links to include tasks and ping paths 2017-09-12 09:23:22 -07:00
Alex P 1e1c955560 Polish alert rules table 2017-09-12 09:23:22 -07:00
Andrew Watkins 87221200bb Display TICKscript on rules index 2017-09-12 09:23:22 -07:00
Andrew Watkins ad1f78aed0 Polish the editor 2017-09-12 09:23:22 -07:00
Andrew Watkins 202702b739 Introduce CodeMirror for TICKscript editor 2017-09-12 09:23:22 -07:00
Andrew Watkins b5aa82fe08 Introduce TICKscript editor 2017-09-12 09:23:21 -07:00
Andrew Watkins 423f02ba73 Add skeleton for tickscript editor page 2017-09-12 09:23:21 -07:00
Chris Goller 2128c13163 Update kapacitor rule response with dbrps, various dates, error, and executing. 2017-09-09 10:19:52 -05:00
deniz kusefoglu 3b705139ab Refactor DataSection SFC 2017-09-08 12:35:42 -07:00
deniz kusefoglu 6ce54ec3fd Clean up 2017-09-08 12:24:46 -07:00
Deniz Kusefoglu cb8b812c14 Merge branch 'master' into fill-query-widget 2017-09-08 14:39:54 -04:00
Deniz Kusefoglu c79eaf7e7f Merge pull request #1971 from influxdata/bugfix/deadman
BUGFIX: deadman
2017-09-08 14:30:11 -04:00
Jared Scheib 9de78a35d9 Merge branch 'master' into fill-query-widget 2017-09-08 11:27:31 -07:00
Jared Scheib b5b56cd9e4 Only submit number input value on blur; cancel on escape 2017-09-08 11:26:07 -07:00
Jared Scheib 0f5a5d2ed7 Only submit fill number upon enter; ensure number value on blur 2017-09-08 11:26:07 -07:00
Hunter Trujillo 15e549696e Make Jared's belief system conversion look nicer
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-09-08 11:25:49 -07:00
Jared Scheib be0e1a066e Convert Jared to a believer in functional programming overlord technology 2017-09-08 11:24:48 -07:00
deniz kusefoglu fed1901014 Transform ValuesSection into an SFC 2017-09-08 11:16:34 -07:00
deniz kusefoglu 4e1f19f3a7 WIP Partially transform Values Section to an SFC 2017-09-08 10:36:35 -07:00
Nathan Haugo e89e8d137b Bump version to 1.3.8.0 2017-09-07 16:29:56 -07:00
Andrew Watkins 1ab705e431 Fix deadman UI 2017-09-07 15:21:20 -07:00
deniz kusefoglu 4e16fa33c4 WIP move sections some more 2017-09-07 14:08:39 -07:00
Jared Scheib b85bca0155 Merge branch 'master' into fill-query-widget 2017-09-07 12:58:06 -07:00
Jared Scheib 97ef8a52b5 Test client DE fill for ints and floats 2017-09-07 12:50:50 -07:00
Jared Scheib 2ab38d75e0 Test updating fill to non-null-string non-number value in client DE 2017-09-07 12:49:51 -07:00
Jared Scheib 8e5bed7a10 Test for explicit fill with group by time in client DE 2017-09-07 12:43:17 -07:00
Jared Scheib c2a7d21d09 Update modified queryTransition funcs to ES6 and spread operator 2017-09-07 12:39:15 -07:00
Andrew Watkins 54c1d45c07 WIP Move sections around 2017-09-07 11:43:30 -07:00
Andrew Watkins f4e6e70efe Remove redundant call to getChildContext
The CheckSources component already provedes source to this component
and its children.
2017-09-07 11:41:37 -07:00
Jared Scheib bb0dc81dd7 Rename onSelection func to onChooseFill for idiomacy 2017-09-07 11:35:51 -07:00
Jared Scheib 9e5b60c874 Move styles for groupby fill container into stylesheet 2017-09-07 11:32:01 -07:00
Jared Scheib 35a1d64036 Prettier 2017-09-07 11:31:24 -07:00
Jared Scheib 5f5e04459e Move defaultProps outside of class definition 2017-09-07 11:22:16 -07:00
Jared Scheib 390d970d3a Refactor KAPA_ADD_RULE to use spread operator; removed unused param 2017-09-07 13:14:59 -04:00
Jared Scheib cc72462d41 Add comments for two actions consumed by two reducers each 2017-09-07 13:11:02 -04:00
Jared Scheib 9059b03fd6 Refactor a ADD_QUERY reducer to use spread operator; remove unused param 2017-09-07 13:10:11 -04:00
Jared Scheib 632725d943 Change var name to clarify for condition when it's undefined 2017-09-07 12:34:50 -04:00
Andrew Watkins c36a78e84c Reform Relative into an SFC 2017-09-06 15:40:54 -07:00
Andrew Watkins 6e558e9653 Make Threshold an SFC 2017-09-06 14:58:56 -07:00
Andrew Watkins 7a4f105f5a Handle kapacitor range values being undefined 2017-09-06 14:01:22 -07:00
Andrew Watkins 13f938a896 WIP Move relative and threshold to separate file 2017-09-06 13:53:45 -07:00
Andrew Watkins 0c4662552e Transform Deadman to an SFC 2017-09-06 12:57:04 -07:00
Hunter Trujillo 147abd76d9 whoops! forgot my hat. 2017-09-06 11:56:04 -06:00
Hunter Trujillo 3764d4d650 Remove DE QC query string param code for this PR. 2017-09-06 11:50:02 -06:00
Jared Scheib d3420ff6f8 Merge remote-tracking branch 'origin/master' into fill-query-widget 2017-09-06 11:48:00 -04:00
Jared Scheib 7ac1057e0d Add comprehensive explicit fill test coverage 2017-09-06 11:44:22 -04:00
Jared Scheib 2bf7d64370 Test client explicit fill; clean up 2017-09-06 11:37:47 -04:00
Jared Scheib c33ea2d486 Add client test for implicit fill null made explicit 2017-09-06 11:31:04 -04:00
Jared Scheib 03e572965e Fix client tests w/r/t changes to defaultQueryConfig and fill 2017-09-06 11:27:16 -04:00
Hunter Trujillo 6c3d1668bf Refactor query string middleware. Adds novel DE query config functionality. 2017-09-05 17:57:52 -06:00
Andrew Watkins 482f69a196 Prettier and prettier 2017-09-05 15:35:45 -07:00
Andrew Watkins 3a75df0208 Move rule condition above query builder 2017-09-05 15:34:53 -07:00
Andrew Watkins eb2c761129 Convert to modern syntax 2017-09-05 15:01:13 -07:00
Andrew Watkins 7aec032aa4 Convert to modern syntax 2017-09-05 14:42:29 -07:00
Jared Scheib dbb8c32bd5 Fix destructuring error when no options passed to applyFuncsToField 2017-09-05 16:44:23 -04:00
Jared Scheib 86b883b154 Fix Kapacitor FieldList propTypes to prevent onFill func warning 2017-09-05 16:24:07 -04:00
Jared Scheib 18b7fe3cbe Prevent fill from being added to kapacitor query string 2017-09-05 16:23:35 -04:00
Jared Scheib a814dbc9b0 Ensure default influxql fill value of 'null' string 2017-09-05 15:56:19 -04:00
Jared Scheib 67ab19515c Fix bug to ensure GROUP BY is not added to toggled func-less field 2017-09-05 12:02:15 -04:00
Jared Scheib b43d33bc7d Add Fill to queryConfig when field toggled 2017-09-05 12:00:38 -04:00
Jared Scheib a6754857eb Change NULL const to NULL_STRING to avoid confusion 2017-09-05 11:59:28 -04:00
Jared Scheib 31f0ed3773 Only add Fill when to InfluxQL when there's a group by time 2017-09-05 11:00:11 -04:00
Jared Scheib 1371c6afad Merge remote-tracking branch 'origin/master' into fill-query-widget 2017-09-05 10:52:41 -04:00
Jared Scheib b882caa3ed Merge branch 'master' into feature/url-to-presentation-mode 2017-09-04 14:19:48 -04:00
Hunter Trujillo f59fc76657 Use only the boolean interface for the present query string. 2017-09-02 00:36:08 -06:00
Jared Scheib cfcb2ec260 Use different query config if for Kapacitor rule
This removes the 'fill' property from a default
query config if it is for use in a Kapacitor
alert rule

Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-09-01 20:01:10 -04:00
Jared Scheib bcca6ec596 Remove obsolete getInitialState store helper func 2017-09-01 17:37:07 -04:00
Hunter Trujillo 1d23ccd587 Use src-relative path for importing enablePresentationMode action. Add query-string package. Use queryString library to parse location.search. 2017-09-01 15:07:37 -06:00
Andrew Watkins 33c32dcfeb All the implicit returns 2017-09-01 11:12:02 -07:00
Andrew Watkins 5a843836c9 Fix stacked graph bug 2017-09-01 10:09:52 -07:00
Andrew Watkins eff225e9c2 Merge pull request #1952 from influxdata/bugfix/crosshair-remove
BUGFIX: crosshair remove
2017-08-31 14:39:48 -07:00
Andrew Watkins ec05a50627 Merge pull request #1956 from influxdata/bugfix/alerts
Fix alerts table to display if alerts are missing a host, name, or level
2017-08-31 14:39:31 -07:00
Andrew Watkins a5f984bd36 Merge branch 'master' into bugfix/crosshair-remove 2017-08-31 14:16:29 -07:00
Andrew Watkins cd7de90642 Fix alerts table to display if alerts are missing a host, name, or level 2017-08-31 14:15:33 -07:00
Andrew Watkins 1ac66a364f Merge branch 'master' into bugfix/some-fields 2017-08-31 14:07:15 -07:00
Andrew Watkins f0b9088c9e Invoke line colors and stop wrapping 2017-08-31 14:06:28 -07:00
Andrew Watkins a674ef5edd Merge pull request #1943 from influxdata/bugfix/add-kapa-from-source
Fix inability to add kapacitor from source page
2017-08-31 13:12:09 -07:00
Andrew Watkins dc82dde36b Sugar 2017-08-31 13:06:55 -07:00