Commit Graph

4758 Commits (7db369d826782b1a355701355577aaa512b9f031)

Author SHA1 Message Date
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
Jared Scheib 7012674cc3 Update changelog 2017-08-11 13:34:26 -07:00
Alex P 03b6e62782 Updoot changelog 2017-08-11 13:33:51 -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
Jared Scheib 812de33be0 Add 'type' to new-sources server flag example 2017-08-11 11:54:16 -07: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
Andrew Watkins f9fb707cb9 Make the QueryBuilder an SFC and rename it to SchemaExplorer 2017-08-10 16:51:40 -07:00
Andrew Watkins 12ed98d18c Move active query logic to container 2017-08-10 16:51:40 -07:00
Andrew Watkins 25482246a8 Move addQuery logic to container 2017-08-10 16:51:40 -07:00
Andrew Watkins 0fc115b2ed Make QueryMaker an SFC 2017-08-10 16:51:40 -07:00
Andrew Watkins bbd58716e4 Move empty state to separate component 2017-08-10 16:51:40 -07:00
Andrew Watkins 7f4086813a Remove unused packages and props 2017-08-10 16:51:40 -07:00
Andrew Watkins 2f710b5c6a Pull out tab list into separate component 2017-08-10 16:51:40 -07:00
Andrew Watkins f249702812 WIP moving query maker to sep component 2017-08-10 16:51:40 -07:00
Andrew Watkins 1b39aeca88 Remove unused props and simplify prop names 2017-08-10 16:51:40 -07:00
Andrew Watkins 7397bc7e8c Turn DashVisualization stateless 2017-08-10 16:51:40 -07:00
Andrew Watkins ad5c95a44c Move logic from render and remove VisView 2017-08-10 16:51:39 -07:00
Andrew Watkins 3e44f1f16d Remove table logic from dashboard visualization 2017-08-10 16:51:39 -07:00
Andrew Watkins e9a6145170 Update DataExplorer to extend Component 2017-08-10 16:51:39 -07:00
Andrew Watkins 4f853c752f Pass editQueryStatus action creator 2017-08-10 16:51:39 -07:00
Andrew Watkins 0cfec67554 Update CHANGELOG 2017-08-10 16:51:39 -07:00
Andrew Watkins 672872b821 Pixel perfect 2017-08-10 16:51:39 -07:00
Andrew Watkins 3dbd2c93c2 Change height of table dynamically according to resizer 2017-08-10 16:51:39 -07:00
Nathan L Smith 69e5f98e6a 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
Tim Raymond 5c6c21adf7
Ensure "x", "y", and "y2" axes present
Similar to DashboardCells, this ensures that the "x", "y", and "y2" axes
are always present in a layout's cells.
2017-08-10 13:53:07 -07:00
Tim Raymond 42556a9f5e
Add Label to Layout Cells' Axes
We added a Label to DashboardCells' Axes. This brings Layout Cells into
parity with them.
2017-08-10 13:53:00 -07:00
Tim Raymond 8674368da6
Update Bounds to follow string format
We updated DashboardCell to use string bounds rather than the [2]int64{}
we were using before. This brings the Layout cells to parity with that
2017-08-10 13:52:51 -07:00
Tim Raymond 2f63c1222e
Add Axes to Cells on Layouts
This allows a creator of a layout to specify the visible extents of
graphs for individual cells. For example, a cell displaying a
percentage could be limited to values between 0 and 100.

Existing canned layouts need to updated as a separate step. However,
this adds support for Axes to appear in them as well.
2017-08-10 13:52:43 -07:00
Tim Raymond 12ea15d356
Add test coverage to /layouts endpoint
In anticipation of adding Axes to cells, I wanted some test coverage to
be in place before I made the change.

This covers the happy path case as well as focusing on individual
applications. To come are focusing on a measurement and a test for when
the store is unavailable.
2017-08-10 13:52:26 -07:00
Jared Scheib 192f49da77 Update changelog 2017-08-10 11:36:53 -07:00
Hunter Trujillo bf040bacce Add more integration test instrumentation for Query Builder test. Increase screen test resolution. 2017-08-09 18:03:32 -07:00
Hunter Trujillo 18fc364f9c Finish the second Query Builder test. 2017-08-09 16:13:27 -07:00
Jared Scheib 62e1e52ab8 Refactor setDefaultLabels for clarity 2017-08-09 16:03:31 -07:00
Jared Scheib 38425b4306 Remove faulty update props guard 2017-08-09 15:38:42 -07:00
Jared Scheib 602b11cb2f Rename queries to queryConfigs in DisplayOptions for clarity and accuracy 2017-08-09 15:37:11 -07:00
Hunter Trujillo d7c237f5a9 Integration testing improvements and comments. WIP Query Builder test. 2017-08-09 15:16:15 -07:00
Andrew Watkins 7da02d52d7 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 d43e92dd2b Merge pull request #1851 from influxdata/regression/query-validation
Success / error messages for queries not displaying
2017-08-09 13:52:08 -07:00