Commit Graph

2955 Commits (300d67c3188ce2cb5642e88367921fb2c9e776e2)

Author SHA1 Message Date
Andrew Watkins bf2e53ac98 Update GraphTypeSelector to not use arrow func in props 2017-08-17 09:33:40 -07:00
Andrew Watkins 18b1f3b717 Refactor and move Template Variable components 2017-08-17 09:33:40 -07:00
Andrew Watkins 60df489398 Update RuleMessageOptions 2017-08-17 09:33:40 -07:00
Andrew Watkins b84d5bfcd9 Update RuleMessage to remove anyonymous functions from props 2017-08-17 09:33:40 -07:00
Andrew Watkins b789503e26 Update AdminPage to use arrow function properties 2017-08-17 09:33:39 -07:00
Andrew Watkins 10f499f1f3 Update Templating use arrow func properties 2017-08-17 09:33:39 -07:00
Andrew Watkins 72fa5ce826 Update DataExplorer Table component 2017-08-17 09:33:39 -07:00
Andrew Watkins 85d47c155d Update data explorer to use arrow function properties 2017-08-17 09:33:39 -07:00
Andrew Watkins 7a7a6905f0 Update FancyScrollBar to use arrow properties 2017-08-17 09:33:39 -07:00
Andrew Watkins e2c291f317 Update OptIn component to use arrow func properties 2017-08-17 09:33:39 -07:00
Andrew Watkins 8286ee3f1f Update AlertTabs component 2017-08-17 09:33:39 -07:00
Hunter Trujillo 3387d992c5 Refactor AlertaConfig. 2017-08-17 09:33:39 -07:00
Hunter Trujillo d40f3aefde Refactor PushoverConfig. 2017-08-17 09:33:39 -07:00
Hunter Trujillo 3c7d366654 Refactor HipchatConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 36a55459c7 Fix constructor on SMTPConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 7beccf7e94 Refactor OpsGenieConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 95933ebdb3 Refactor PurgerDurtur. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 24f25ac11a Refactor SensuConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 56ecfb6a3d Refactor SlackConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 70c0626f8f Refactor SMTPConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo f6a6b045cf Refactor Talk component and ref handler. 2017-08-17 09:33:38 -07:00
Hunter Trujillo b1dec147c0 Refactor ref handler in TelegramConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 0ad0c9d488 Remove arrow function from ref callback 2017-08-17 09:33:37 -07:00
Andrew Watkins 9be5952882 Remove :: in prop in MultiselectDropdown 2017-08-17 09:33:37 -07:00
Andrew Watkins 416df4498b Use arrow function properties in Dygraph 2017-08-17 09:33:37 -07:00
Andrew Watkins d8927287f2 Remove arrow function from props in DygraphLegend 2017-08-17 09:33:37 -07:00
Andrew Watkins 4bcfcdf2ab Remove deprecated component 2017-08-17 09:33:37 -07:00
Andrew Watkins 6c8ca878c5 Remove arrow functions from props 2017-08-17 09:33:37 -07:00
Andrew Watkins c4f1935d23 Remove arrow function from props in RedactedInput 2017-08-17 09:33:37 -07:00
Andrew Watkins 2db13c0cbf Remove anonymous fucntion from props in DatabaseRow 2017-08-17 09:33:37 -07:00
Andrew Watkins 4e901af55d Add arrow function properties to database admin 2017-08-17 09:33:37 -07:00
Andrew Watkins a1cc32a4db Update TagKeyDropdown component to use arrow function properties 2017-08-17 09:33:36 -07:00
Andrew Watkins a0be96ea0e Ignore ref binds 2017-08-17 09:33:36 -07:00
Andrew Watkins 8b9cceb52f Use arrow function properties in DatabaseRow 2017-08-17 09:33:36 -07:00
Andrew Watkins 88fae5bf44 Update AutoRefresh component 2017-08-17 09:33:36 -07:00
Andrew Watkins bd1096c28f Update Notifications component 2017-08-17 09:33:36 -07:00
Andrew Watkins 232c64f962 Add no binding rule 2017-08-17 09:33:36 -07:00
Andrew Watkins eacc8b3a0d Include babel-eslint plugin
An eslint plugin companion to babel-eslint. babel-eslint does a great
job at adapting eslint for use with Babel, but it can't change the built
in rules to support experimental features. eslint-plugin-babel
re-implements problematic rules so they do not give false positives or
negatives.
2017-08-17 09:33:36 -07:00
Hunter Trujillo 8dac1de5c2 Merge pull request #1744 from influxdata/feature/1685-moving-time-ranges
Custom date picker shortcuts
2017-08-16 19:52:24 -06:00
Jared Scheib cca1966e3c Rename shared shortcuts.hson to timeRangeShortcuts.hson for specificity 2017-08-16 16:59:58 -07:00
Hunter Trujillo ab942299d6 Reset upper when shortcut is clicked. 2017-08-16 15:47:59 -06:00
Hunter Trujillo 22400d2cf3 Split out shortcuts into an "hson" file. 2017-08-16 15:42:46 -06:00
Alex P 6ed22558fe Tweak micro copy 2017-08-16 12:38:58 -07:00
Alex P 2a161c8dba Rework styles to prevent some UI clash 2017-08-16 12:37:36 -07:00
Alex Paxton 309a768baf Merge branch 'master' into fix-legend-stat-wrap 2017-08-16 09:40:15 -07:00
Jade McGough c442a1d4d9 send ‘service-key’ instead of serviceKey to pagerduty 2017-08-16 00:15:13 -07:00
Jared Scheib 01e045199f Merge remote-tracking branch 'origin/1.3.6.x' 2017-08-15 15:03:20 -07:00
Jared Scheib 0632370417 Merge pull request #1858 from influxdata/feature/grooveknob
Refactor DisplayOptions UX to provide affirmative choice for 'auto', via a new component
2017-08-15 11:26:39 -07:00
Alex P ca35916c44 Fix for 1872 2017-08-15 09:55:31 -07:00
Andrew Watkins 65d0480f9d Prettier 2017-08-14 15:46:23 -07:00
Andrew Watkins f0f4982059 Merge branch 'master' into chore/prop-on-div-error 2017-08-14 15:33:29 -07:00
Andrew Watkins dc87246e76 Merge pull request #1862 from influxdata/add-add-graph-to-cell-button
Add button to cell for improved user experience
2017-08-14 15:32:32 -07:00
Andrew Watkins a5e8c5ba2e Merge branch 'master' into nls/drag-fixes 2017-08-14 15:30:57 -07:00
Andrew Watkins 21548485a9 Merge branch 'master' into chore/prop-on-div-error 2017-08-14 15:26:56 -07:00
Jared Scheib 38679e81db Hide Absolute Time Range dropdown header in Rule Alert creation
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-08-14 15:22:20 -07:00
Andrew Watkins 5dc3f49b32 Fix console spam about prop being placed on div 2017-08-14 15:20:21 -07:00
Hunter Trujillo 09b15f7c49 Merge pull request #1860 from smith/nls/npm-script-fixes
Improvements to npm scripts
2017-08-14 16:16:00 -06:00
Andrew Watkins 3162a2c31e Fix auto refresh not rendering No Results when appropriate 2017-08-14 15:12:21 -07:00
Alex Paxton 5a29b5d33c Adjust width of TimeRange Dropdown for Absolute vs Relative
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-14 15:07:08 -07:00
Andrew Watkins bfb124b196 Merge pull request #1855 from influxdata/experiment/separate-data-explorer
REFACTOR:  Visualization / QueryBuilder components
2017-08-14 14:49:49 -07:00
Andrew Watkins bacf991d5f Merge branch 'experiment/separate-data-explorer' of github.com:influxdata/chronograf into experiment/separate-data-explorer 2017-08-14 14:30:35 -07:00
Andrew Watkins 42f1f68f40 Move SchemaExplorer to shared dir 2017-08-14 14:29:11 -07:00
Andrew Watkins 934e474cd2 Move DB, Meas, and Field List components to /shared 2017-08-14 14:27:10 -07:00
Andrew Watkins 4e80460dff Implicitly return from sfc 2017-08-14 14:23:07 -07:00
Andrew Watkins 361a1cb3f9 Use spread instead of concat 2017-08-14 14:20:46 -07:00
Andrew Watkins d38d12c666 Rename component 2017-08-14 14:17:34 -07:00
Andrew Watkins c02edbb85e Add templates back to query text editor 2017-08-14 14:15:48 -07:00
Andrew Watkins 730be0434c Remove unused props 2017-08-14 14:02:21 -07:00
Andrew Watkins 2b4f4aee77 Merge branch 'master' into fix/1633-windows-uptime-status 2017-08-14 13:23:38 -07:00
Hunter Trujillo eb0ab9523b Merge branch 'master' into fix/ie11-support 2017-08-14 12:47:58 -06:00
Hunter Trujillo 9509180c08 Change time range shortcut method name from moving time range due to refined issue scope. 2017-08-14 12:32:06 -06:00
Tim Raymond b547a93622 Update CHANGELOG and version for v1.3.6.1 2017-08-14 14:27:18 -04:00
Luke Morris 7fc79035a0 No longer need to bind component class methods + cleanup 2017-08-11 19:42:33 -07:00
Luke Morris f53b83ba06 Target can be either grooveKnob or its container 2017-08-11 19:27:35 -07:00
Jared Scheib 751c008b90 WIP Remove Timeouts to make OptIn simpler and more reliable 2017-08-11 17:57:33 -07:00
Andrew Watkins dd543bd271 Merge branch 'master' into experiment/separate-data-explorer 2017-08-11 15:04:17 -07:00
Jared Scheib d59d3c8fcd WIP Wire up OptIn input with basic onClickOutside 2017-08-11 14:48:29 -07:00
Andrew Watkins 686f1d79b1 Remove unused props and proptypes 2017-08-11 14:45:31 -07:00
Andrew Watkins 380b4bbea9 Rename handler 2017-08-11 14:42:03 -07:00
Andrew Watkins 5b79db1f90 Remove template variable logic from DataExplorer 2017-08-11 14:38:55 -07:00
Andrew Watkins 6a536b4a10 Move QueryStatus component to shared dir 2017-08-11 14:31:25 -07:00
Andrew Watkins d8941fffd6 Use QueryStatus component 2017-08-11 14:29:17 -07:00
Andrew Watkins 251cf72e2e Remove QueryBuilder component
Dont worry!  It's been replaced by smaller more
reusable components.
2017-08-11 14:19:04 -07:00
Andrew Watkins 3b8417897c Break QueryBuilder into smaller components 2017-08-11 14:18:24 -07:00
Andrew Watkins a2a360d1dc Make DataExplorer's QueryMaker an SFC 2017-08-11 14:05:58 -07:00
Jared Scheib 2115a19243 Update boolean names to be more semantic 2017-08-11 13:58:20 -07:00
Andrew Watkins 492618500d Move QueryTabList to shared dir 2017-08-11 13:57:50 -07:00
Jared Scheib d3c4804af1 Remove unused prop 2017-08-11 13:56:15 -07:00
Jared Scheib 3d14432f38 Remove obsolete comments 2017-08-11 13:53:50 -07:00
Andrew Watkins 86e5dc217b Use QueryTabList component 2017-08-11 13:53:13 -07:00
Andrew Watkins e949ac9091 Move handlers into parent 2017-08-11 13:47:51 -07:00
Jared Scheib 736ea42628 Make syntax more sugary 2017-08-11 13:46:29 -07:00
Andrew Watkins 58f3dba17c Remove unused class property 2017-08-11 13:36:52 -07:00
Andrew Watkins 72f574c165 Remove templates from DataExplorer 2017-08-11 13:34:27 -07:00
Nathan L Smith 920974c7af Fixes for file upload
- [ ] CHANGELOG.md updated with a link to the PR (not the Issue)
  - [X] Rebased/mergable
  - [X] Tests pass
  - [X] Sign [CLA](https://influxdata.com/community/cla/) (if not already signed)

Connect #

* When clicking on the upload file button in the write data form, nothing
  happens. This is because the div with the outline that says "Drag & Drop a File
  to Upload" is positioned in front of the button with opacity 0, so clicks
  intended for the button are just clicking on that transparent div instead.
* If you drag a file over the window then cancel the drag (usually by pressing
  ESC), the window will not return to its previous state, but stay with the drag
  & drop prompt until the page is reloaded.

* Make it so the drag & drop prompt is always present and the button is moved
  to be below the outlined prompt. The button label has also been changed to
  more closely match that of the drag outline.

Before:

![before screenshot](https://www.dropbox.com/s/t3j76wagracjw99/chronograf-drag-before.png?dl=0)

After:

![after screenshot](https://www.dropbox.com/s/6e68rgba8fq59jw/chronograf-drag-after.png?dl=0)

* Add an `onDragExit` handler to handle the case where the drag is exited
  rather than left.

Signed-off-by: Nathan L Smith <smith@nlsmith.com>
2017-08-11 19:16:20 +00:00
Alex P 054fa43f3c Add button to cell for improved user experience 2017-08-11 11:49:50 -07:00
Nathan L Smith 7de81b4bde Improvements to npm scripts
When trying to run `npm run test:dev`, I noticed that `nodemon` was not found,
so that task will not work unless you've done `npm install -g nodemon`.

Replace `nodemon`, which would watch for changes to files and restart
Karma, with [concurrenty](https://www.npmjs.com/package/concurrently) and
[eslint-watch](https://www.npmjs.com/package/eslint-watch).

The NPM scripts also had some full paths to binaries that were not necessary
which have been replaced with the shorter versions, and short configuration
options that have been replaced with longer ones for readability (`-w` vs
`--watch`, etc.)

The `eslint` package was updated to remove a warning about an incorrect peer
dependency with `eslint-plugin-prettier`.

Signed-off-by: Nathan L Smith <smith@nlsmith.com>
2017-08-11 01:53:37 +00:00
Andrew Watkins 38224d3a16 Move EmptyQuery to shared dir 2017-08-10 18:23:33 -07:00
Andrew Watkins 47aae8e285 Add accidentally removed prop 2017-08-10 18:20:04 -07:00
Andrew Watkins 6f0c77a51c Make QueryTextArea and QueryStatus components 2017-08-10 17:26:38 -07:00