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>
* 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
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.
* 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
* 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
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
* 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
* 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
* 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
* 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>
* 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
* 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