Commit Graph

4597 Commits (ffc6eeab22cbc2c760e129ef77b8a2f3fbfb240c)

Author SHA1 Message Date
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
Jared Scheib 26847e0316 Update changelog 2017-08-11 13:34:26 -07:00
Alex P c1f855b273 Updoot changelog 2017-08-11 13:33:51 -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
Jared Scheib 974e9eaf7d Add 'type' to new-sources server flag example 2017-08-11 11:54:16 -07: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 718c1085a9 Update CHANGELOG 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
Jared Scheib 5645ba5405 Update changelog 2017-08-10 11:36:53 -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