Commit Graph

2955 Commits (300d67c3188ce2cb5642e88367921fb2c9e776e2)

Author SHA1 Message Date
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
Andrew Watkins 8eca27a20f Rename QueryEditor to QueryTextArea 2017-08-10 17:19:48 -07:00
Andrew Watkins b9ee0dece6 Separate QueryEditor from SchemaExplorer 2017-08-10 17:10:38 -07:00
Andrew Watkins 2f1162ce3c Make the QueryBuilder an SFC and rename it to SchemaExplorer 2017-08-10 16:51:40 -07:00
Andrew Watkins 3a153ea1d6 Move active query logic to container 2017-08-10 16:51:40 -07:00
Andrew Watkins fac077914b Move addQuery logic to container 2017-08-10 16:51:40 -07:00
Andrew Watkins dbf7702fb9 Make QueryMaker an SFC 2017-08-10 16:51:40 -07:00
Andrew Watkins c001bcda6b Move empty state to separate component 2017-08-10 16:51:40 -07:00
Andrew Watkins 160fa8663e Remove unused packages and props 2017-08-10 16:51:40 -07:00
Andrew Watkins 2276e9f7cb Pull out tab list into separate component 2017-08-10 16:51:40 -07:00
Andrew Watkins 8dbd407107 WIP moving query maker to sep component 2017-08-10 16:51:40 -07:00
Andrew Watkins 3dbdc5e095 Remove unused props and simplify prop names 2017-08-10 16:51:40 -07:00
Andrew Watkins abcf897626 Turn DashVisualization stateless 2017-08-10 16:51:40 -07:00
Andrew Watkins 538dda3541 Move logic from render and remove VisView 2017-08-10 16:51:39 -07:00
Andrew Watkins a61406b779 Remove table logic from dashboard visualization 2017-08-10 16:51:39 -07:00
Andrew Watkins 1a8d2dd625 Update DataExplorer to extend Component 2017-08-10 16:51:39 -07:00
Andrew Watkins 27c9e0a4e4 Pass editQueryStatus action creator 2017-08-10 16:51:39 -07:00
Andrew Watkins eae327f25d Pixel perfect 2017-08-10 16:51:39 -07:00
Andrew Watkins 08a1fbcfc3 Change height of table dynamically according to resizer 2017-08-10 16:51:39 -07:00
Nathan L Smith 436f5fdb34 Change some remaining npm mentions to yarn
While `npm` is still installed as part of the build process, most of the
scripts and documentation should be using yarn.

Change `npm` to `yarn` where appropriate.

Signed-off-by: Nathan L Smith <smith@nlsmith.com>
2017-08-10 16:51:39 -07:00
Hunter Trujillo 89a92a9cf3 Add more integration test instrumentation for Query Builder test. Increase screen test resolution. 2017-08-09 18:03:32 -07:00
Hunter Trujillo 0509c7bf5c Finish the second Query Builder test. 2017-08-09 16:13:27 -07:00
Jared Scheib af974db098 Refactor setDefaultLabels for clarity 2017-08-09 16:03:31 -07:00
Jared Scheib bd7caa2797 Remove faulty update props guard 2017-08-09 15:38:42 -07:00
Jared Scheib d8963ca813 Rename queries to queryConfigs in DisplayOptions for clarity and accuracy 2017-08-09 15:37:11 -07:00
Hunter Trujillo 0a529ac6b5 Integration testing improvements and comments. WIP Query Builder test. 2017-08-09 15:16:15 -07:00
Andrew Watkins 90c3f94ca3 Merge pull request #1846 from influxdata/embiggen-ceo
Make lower half of CEO flush to the viewport
2017-08-09 14:08:03 -07:00
Andrew Watkins 735de51f88 Merge pull request #1851 from influxdata/regression/query-validation
Success / error messages for queries not displaying
2017-08-09 13:52:08 -07:00
Andrew Watkins 7c092270bc Merge pull request #1845 from influxdata/bugfix/no-table-scroll
BUGFIX: DataExplorer Table scrollbar hidden
2017-08-09 13:44:11 -07:00
Alex P b8ba0f3b40 Add headers in global time dropdown for clarity 2017-08-09 13:38:41 -07:00
Andrew Watkins b82154e0e9 Merge pull request #1823 from smith/nls/yarn
Change some remaining npm mentions to yarn
2017-08-09 13:26:51 -07:00
Andrew Watkins af66bc0a08 Pass editQueryStatus action creator 2017-08-09 13:23:08 -07:00
Andrew Watkins 9506372241 Pixel perfect 2017-08-09 11:29:25 -07:00
Hunter Trujillo 47a4ff9130 Refactor test selectors with data-test attributes. Excellent reduction in complexity. 2017-08-09 01:43:23 -07:00
Hunter Trujillo 5bcfda0665 Add SHOW DATABASES integration test with Nightwatch.js. 2017-08-08 22:43:16 -07:00
Jared Scheib 3fba1ba5b0 Pass default Y label into DisplayOptions
Refactor DisplayOptions into ES6 component
Rename buildYLabel to buildDefaultYLabel
2017-08-08 17:38:19 -07:00
Jared Scheib af643ffafd Invalidate timeouts on componentWillUnmount to prevent console setState error 2017-08-08 17:38:01 -07:00
Alex P 8e944b5f2f Make lower half of CEO flush to the viewport 2017-08-08 17:12:00 -07:00
Andrew Watkins 8b9b6acaf8 Change height of table dynamically according to resizer 2017-08-08 16:33:08 -07:00
Alex P 879581de74 Adjust styles to match UI changes 2017-08-08 14:04:43 -07:00
Alex P 3ef9a6e826 Update changelog and package.json for 1.3.6.x release 2017-08-08 12:03:52 -07:00
Alex P efdc47fffb Revert "Prepare for release"
This reverts commit 2d02f25822.
2017-08-08 11:57:23 -07:00
Alex P 2d02f25822 Prepare for release 2017-08-08 10:53:34 -07:00
Jared Scheib 56800cf2e6 Handle focus and click of input and fixed 2017-08-07 22:08:00 -07:00
Jared Scheib e1e25010f7 Switch style directions and starting side of toggle 2017-08-07 21:54:28 -07:00
Jared Scheib bc375fe3a7 Add labels for OptIns 2017-08-07 21:46:17 -07:00
Jared Scheib 9dd6643ef7 Rename left to fixed and right to custom 2017-08-07 21:46:00 -07:00
Jared Scheib e9e2943e73 Wire up OptIn into DisplayOptions 2017-08-07 21:06:33 -07:00
Jared Scheib e00ccf18bd Comment out click handler for left field until right input is clickable 2017-08-07 18:09:55 -07:00
Jared Scheib 27da957ab9 Rename OneOrAny component to OptIn 2017-08-07 17:32:00 -07:00
Jared Scheib 9503074603 Blur input on Enter key press 2017-08-07 17:22:59 -07:00
Jared Scheib 5c0c457645 Make OneOrAny work as expected, with correct on blur sequencing 2017-08-07 17:06:52 -07:00
Hunter Trujillo c315d9b142 Merge branch 'master' into feature/1685-moving-time-ranges 2017-08-07 16:53:34 -07:00
Alex P 91e0b7dfaf Add "shortcuts" header and rename styles 2017-08-07 15:20:30 -07:00
Alex P 0dc6c57e85 Change label to be less generic 2017-08-07 15:19:57 -07:00
Alex P 313b24e978 Make time range dropdown wide enough to accommodate a custom range 2017-08-07 15:18:45 -07:00
Andrew Watkins 3482246b96 Add hashing logic to componentDidUpdate
If we dont run the hashing logic during component update
series added after component mount wont necessarily line up with their hashed
colors.
2017-08-07 12:56:22 -07:00
Nathan L Smith 0e297de362 Change some remaining npm mentions to yarn
While `npm` is still installed as part of the build process, most of the
scripts and documentation should be using yarn.

Change `npm` to `yarn` where appropriate.

Signed-off-by: Nathan L Smith <smith@nlsmith.com>
2017-08-07 19:28:23 +00:00
Jared Scheib 428fc017b8 Prevent coercion of zero to false 2017-08-07 11:06:38 -07:00
Hunter Trujillo b4f724201d Merge branch 'master' into fix/graph-fixes
# Conflicts:
#	ui/src/shared/components/Dygraph.js
2017-08-07 09:16:09 -07:00
Hunter Trujillo 09274c7881 Add graphics comments. Fix redundant math. 2017-08-07 09:06:55 -07:00
Hunter Trujillo c7d0c06804 Remove inner modulo from hasherino. 2017-08-07 08:31:11 -07:00
Jared Scheib 1af40c9ac8 Make OneOrAny functional and return only one value
Rename vars and classes for clarity

Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-08-04 20:35:44 -07:00
Alex Paxton 81a85b13ba Create OneOrAny component
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-04 17:53:09 -07:00
Jared Scheib 6f21403ab5 Rename OneOrAny classes and element
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-08-04 17:53:09 -07:00
Alex P 85eb4a2555 WIP "one or any" component
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-04 17:53:09 -07:00
Andrew Watkins c307715840 Merge pull request #1821 from influxdata/fix/alerts_table_keys-1813
Use UUID for AlertsTable element keys to prevent overlap
2017-08-03 19:12:05 -07:00
Andrew Watkins e6ffc0e256 Update function names for fun and profit 2017-08-03 17:22:35 -07:00
Jared Scheib f8b13dcfa3 Clarify and specify var and func names 2017-08-03 15:14:22 -07:00
Jared Scheib 5cd915c19c Use UUID for AlertsTable element keys to prevent overlap 2017-08-03 15:03:13 -07:00
Andrew Watkins e11d2d38aa Pass queryConfig down to Dygraphs so it can make label decisions 2017-08-03 14:50:44 -07:00
Andrew Watkins 47b5f6cf4d Add logic to handle ranges that are submitted as equal 2017-08-03 14:28:58 -07:00
Andrew Watkins 6a0a4fc4fa Rename ranger to AxesOptions 2017-08-03 13:43:46 -07:00
Andrew Watkins fba53666b9 Add user instructions for how to use display options 2017-08-03 12:18:07 -07:00
Andrew Watkins 8e42facc26 Merge branch 'feature/1602-graph-bounds-setting' of github.com:influxdata/chronograf into feature/1602-graph-bounds-setting 2017-08-03 09:40:45 -07:00
Andrew Watkins bfd4ca8a5b Test all things 2017-08-03 09:40:24 -07:00
Jared Scheib bbceece7f5 Add line spacing, reorder import 2017-08-02 18:12:18 -07:00
Andrew Watkins 9ffdec7f44 Add placeholder to label 2017-08-02 16:13:48 -07:00
Andrew Watkins c5ce2e4707 Prevent clobbering of label when bounds are set 2017-08-02 16:11:25 -07:00
Andrew Watkins 442a7fdc21 Default to having a Ylabel class 2017-08-02 16:08:58 -07:00
Andrew Watkins 244d8fecd8 Fix clobbering of other axes fields 2017-08-02 15:50:29 -07:00
Andrew Watkins 3c57d0ce36 Determine if label present via the DOM 2017-08-02 15:42:25 -07:00
Andrew Watkins c5ab1112bb Move building of label to dygraph component 2017-08-02 15:07:54 -07:00
Andrew Watkins e863165019 Cleanup classname 2017-08-02 14:26:05 -07:00
Andrew Watkins 9162293071 Update style logic to use axes labels 2017-08-02 14:16:14 -07:00
Andrew Watkins a9249e04e0 Remove TODO 2017-08-02 14:15:00 -07:00
Andrew Watkins cc34b9c978 Stop adding labels to queries 2017-08-02 14:09:08 -07:00
Andrew Watkins 1fa004664b Add ability for users to specify labels 2017-08-02 14:08:07 -07:00
Andrew Watkins 4062a086ae Fix props error 2017-08-02 12:47:57 -07:00
Jared Scheib 640afb3f55 Revert GrooveKnob addition 2017-08-02 09:41:35 -07:00
Jared Scheib 27bc87eac5 Revert "WIP "one or any" component"
This reverts commit 3897228e30.
2017-08-02 09:40:31 -07:00
Jared Scheib a7c035fdce Revert "Rename classes and element"
This reverts commit b7bb9cb339.
2017-08-02 09:40:22 -07:00
Jared Scheib 31756ec361 Revert "Wire up GrooveKnob to be fully functional"
This reverts commit 69dbd0e988.
2017-08-02 09:39:55 -07:00
Jared Scheib 86d083823c Revert "WIP Pass values from GrooveKnob to parent"
This reverts commit c0cc730857.
2017-08-02 09:38:15 -07:00
Andrew Watkins e1ab849b63 Prettier 2017-08-02 08:45:09 -07:00
Tim Raymond 532a6a8c48 Merge branch 'master' into feature/1602-graph-bounds-setting
Also removed LegacyBounds marshaling since it was no longer necessary

Conflicts resolved:
	bolt/internal/internal.go
	bolt/internal/internal.pb.go
	bolt/internal/internal.proto
	bolt/internal/internal_test.go
	chronograf.go
	server/cells_test.go
	server/dashboards_test.go
	server/swagger.json
2017-08-02 11:29:29 -04:00
Alex Paxton c0cc730857 WIP Pass values from GrooveKnob to parent
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-01 20:43:45 -07:00
Alex Paxton 69dbd0e988 Wire up GrooveKnob to be fully functional
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-01 20:42:29 -07:00
Alex P b7bb9cb339 Rename classes and element 2017-08-01 19:51:20 -07:00
Alex P 3897228e30 WIP "one or any" component 2017-08-01 19:46:11 -07:00
Andrew Watkins ce02479704 Make linter happy 2017-08-01 16:16:24 -07:00