Commit Graph

2955 Commits (0cb5523f5b4fef24576147f4ce07c7e9ee74fa0c)

Author SHA1 Message Date
Andrew Watkins ed0fc2603e Update RuleMessageOptions 2017-08-17 09:33:40 -07:00
Andrew Watkins a70014352e Update RuleMessage to remove anyonymous functions from props 2017-08-17 09:33:40 -07:00
Andrew Watkins f29db011e5 Update AdminPage to use arrow function properties 2017-08-17 09:33:39 -07:00
Andrew Watkins 173621b56d Update Templating use arrow func properties 2017-08-17 09:33:39 -07:00
Andrew Watkins ed1182769b Update DataExplorer Table component 2017-08-17 09:33:39 -07:00
Andrew Watkins 18612c9096 Update data explorer to use arrow function properties 2017-08-17 09:33:39 -07:00
Andrew Watkins 9b2aa48a84 Update FancyScrollBar to use arrow properties 2017-08-17 09:33:39 -07:00
Andrew Watkins 2b2f07eb1c Update OptIn component to use arrow func properties 2017-08-17 09:33:39 -07:00
Andrew Watkins 6ab5b77f89 Update AlertTabs component 2017-08-17 09:33:39 -07:00
Hunter Trujillo 43380c06e1 Refactor AlertaConfig. 2017-08-17 09:33:39 -07:00
Hunter Trujillo de4f886170 Refactor PushoverConfig. 2017-08-17 09:33:39 -07:00
Hunter Trujillo a92b1eb95a Refactor HipchatConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo d23dd6a82c Fix constructor on SMTPConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 391348bb8a Refactor OpsGenieConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 9b5eb16d25 Refactor PurgerDurtur. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 151d7d9a09 Refactor SensuConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo e69d0f350f Refactor SlackConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo f765277b75 Refactor SMTPConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 4c56ec5e6a Refactor Talk component and ref handler. 2017-08-17 09:33:38 -07:00
Hunter Trujillo f0c05f083c Refactor ref handler in TelegramConfig. 2017-08-17 09:33:38 -07:00
Hunter Trujillo 317bf4a59a Remove arrow function from ref callback 2017-08-17 09:33:37 -07:00
Andrew Watkins ea9beadc78 Remove :: in prop in MultiselectDropdown 2017-08-17 09:33:37 -07:00
Andrew Watkins 9ab5f28f96 Use arrow function properties in Dygraph 2017-08-17 09:33:37 -07:00
Andrew Watkins 13af7a5a3d Remove arrow function from props in DygraphLegend 2017-08-17 09:33:37 -07:00
Andrew Watkins 74c73654bf Remove deprecated component 2017-08-17 09:33:37 -07:00
Andrew Watkins fde1f478f4 Remove arrow functions from props 2017-08-17 09:33:37 -07:00
Andrew Watkins 4b914c0f5c Remove arrow function from props in RedactedInput 2017-08-17 09:33:37 -07:00
Andrew Watkins 5d88f95d25 Remove anonymous fucntion from props in DatabaseRow 2017-08-17 09:33:37 -07:00
Andrew Watkins 6a5155628f Add arrow function properties to database admin 2017-08-17 09:33:37 -07:00
Andrew Watkins d09c486ecd Update TagKeyDropdown component to use arrow function properties 2017-08-17 09:33:36 -07:00
Andrew Watkins 60a2edf71c Ignore ref binds 2017-08-17 09:33:36 -07:00
Andrew Watkins 388093d498 Use arrow function properties in DatabaseRow 2017-08-17 09:33:36 -07:00
Andrew Watkins bc0283d1a7 Update AutoRefresh component 2017-08-17 09:33:36 -07:00
Andrew Watkins 2686fc7b31 Update Notifications component 2017-08-17 09:33:36 -07:00
Andrew Watkins c22004b13a Add no binding rule 2017-08-17 09:33:36 -07:00
Andrew Watkins d42593c272 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 13eb4620aa 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 b6c460f73a Rename shared shortcuts.hson to timeRangeShortcuts.hson for specificity 2017-08-16 16:59:58 -07:00
Hunter Trujillo 96647ab208 Reset upper when shortcut is clicked. 2017-08-16 15:47:59 -06:00
Hunter Trujillo f2e1a0fc55 Split out shortcuts into an "hson" file. 2017-08-16 15:42:46 -06:00
Alex P aa26fe18e8 Tweak micro copy 2017-08-16 12:38:58 -07:00
Alex P 5b460d5268 Rework styles to prevent some UI clash 2017-08-16 12:37:36 -07:00
Alex Paxton 929151567c Merge branch 'master' into fix-legend-stat-wrap 2017-08-16 09:40:15 -07:00
Jade McGough 50797b9d4a send ‘service-key’ instead of serviceKey to pagerduty 2017-08-16 00:15:13 -07:00
Jared Scheib e2e684b5e2 Merge remote-tracking branch 'origin/1.3.6.x' 2017-08-15 15:03:20 -07:00
Jared Scheib 8a6f9f3cc1 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 a4ec9f25f5 Fix for 1872 2017-08-15 09:55:31 -07:00
Andrew Watkins e9680e3354 Prettier 2017-08-14 15:46:23 -07:00
Andrew Watkins 85462b2d91 Merge branch 'master' into chore/prop-on-div-error 2017-08-14 15:33:29 -07:00
Andrew Watkins 19fd7f7458 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 9200797839 Merge branch 'master' into nls/drag-fixes 2017-08-14 15:30:57 -07:00
Andrew Watkins 690046ad32 Merge branch 'master' into chore/prop-on-div-error 2017-08-14 15:26:56 -07:00
Jared Scheib 19a0a0ed9d 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 766a3b0273 Fix console spam about prop being placed on div 2017-08-14 15:20:21 -07:00
Hunter Trujillo 9edece4a3a Merge pull request #1860 from smith/nls/npm-script-fixes
Improvements to npm scripts
2017-08-14 16:16:00 -06:00
Andrew Watkins 5c4cef1768 Fix auto refresh not rendering No Results when appropriate 2017-08-14 15:12:21 -07:00
Alex Paxton 7ab550b77c 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 e9a1fd4910 Merge pull request #1855 from influxdata/experiment/separate-data-explorer
REFACTOR:  Visualization / QueryBuilder components
2017-08-14 14:49:49 -07:00
Andrew Watkins 21a0143d44 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 e4b8683323 Move SchemaExplorer to shared dir 2017-08-14 14:29:11 -07:00
Andrew Watkins 90c93cf9e9 Move DB, Meas, and Field List components to /shared 2017-08-14 14:27:10 -07:00
Andrew Watkins 942855cef3 Implicitly return from sfc 2017-08-14 14:23:07 -07:00
Andrew Watkins c34770091d Use spread instead of concat 2017-08-14 14:20:46 -07:00
Andrew Watkins 0ed9b8199c Rename component 2017-08-14 14:17:34 -07:00
Andrew Watkins 97be9399ff Add templates back to query text editor 2017-08-14 14:15:48 -07:00
Andrew Watkins fee6b5e6b5 Remove unused props 2017-08-14 14:02:21 -07:00
Andrew Watkins 72a487b3d8 Merge branch 'master' into fix/1633-windows-uptime-status 2017-08-14 13:23:38 -07:00
Hunter Trujillo f1f65d0b41 Merge branch 'master' into fix/ie11-support 2017-08-14 12:47:58 -06:00
Hunter Trujillo a47722d2bc 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 dda79d809e
Update CHANGELOG and version for v1.3.6.1 2017-08-14 14:27:18 -04:00
Luke Morris 37faf0582f No longer need to bind component class methods + cleanup 2017-08-11 19:42:33 -07:00
Luke Morris bcf38a0339 Target can be either grooveKnob or its container 2017-08-11 19:27:35 -07:00
Jared Scheib b3ca53628d WIP Remove Timeouts to make OptIn simpler and more reliable 2017-08-11 17:57:33 -07:00
Andrew Watkins 30e38e94e9 Merge branch 'master' into experiment/separate-data-explorer 2017-08-11 15:04:17 -07:00
Jared Scheib 74d2f160fa WIP Wire up OptIn input with basic onClickOutside 2017-08-11 14:48:29 -07:00
Andrew Watkins f3072b97f5 Remove unused props and proptypes 2017-08-11 14:45:31 -07:00
Andrew Watkins 1146130c4a Rename handler 2017-08-11 14:42:03 -07:00
Andrew Watkins 246857eadd Remove template variable logic from DataExplorer 2017-08-11 14:38:55 -07:00
Andrew Watkins c83254de88 Move QueryStatus component to shared dir 2017-08-11 14:31:25 -07:00
Andrew Watkins 750c851093 Use QueryStatus component 2017-08-11 14:29:17 -07:00
Andrew Watkins e921a312a4 Remove QueryBuilder component
Dont worry!  It's been replaced by smaller more
reusable components.
2017-08-11 14:19:04 -07:00
Andrew Watkins 256a8839bc Break QueryBuilder into smaller components 2017-08-11 14:18:24 -07:00
Andrew Watkins 30491af8b3 Make DataExplorer's QueryMaker an SFC 2017-08-11 14:05:58 -07:00
Jared Scheib 5c7dfd77ba Update boolean names to be more semantic 2017-08-11 13:58:20 -07:00
Andrew Watkins 5e40dc5923 Move QueryTabList to shared dir 2017-08-11 13:57:50 -07:00
Jared Scheib 3ed84ca3cf Remove unused prop 2017-08-11 13:56:15 -07:00
Jared Scheib 85601a179e Remove obsolete comments 2017-08-11 13:53:50 -07:00
Andrew Watkins 041265008c Use QueryTabList component 2017-08-11 13:53:13 -07:00
Andrew Watkins f9686f4a9a Move handlers into parent 2017-08-11 13:47:51 -07:00
Jared Scheib 044153a63e Make syntax more sugary 2017-08-11 13:46:29 -07:00
Andrew Watkins 06450854c8 Remove unused class property 2017-08-11 13:36:52 -07:00
Andrew Watkins 31d83ec9ab Remove templates from DataExplorer 2017-08-11 13:34:27 -07:00
Nathan L Smith 84982f60a6 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 2bcee88692 Add button to cell for improved user experience 2017-08-11 11:49:50 -07:00
Nathan L Smith 56f322ec4a 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 ab4ade6fcb Move EmptyQuery to shared dir 2017-08-10 18:23:33 -07:00
Andrew Watkins a6a5346fee Add accidentally removed prop 2017-08-10 18:20:04 -07:00
Andrew Watkins 7ec2b47044 Make QueryTextArea and QueryStatus components 2017-08-10 17:26:38 -07:00
Andrew Watkins 6c9b433e59 Rename QueryEditor to QueryTextArea 2017-08-10 17:19:48 -07:00
Andrew Watkins d258c23907 Separate QueryEditor from SchemaExplorer 2017-08-10 17:10:38 -07:00