Commit Graph

544 Commits (0b3abedf78b2122896d6ae9eecc508640d55e6e8)

Author SHA1 Message Date
Christopher Henn 435b57507f Remove explicit injection of TimeMachineContainer 2018-10-04 16:09:55 -07:00
Christopher Henn 681b1dcf2c Require explicit submit action in Flux builder 2018-10-04 13:42:09 -07:00
Christopher Henn 110eed22e6 Fix inability to rename a dashboard cell
Also removes redundant query config building in CEO.
2018-10-02 13:11:13 -07:00
Iris Scholten f0d4f29f4c Treat flux service as a part of source 2018-10-01 12:44:46 -07:00
Christopher Henn dd44e48238 Port query config tests to new TimeMachineContainer 2018-09-27 15:15:25 -07:00
Iris Scholten 3d99060582 Move TimeMachine state to new state container
Co-authored-by: Iris Scholten <iris@influxdata.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-09-27 13:12:19 -07:00
Delmer c56165bc0b
Fix meta query table (#4499)
Update table graph to render meta queries

* Add meta query response
* Fix meta query table graphing
* Fix meta query table transformation
* Update table graph error rendering
* Fix tests
* Fix nothing showing up if fix first data is true and there's only one visible column
* Add error throwing timeSeriesToTableGraph test

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-09-25 16:09:07 -04:00
Christopher Henn e757c834d3 Show raw data when "View Raw Data" is toggled 2018-09-24 15:59:54 -07:00
Brandon Farmer d95bc6979d
Merge pull request #4491 from influxdata/polish/flux-editor-stays-selected
Flux editor stays selected when text changes
2018-09-24 13:07:10 -07:00
Deniz Kusefoglu 7e2c7877bb Add validation to Alert Rule message templates 2018-09-24 10:52:34 -07:00
Brandon Farmer 7cb598e13b Flux editor stays selected when text changes 2018-09-24 09:55:21 -07:00
Iris Scholten 9f8d3983e3
Show flux results in table graph (#4461) 2018-09-17 18:35:10 -07:00
Deniz Kusefoglu ad2be7a016
Merge pull request #4459 from influxdata/enhancement/send-to-dashboard
Fix notifications and dashboard getting in send to dashboard.
2018-09-17 12:11:55 -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
Deniz Kusefoglu 292d1ef75f Call getDashboards on didMount of SendToDashboard
Fix notifications when sending cell to dashboard

Update Snapshots
2018-09-17 11:04:36 -07:00
Alirie Gray 246c6f15c7
Add type property to queries (#4458)
* Add type property to CellQuery model

* Make an enum for QueryType

* Add type property to Query model on backend

* Add query type checking to CEO reducer and Layout

* Update swagger.json docs
2018-09-14 16:24:17 -07:00
Christopher Henn d04c412b91 Remove redundant data fetching from TimeMachine
The `RefreshingGraph` in the DE/CEO already executes the Flux query, so
executing the Flux query when the `TimeMachine` mounts is redundant.

Since data is fetched on every keystroke in the Flux editor, executing
the Flux query when pressing Control-Enter was redundant as well. The
`KeyboardShortcuts` component existed only to facilitate this
interaction, so I have removed it as well.
2018-09-14 13:59:04 -07:00
Iris Scholten b251c9350e
Update Single Stat Vis types to work with Flux data (#4449) 2018-09-13 16:17:16 -07:00
Iris Scholten b92bf60ba5
Update flux dygraph parsing (#4442)
* Update fluxTablesToDygraph parsing

* Move fluxtables to dygraph into a worker job

* Fix FluxGraph to use new fluxTablesToDygraph
2018-09-12 17:59:18 -07: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
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
Brandon Farmer c4e40b7643 Update flux golang dependencies 2018-09-10 15:20:56 -07:00
Delmer a612f97b49
Add regexp and aliases for appname attribute searching (#4389) 2018-09-10 10:24:35 -04:00
Alirie Gray 61a0aea357 Remove FluxPage, related components and route 2018-09-07 12:12:18 -07:00
Alirie Gray d842622160
Save flux query in CEO (#4364)
* Add isSaveable condition for flux query in CEO

* Save flux query to cell in CEO

* Use flux query in Dashboard cell

* Move script state to cellEditorOverlay reducer

* Update Changelog

* Remove feature flag for allowFlux
2018-09-05 17:30:42 -07:00
Christopher Henn f81b63154c Add option to use Unix time formatting in tables 2018-09-05 16:45:15 -07:00
Iris Scholten bba49e9061
Add Visualization Options to DE (#4353)
* Update Children components of DisplayOptions to use props instead of individually connecting to redux and CEO visualization actions updated in prep for DE Vis

* Update DataExplorer to have visualization options

* Update timeSeriesToDygraph to not treat data explorer differently from ceo

* Remove featureflag from vis options in DE

* Update failing tests and rename cellNote to Note

* Update columns for table graph if in ceo or de, but not in dashboard

* Update Changelog

* Remove unnecessary getters from DisplayOptions
2018-09-05 11:49:10 -07:00
Christopher Henn 3f5850ddec Add test for DashboardsPage loading state 2018-09-04 16:12:12 -07:00
Brandon Farmer 0b92883989
Merge pull request #4348 from influxdata/fix/use-buckets
Use bucket instead of db for flux queries
2018-09-04 15:03:04 -07:00
Brandon Farmer 42e6b8a086 Use bucket instead of db for flux queries 2018-09-04 13:09:31 -07:00
Alex Paxton da495a2045
Introduce Reusable Page Component Family (#4339)
* Introduce Page as primary component with subcomponents

* Implement page components in dashboards page

* Introduce Left/Center/Right page header subcomponents

* Refactor PageHeader into full fledged Page component set

* Roll out Page component family across app

* Cleanup

* Refactor test to omit beforeEach()

* Fix and Improve unit test
2018-09-04 09:57:10 -07:00
Iris Scholten eaa481d502
Update data explorer to Look like CEO (#4319)
* Update Visualization to get props from parent and not redux
* Update DataExplorer to use TimeMachine component and function like CEO
* Change dataExplorer to use time range from under dataExplorer in redux
* Change order of template variables
* Move shared actions/thunks between CEO and DE into one shared actions file
* Update tests with new reducers
* Fix types for editQueryStatus
* Remove unused components
* Fix typo
* Add Flux script to dataExplorer
* Update dataexplorer to persist what type of source its using
* Fix failing tests
* Change DE to use autorefresh dropdown from TimeMachineControls
* Update ChangeLog
* Fix failing test
* Remove unnecessary comment
* Provide default data explorer state for flux features
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-08-30 16:10:56 -07:00
Alirie Gray b781d2ece3
View flux editor in the CEO (#4311)
* Add FluxQueryEditor to CEO and move funcs to utils

* Use util functions in FluxPage

* Rename links to fluxLinks in TimeMachine

* Update Changelog

* Replace props with fluxContext
2018-08-29 13:32:59 -07:00
Iris Scholten 411094798e Add timeSelectorDropdown to timeMachine 2018-08-27 10:45:59 -07:00
Alex Paxton fc9cd71939
Introduce Cell Notes & Note Cells (#4257)
* feat: add Note string field to dashboard cells

* wip feat: html escape cell note to help prevent XSS attack

Requires further input to make sure this is effective at its
purpose.

* Add ability to view a cell's note from the cell header

* Make styles less brittle

* Add "chat" icon for use in notes

* Position note using cell X & Y

Avoid overlap with associated cell whenever possible

* New notes are empty strings by default

* Overflow note when contents are large

* Add react-markdown package for displaying markdown

* Display markdown in cell note

* Add a cell note text editor into the CEO

* Improve cell note editor

* Use codemirror placeholder addon

* Add placeholder to note field & foundation of markdown theme

* Add Markdown Cell

* Add initial styles for markdown cell contents

* Add graphic for Note type cell

* feat: add NoteVisibility to DashboardCell

* Add basic markdown syntax highlighting in editor

* Remove comment

* Show note in cell when queries return no data

* Make exception for rule graph

* Update fixtures and resources to fix tests

* Update changelog

* feat: sanitize xss-vulnerable note html

* Polish appearance of code samples in notes and note cells

* Replace ascii with plaintext before passing to markdown renderers

* Move "display when no results toggle" above text field

Less likely to go undiscovered
2018-08-23 14:41:40 -07:00
Delmer 7a1a7eaf1a
Merge pull request #4253 from influxdata/logs/emphasize-search-terms
Enhance logs search term highlighting
2018-08-22 15:51:50 -04:00
Delmer Reed 1af4243d9c Update match sections to accept search pattern 2018-08-22 13:36:16 -04:00
Alirie Gray a807596611 Create SendToDashboardOverlay for Data Explorer page 2018-08-22 10:36:00 -07:00
Delmer Reed 4a23608dfd Add search filter highlighting in query results 2018-08-20 14:39:50 -04:00
Brandon Farmer 442888b9cc
Merge pull request #4244 from influxdata/enhancements/web-workers
Initial implementation of background workers
2018-08-17 20:32:02 -07:00
Brandon Farmer 1a76a29ed2 Initial implementation of background workers 2018-08-17 16:30:57 -07:00
Christopher Henn ec8b63872b Add ability to hide annotations 2018-08-17 13:10:17 -07:00
Delmer Reed e31c430d09 Add attribute filters to log search 2018-08-17 11:43:05 -04:00
Iris Scholten 735c19f0a3 Redesign and Refactor CEO for reuse in DE
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-08-16 16:54:59 -07:00
Iris Scholten 7e8300673a Update failing tests and add test 2018-08-16 09:52:00 -07:00
Delmer 98c28beab8
Merge pull request #4163 from influxdata/enhancement/log-search-operators
Enhance log search params
2018-08-13 16:06:24 -04:00
Delmer Reed e51364df9a Update search phrase extraction 2018-08-13 12:31:15 -04:00
Delmer Reed 6008c21e8c Add tests for log filters 2018-08-13 11:11:51 -04:00
Alirie Gray c9b504f688 Coerce Cell type in updateAxes test and reducer for cellEditorOverlay 2018-08-10 10:56:29 -07:00