Commit Graph

1106 Commits (291121c0aebc1046f257b911ed62c32a25b8ceac)

Author SHA1 Message Date
Deniz Kusefoglu 291121c0ae Update Changelog 2018-11-13 11:55:14 -08:00
Iris Scholten d722bb0401 Update Changelog 2018-11-13 09:35:41 -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
nathan haugo c9a5d5094e Add changelog entry for pr 4798 2018-11-09 16:52:18 -08:00
Brandon Farmer 9ebfa9733c Update changelog 2018-11-09 16:12:42 -08:00
Lorenzo Fontana 286d23dee4
Merge pull request #4776 from fntlnz/flux/fix-pivot-keys
fix(flux/pivot): specify the right named parameters for columnKey and valueKey
2018-11-09 15:55:44 -08:00
Deniz Kusefoglu e8477120fb Add protoboards bugfix to 1.7.3 release list 2018-11-08 17:56:28 -08:00
Deniz Kusefoglu d9f2b32414 Update Changelog to include 1.7.2 release 2018-11-08 12:20:20 -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
Brandon Farmer 0dad60b297 Update changelog 2018-11-07 12:29:49 -08:00
Brandon Farmer adc2818b23 Update changelog 2018-11-07 11:54:55 -08:00
Brandon Farmer a98d147dc9 Add changelog for protoboards env fix 2018-11-07 11:07:33 -08:00
Christopher Henn 04f8f0e33d
Update CHANGELOG.md 2018-11-07 10:05:59 -08:00
nathan haugo a5d0f606a8 Clean up CHANGELOG for 1.7.0 2018-11-06 16:56:08 -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
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
Jared Scheib 38d86b8945 update changelog for be8bed17c 2018-11-05 15:19:34 -08:00
Delmer 7974ed3bbd
Add logs page spinner (#4715)
feat(logs/ui): Add logs page loading spinner
2018-11-05 11:19:52 -05:00
Alirie Gray 247d9f57de
Flatten Flux schema explorer tree (#4659)
* Use category tree to build schema explorer

* Remove expander from tag value list item

* Prevent clicking tag value item from closing tag values

* Remove input from under TAGS item in schema explorer

* Search for fields in measurements

* Add loading state and use search term in fetching tag values

* Add load more tag values button and debounce tag values search

* Add error handling to flux schema explorer
2018-10-30 13:24:21 -07:00
alexpaxton d9ebfb7003
Remove Markdown Shadows and Prefix/Suffix Limits (#4665)
* Remove shadow from markdown cells

* Remove prefix and suffix character maximums

* Updoot changelog
2018-10-29 13:06:24 -07:00
Delmer e5ae30127a
Add logs hostname (#4645)
fix(logs/table): add hostname column

* Guarantee hostname column exists on logviewer config
* Add hostname field to ui utils
* Update integrations server test
* Update changelog 1.7.0

Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-10-25 16:42:29 -04:00
Delmer fca25f942e
Fix logs scrollbar (#4640)
fix(logs/scroll): fix the horizontal scroll bar

* Update grid to have minWidth
* Fix logs scrollbar position
* Clean up unnecessary handlers
* Update 1.7.0 changelog

Co-authored-by: Alex P <thealexpaxton@gmail.com>
2018-10-25 12:34:02 -04:00
Delmer c17d0ad55c
Fix logs expansion handling (#4621)
* fix(logs/expand): pauses tailing on message expansion
* Fix expanded message wrapping
* Update changelog 1.7.0
2018-10-22 18:29:56 -04:00
Christopher Henn bb388ec236 Fix issue with disappearing alias' 2018-10-18 13:44:07 -07:00
Delmer 18c412a6c1
Fix logs vertical scroll (#4605)
fix(logs/scroll): fix logs scroll in firefox
2018-10-17 13:47:32 -04:00
Delmer 2b1e0c3cf9
Fix logs search race (#4599)
fix(logs/search): Search update race condition
2018-10-17 10:25:26 -04:00
Delmer 7ae6ea8e65
Update logs copy button position (#4525)
Having the button in the lower right created a frustrating UX when the
message was expanded and the user was attempting to copy.

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-10-02 12:59:15 -04:00
Deniz Kusefoglu b6824a2a3d
Merge pull request #4479 from influxdata/bugfix/validate-alert-rule-messages
Add validation to Alert Rule message templates
2018-09-24 11:02:05 -07:00
Deniz Kusefoglu 7e2c7877bb Add validation to Alert Rule message templates 2018-09-24 10:52:34 -07:00
Delmer e91faf6a6f
Update logs loading description (#4452)
* Update logs table loading time and timestamp
* Make time bounds in searching state have gradient text
* Add loading animation
* Add graphic for logs No Results state
* Update CHANGELOG 1.7 UI IMPROVEMENTS
* Update default logs message

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-09-21 15:33:13 -04:00
Edd Robinson a7c1800143 Improve asset loading performance
This commit improves the loading performance of static assets on devices
with low CPU, such as Pies or other embedded devices.

One characteristic of these devices is that they don't often have the
intrinsics available used in gzip compression.

This commit does two things:

  (1) Adds an option to explicitly disable gzip compression of requested
assets.
  (2) Avoids the very expensive URL prefix Handler wrapper if no base
path has been set.
2018-09-19 08:48:06 -07:00
Iris Scholten 9f8d3983e3
Show flux results in table graph (#4461) 2018-09-17 18:35:10 -07:00
Jared Scheib e5f5ccf3e8
Maintain focus on Flux Editor text area when adding nodes via code (#4466)
* fix(flux/components): only autofocus new FuncArg input on user click

* update changelog
2018-09-17 14:42:17 -04:00
Delmer b03e902a4e
Save log wrap/truncate setting (#4454)
Update logs to save user wrap/truncate setting

* Update CHANGELOG 1.7 features
2018-09-14 17:50:58 -04:00
Iris Scholten b251c9350e
Update Single Stat Vis types to work with Flux data (#4449) 2018-09-13 16:17:16 -07:00
Brandon Farmer 03c8c14d2c Provide services to dashboard export 2018-09-13 09:58:54 -07:00
Jared Scheib 46c8baca3a
feat: auto scroll to measurement item in explorer (#4436)
* feat: auto scroll to measurement item in explorer

* update changelog
2018-09-12 18:22:25 -04:00
Jared Scheib 4e99d20032
Add metaquery template generator button to Explorer and Cell Editor (#4433)
* fix: add back meta queries dropdown to DECEO via ActionDropdown

* feat: add ActionDropdown to reusable_ui

* refactor: clean up metaqueries template options

* change button text to 'Metaquery Template'

* update changelog

* Polish

* Extend Dropdown to allow for 2 different modes

* Guard against undefined selectedChild in dropdown

* Make id strings more unique

* WIP Replace ActionDropdown with Regular Dropdown in "ActionList" mode

* remove ActionDropdown since obsolete basedon 5902026
2018-09-12 18:12:56 -04:00
Delmer 0106e5dd1c
Fix query editor rejecting updates (#4429)
* Fix query editor rejecting updates for generated statements
* Fix query editor flickering
* UPDATE CHANGELOG
* Remove isShowingTemplateValues from state derivation
* Fix submission completion clobbering edits
2018-09-12 14:02:23 -04:00
Iris Scholten ceeb3e9b23
Flux in line graphs (#4410)
* Create workers for flux fetch and response decoding

Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>

* Add flux data to linegraph

* Fix error when queryConfigs are undefined

* Add service as prop instead of treating source as either service or source

* Fix raw data view after changing components

* Remove commented code

* Update Changelog

* Fix tests

* Remove unnecessary comment

* Rename timeSeries and data for clarity

* Add try catch around worker jobs

* Add type annotations

* Remove unncessary check

* Update to use descriptive variables
2018-09-11 17:25:24 -07:00
Brandon Farmer 4da0c9f24a
Merge pull request #4422 from influxdata/enhancement/deep-link-flux-de
Allow flux scripts in query string for DE
2018-09-11 16:44:46 -07:00
Brandon Farmer 8080583737 Allow flux scripts in query string for DE 2018-09-11 16:15:59 -07:00
Delmer def4acdfec
Fix query editor flickering on update (#4423)
* Fix query editor flickering on update
* Fix editor to update and focus on tab changes
* Update CHANGELOG UI IMPROVEMENTS
2018-09-11 18:40:57 -04:00
Delmer 9ba557b606
Autofocus dashboard query editor (#4399)
* Fix editor not focusing on mount
* Update query editor to close on blur
2018-09-11 17:51:25 -04:00
Jared Scheib 9b6263e667
Render null data point values in Alerts Table as mdashes (#4408)
* fix: render invalid Alerts Table row data as mdash

create new AlertsTableRow component
refactor Alerts Table rows to use new AlertsTableRow component

* test AlertsTableRow for valid data

render spans for all alerts table row cell values

* update changelog
2018-09-11 11:12:12 -04:00
Deniz Kusefoglu 786d310008 Add loading status indicator to HostsPage
Convert HostsPage and HostsTable to typescript

Display page-spinner if hostpage in loading state

Add error state to HostsPage

Fix tests for HostsPage

Update Changelog

Add missing type definitions to HostsTable
2018-09-10 23:24:09 -07:00