Commit Graph

8475 Commits (d508deecec2e941767e9604b1888a1682e1e3dba)

Author SHA1 Message Date
Delmer d508deecec
Fix logs histogram bar click (#4863)
* Fix logs table rendering

* Fix histogram bars

* Add test for finding time option row index

* Remove logs table query counting

* Remove histogram chart fixes

Removes the histogram chart axes changes and bar chart changes.

* Update state query count

* Fix histogram centering

* update changelog
2018-12-07 18:31:50 -05:00
Christopher Henn 1728f2c5e2 Improve display of Flux Wizard on small screens 2018-12-03 14:54:37 -08:00
Delmer 9e171f6df1
Fix logs query error (#4861) 2018-12-03 16:34:53 -05:00
Brandon Farmer 0a98f75cec Provide a default for type and data in RefreshingGraph 2018-11-30 09:51:55 -08:00
Brandon Farmer dbd19ec167
Merge pull request #4853 from influxdata/fixes/update-npmrc
Remove .npmrc file
2018-11-30 09:50:59 -08:00
Delmer 3da5583a30
Fix flux stat graphs (#4856) 2018-11-30 10:25:13 -05:00
Alirie Gray bd256762e3
Merge pull request #4845 from influxdata/fix/skip-kapacitor-connection
Allow skipping add Kapacitor step
2018-11-29 12:33:47 -08:00
Nathan Haugo 5fead1ac58
Update flux functions (#4854)
* Update flux functions

* Update changelog

* Fix link
2018-11-29 12:09:26 -08:00
Brandon Farmer 43dc8e992f Remove .npmrc file 2018-11-29 09:52:38 -08:00
Alirie Gray c2c5a6686f Allow skipping add Kapacitor step 2018-11-28 16:36:44 -08:00
Christopher Henn a5ab75cfb8 Don't display empty data notes when data is loading
Closes #4804
2018-11-15 13:40:17 -08:00
Christopher Henn ab567d292a Fix UUID rendering in table graphs
Second time is the charm for fixing #4726 :)

Closes #4818
2018-11-15 13:40:17 -08:00
Delmer 27f50dcec2
Fix logs loading newer (#4814)
Fix logs loading newer scroll 

* Fix logs loading newer
* Update changelog 1.7.4 bug fixes
2018-11-14 15:01:20 -05:00
Iris Scholten 7beb915a88 Add loading state to protoboards onboarding step 2018-11-13 12:39:18 -08:00
Deniz Kusefoglu a42709090c
Merge pull request #4808 from influxdata/bugfix/add-x-to-wizard-overlay
Remove dismiss text from and add x-to-dismiss to wizard overlay steps
2018-11-12 15:55:38 -08:00
Deniz Kusefoglu 83ba0357f5 Remove dismiss text from and add x-to-dismiss to wizard overlay steps 2018-11-12 15:34:52 -08:00
Christopher Henn a994ab8e78 Fix grouping in canned queries
Chronograf includes a number of canned dashboards, whose cells are predefined
and immutable. A cell in a canned dashboard is called a layout cell, and it has
a slightly different schema than a cell in a user-defined dashboard (called
a dashboard cell).

For legacy reasons, Chronograf is able to render a layout cell or dashboard
cell using the same components via a mix of duck-typing and defensive
programming. [#4488][0] attempted to unify the differences between the two
possible cell schemas by converting a layout cell to a dashboard cell upon
read. This schema conversion was error prone and incomplete.

One difference between a layout cell and dashboard cell that was not handled by
the schema conversion involved the `groupbys` and `wheres` fields in a layout
cell. In a dashboard cell, these data are stored in the `queryConfig` object
instead. The schema conversion omitted these data altogether in the converted
cell, which caused the behavior described in [#4789][1]

This commit changes to schema conversion to include all data from the original
layout cell in the converted cell, so that the `groupbys` and `wheres` fields
are present. Downstream, the `Layout` component will check for these fields
when determining how to build a query for a cell.

This is a messy solution that builds upon previous messy solutions. [#4488][0]
discusses some alternatives, which were deemed not worth the effort to
implement.

[0]: https://github.com/influxdata/chronograf/pull/4488
[1]: https://github.com/influxdata/chronograf/issues/4789
2018-11-12 13:59:06 -08:00
Alirie Gray 794df96f39
Add fieldOptions when creating new cell from SendToDashboard (#4791) 2018-11-12 11:53:33 -08:00
Andrew Watkins 230e4a3c62
fix(db-admin): only handle db state on db create (#4805) 2018-11-12 11:51:49 -08:00
Brandon Farmer 55ba63a98f Fix linting issues in functions contants 2018-11-09 16:19:34 -08:00
Brandon Farmer c59041ea45 Handle basepath issue with missing slash 2018-11-09 16:03:17 -08:00
Lorenzo Fontana ca22ab48ce
fix(flux/pivot): specify the right key for columnKey and valueKey
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-11-08 12:05:21 +01:00
Delmer 0317a51f19
Fix scroll loading indicator (#4767)
Fix hide scroll loading indicator
2018-11-07 15:59:53 -05:00
Andrew Watkins 01fa9c6807
fix(de): show manual refresh if paused (#4769)
* fix(de): show manual refresh if paused

* Add changelog entry
2018-11-07 12:47:29 -08:00
Delmer 9995765354
Reset scrollLeft on search (#4763)
Reset scrollLeft on new search
2018-11-07 15:46:27 -05:00
Christopher Henn 6c30091f5d Fix issue with RuleGraph running unrendered query
The `RuleGraph` was attempting to execute queries without first
rendering the `:dashboardTime:` template variable. This commit ensures
that the `:dashboardTime:` template variable is rendered with the
approriate data.
2018-11-07 09:59:10 -08:00
Christopher Henn 0568bf2ac8 Consolidate metaquery template constants 2018-11-06 16:43:03 -08:00
Christopher Henn 0b1446317f Add cardinality estimate metaquery templates 2018-11-06 16:43:03 -08:00
Deniz Kusefoglu 7b9cd088e8 Use protoboard.templates to create tempvars during pb instantiation
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-11-06 15:37:13 -08:00
Iris Scholten 3bb11ebd7b
Update refreshing graph if inView changes (#4756) 2018-11-06 15:29:22 -08:00
Alirie Gray df5a6cc3e6 Sort dashboard items in SendToDashboardOverlay by name 2018-11-06 13:46:59 -08:00
Brandon Farmer cc6c070988
Merge pull request #4751 from influxdata/fixes/resizable-element-missing
Ensure resizable element has a parent in dygraph component
2018-11-06 13:14:31 -08:00
Brandon Farmer 5b708b2e24 Ensure resizable element has a parent in dygraph component 2018-11-06 13:05:08 -08:00
Iris Scholten df7f3b3b7e
Merge pull request #4750 from influxdata/fix/functions-click
Fix click to add for flux functions
2018-11-06 13:03:35 -08:00
Iris Scholten 861deeb63a
Merge pull request #4748 from influxdata/fix/postfix-lines
Clear old dygraphs before redrawing
2018-11-06 12:46:54 -08:00
Iris Scholten 75afa76c88 Fix click to add for flux functions 2018-11-06 12:44:29 -08:00
Alirie Gray 335248c0fd
Add check for undefined value in single stat component (#4741) 2018-11-06 12:10:30 -08:00
Iris Scholten 5817e48fc4 Clear old dygraphs before redrawing 2018-11-06 11:34:32 -08:00
Brandon Farmer 7b6da09f8f
Merge pull request #4747 from influxdata/fixes/resizing-unmounted-dygraph
Make sure dygraph is available to resize
2018-11-06 11:29:50 -08:00
Delmer 5648e46fbc
Fix switcher links case ordering (#4745)
Fix switcher links ordering

* Update switcher links to sort without casing
* Update changelog 1.7.0 ui improvements
2018-11-06 14:23:30 -05:00
Brandon Farmer bf3adf6ce6 Make sure dygraph is available to resize 2018-11-06 11:14:42 -08:00
Delmer b1d3dcd5c1
Add missing measurement status (#4744)
Add missing syslog status for logs page

* Add missing measurement status
* Update changelog 1.7.0 ui improvements
2018-11-06 13:56:22 -05:00
Brandon Farmer a84079fa97
Merge pull request #4743 from influxdata/fixes/flux-editor-indention
Properly handle update script in code mirror
2018-11-06 09:49:14 -08:00
Andrew Watkins 9537cb3ca0
fix(sources): call to GET /sources hanging (#4731) 2018-11-06 09:17:02 -08:00
Brandon Farmer 22a8e519b2 Properly handle update script in code mirror 2018-11-05 17:04:26 -08:00
Deniz Kusefoglu acd7c07354
Merge pull request #4736 from influxdata/bugfix/prevent-wizard-jumping
Prevent step jumping in the wizard if no source
2018-11-05 16:58:40 -08:00
Christopher Henn dc7a986224 Fix Flux tag keys metaquery
See [0] and [1].

[0]: https://github.com/influxdata/applications-team-issues/issues/233
[1]: https://github.com/influxdata/platform/issues/1304
2018-11-05 16:29:16 -08:00
Christopher Henn 7a12243c51 Handle empty dropdown case in Flux Script Wizard 2018-11-05 16:22:45 -08:00
Daniel Campbell 72807076d7
Fix Slow Threesizer (#4742)
* Update ref to use createRef

* Connect toolbar once instead of each function
2018-11-05 16:16:08 -08:00
Deniz Kusefoglu ab6bab291f Prevent step jumping in the wizard if no source 2018-11-05 15:53:44 -08:00