Commit Graph

35 Commits (da16498bb51259497afe669a144bf14381d2987b)

Author SHA1 Message Date
Iris Scholten f0d4f29f4c Treat flux service as a part of source 2018-10-01 12:44:46 -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
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
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
Alirie Gray 0f393b8bf3 Flux/connections page (#4026)
* Load services on manages sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Flux dropdown on manage sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add flux connection dropdown with create, select, and update

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Prevent creation of Flux connection with duplicate name

Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add ability to delete a FluxService from the fluxservice dropdown

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Change FluxPage to use the active flux connection set by FluxConnectionPage

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Ensure that only flux services are loaded into redux services

* Polish styles for Flux Connection Page

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add pingflux as a part of adding and updating a flux service

Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Swagger routes and definitions for Service endpoints

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace flux overlay with redirect to flux connections pages

* Add test for FluxConnectionPage

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace hard-coded string with enum

* Use active from metadata instead of service object in ServiceDropdown

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add generic for getDeep on service metadata property

* Capitalize enum constant values in FluxFormMode

* Show error notification when user reaches edit route for nonexistant flux

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add tests for FluxDropdown

* Update types for async functions
2018-07-26 18:16:02 -07:00
Andrew Watkins e17105151c Update Layout to TS 2018-07-16 10:01:34 -07:00
Alirie Gray 7d52997630 Switched value and color properties of log config in tests 2018-07-12 11:28:22 -07:00
Iris Scholten e389b3343a
Merge pull request #3873 from influxdata/logs-viewer/severity-colors
Logs viewer Configs - severity colors
2018-07-11 10:21:25 -07:00
Iris Scholten fc09dfa9cd Add severityColorOptions to logConfig
Update transformation utils and tests
Update constants and components to use new type structure
2018-07-10 14:07:38 -07:00
Andrew Watkins dc43e09e9e Do not display Roles or Users page if connected to LDAP source 2018-07-09 14:56:27 -07:00
Iris Scholten 45791889c9 Connect UI and Server for Log Viewer table configs 2018-07-02 18:09:21 -07:00
Delmer Reed 225f91e998 Rename TemplateValue picked to localSelected
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-02 17:01:03 -04:00
Delmer Reed b1932352c9 Rename default to selected and use picked as an ephemeral ui value
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-27 17:17:09 -04:00
ebb-tide 7cd3e79904 Merge branch 'master' into feature/upload-template-var-csv 2018-06-26 11:25:09 -07:00
Jared Scheib 5d4c65049f Merge duplicate imports in test fixtures file 2018-06-25 15:49:58 -07:00
Alirie Gray 8909b2e4a5 Enable selection of default values for tempvars
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-22 19:26:38 -07:00
Jared Scheib 3e7ac9c221 Rename types/dashboard.ts to plural for consistency 2018-06-22 18:08:57 -07:00
Alirie Gray db3cca42fd Replace separate CSV manual and file entry dropdowns with one builder type that accepts both
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-22 12:50:16 -07:00
ebb-tide c86904f071 Convert CSV TemplateType to CSVManual
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-20 17:15:40 -07:00
Christopher Henn 2d3871e682
Introduce new template variables UI
PR: #3683
2018-06-18 07:16:08 -07:00
Andrew Watkins 643172c4ca CEO reducer and misc 2018-06-15 14:11:10 -07:00
Andrew Watkins 4287c573e4 Type dashboard test 2018-06-08 15:11:16 -07:00
Iris Scholten 0b0d7524b2 Merge remote-tracking branch 'origin/master' into fix/ceo_source_change 2018-05-21 17:20:53 -07:00
Iris Scholten 82ba619ff5 Fix source selection & CEO initialSource to always be Source type
Refactor lodash get usage in CEO to use wrapped get that
requires generics. Nested generics were at the root of
not being able to determine that initialSource() was not
always returning a Source, and was instead returning a string.

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-21 15:58:19 -07:00
Andrew Watkins 2dc26ad81a Fix type errors 2018-05-21 10:45:28 -07:00
ebb-tide bbebbb2dc4 Merge branch 'master' into chore/tables-to-TS 2018-05-16 20:02:54 -07:00
Jared Scheib c2532d06b6 Type dashboards/constants/index 2018-05-14 14:44:42 -07:00
Jared Scheib c728cf240f Type dashboards/graphics/graph & move cell types to types/dashboard 2018-05-11 14:51:47 -07:00
Jared Scheib d4bfb89e96 Type cellEditorOverlay actions & cellTypes 2018-05-11 13:46:51 -07:00
ebb-tide beca4d3c44 Place table options in dashboard types 2018-05-10 11:36:50 -07:00
ebb-tide b025f4f226 Remove untitled cell names other than "Untitled graph" 2018-05-03 16:41:37 -07:00
Iris Scholten 95e1c6abf5 Simplify syntax in fixtures files 2018-05-02 14:57:49 -07:00
Iris Scholten d56623f8db Update fixtures for tests 2018-05-02 14:57:49 -07:00
Iris Scholten 99d32ed521 Fix missed conflic and update types and fixtures based on type changes from master 2018-05-01 15:53:18 -07:00
Iris Scholten d1f99bde8f Add test for cell editor overlay to check that isQuerySupportedByExplorer is getting passed down when a user-defined tempvar is getting used in query 2018-05-01 15:33:55 -07:00