Commit Graph

39 Commits (da16498bb51259497afe669a144bf14381d2987b)

Author SHA1 Message Date
greg linton 67776112d1 fix: use influxdata url that happens to have the correct cors headers 2020-02-04 15:44:59 -07:00
greg linton b4e3792984 fix: update api to serve dashboard ids as a string
- state type of dashboard id as string in ui
- remove dangerous idNormalizer (converts numbers to strings and visa versa)

Thanks bucky (hoorayimhelping)
2020-01-31 14:35:39 -07:00
Andrew Watkins 9a827450aa Remove automatic y2 axis 2018-10-30 15:06:19 -07:00
Iris Scholten f0d4f29f4c Treat flux service as a part of source 2018-10-01 12:44:46 -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
Deniz Kusefoglu c647798c3d Fix linter errors 2018-08-09 13:54:27 -07:00
Christopher Henn 7e20617d17 Fix failing replacement tests
Since all tests shared the same `emptyTemplate` fixture, the `id` used
for each template in the graph construction was being clobbered.
2018-07-17 15:53:36 -07:00
Andrew Watkins e17105151c Update Layout to TS 2018-07-16 10:01:34 -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
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 1c7ad016fa Merge remote-tracking branch 'origin' into tempvars/select-default 2018-06-29 13:03:19 -04:00
Andrew Watkins 905dce7140 Calc auto group by on the frontend 2018-06-27 17:05:35 -07: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
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
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 4287c573e4 Type dashboard test 2018-06-08 15:11:16 -07:00
Andrew Watkins ed4a6f24e5
Change IFQL to Flux 2018-06-05 10:57:19 -07:00
Andrew Watkins 4326855844 Persist ifql script
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-22 14:50:07 -07:00
Andrew Watkins 2dc26ad81a Fix type errors 2018-05-21 10:45:28 -07:00
Andrew Watkins 484a05319c Give services their own namespace in app state 2018-05-21 10:45:28 -07:00
Andrew Watkins d249fd6d9b WIP Introduce LOAD_SERVICES 2018-05-21 10:45:28 -07:00
Jared Scheib 7e05835b9c Test HostsPage render all components & hosts
Update Source & SourceLinks types to be current with all fields.
Properly mocked hosts & env mock api fns for spying.
Add note about kapacitors field on Source type differing
between client and server.

Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-17 17:41:41 -07:00
Iris Scholten 9ab401625b WIP test hostsPage async proxy request calls
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-16 18:29:16 -07:00
Iris Scholten 61914a6431 Add test for defaultRP in the UI on SourceForm
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-11 17:12:49 -07:00
Andrew Watkins 09ccd3b152 Add test resources 2018-04-06 17:56:02 -07:00
Andrew Watkins 487cdb3105 Move DataExplorer to TypeScript 2018-04-04 15:39:34 -07:00
Andrew Watkins a2a5d9bd14 Add inital tests 2018-04-03 21:10:06 -07:00
Jared Scheib 5e4a60f96d Add kapacitor rule test resource that has no query 2018-03-20 18:40:44 -07:00
Jared Scheib 6feb258c64 Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-16 21:05:01 -07:00
Jared Scheib 68a0716bfc Add more kapacitor rules test data 2018-03-16 14:37:03 -07:00
Andrew Watkins 37f3043dee Introduce AllUsersPage test 2018-03-15 16:44:18 -07:00
Andrew Watkins dc8902c62a Add insecureSkipVerify to default kapacitor 2018-03-14 17:23:34 -07:00
Jared Scheib d9290f36a8 Add dummy data for KapacitorRules component test
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2018-03-13 18:34:34 -07:00
Andrew Watkins 3f69abb9af Add more tests 2018-03-13 10:13:04 -07:00
Andrew Watkins f528e74a5e WIP Introduce KapacitorPage test 2018-03-13 10:11:11 -07:00
Andrew Watkins 11c505eb65 Add first successful TypeScript test 2018-03-05 08:46:23 -08:00