Commit Graph

129 Commits (0b3abedf78b2122896d6ae9eecc508640d55e6e8)

Author SHA1 Message Date
Christopher Henn c17f697cdc Upgrade Parcel, Babel, ESLint, ts-jest, and related 2018-10-05 10:00:33 -07:00
Christopher Henn 8b0ae52e06 Fix issue with unwanted template var replacement 2018-10-01 17:39:18 -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
Christopher Henn 2169b8e35b Upgrade TypeScript to 3.0 2018-09-14 11:24:08 -07:00
Christopher Henn 8e0380c3c1 Upgrade React and Enzyme 2018-09-14 11:24:08 -07:00
Christopher Henn 933b8117d4 Refactor Dygraph component 2018-09-04 13:59:03 -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
Brandon Farmer 1a76a29ed2 Initial implementation of background workers 2018-08-17 16:30:57 -07:00
Christopher Henn 9fc472ee00 Lock down prettier version
Prettier includes breaking changes in semvar minor versions. This
commit locks down prettier to the precise version that we have been
linting files with in the recent past (1.12.1).
2018-07-25 12:37:30 -07:00
Christopher Henn dcf6c7dcc5 Replace webpack with parcel 2018-07-25 11:16:04 -07:00
Alex P 9b6d50cb9e Make tests okay with CSS imports 2018-07-09 15:59:20 -07:00
Christopher Henn 983550cb9e Support nested template variables 2018-07-06 15:04:49 -07:00
Christopher Henn e9b0b78df2
Dynamically render severity colors in log viewer
In preparation of #3753.
2018-06-28 13:22:10 -07:00
Christopher Henn 817e2307c2
Add HistogramChart snapshot tests 2018-06-27 13:15:06 -07:00
Christopher Henn a1b6b507e5
Show stacked histogram in log viewer 2018-06-27 09:25:11 -07:00
Andrew Watkins fd3cd78f0b
Merge pull request #3646 from influxdata/chore/webpack-4
Chore/webpack 4
2018-06-15 09:30:50 -07:00
Andrew Watkins 6080ee867b Update prod config to Webpack 4 api 2018-06-12 11:07:42 -07:00
Andrew Watkins 640fdbe0c5 Remove webpack-on-build plugin 2018-06-11 16:21:59 -07:00
Andrew Watkins a1b7eda7b2 WIP initial upgrade path webpack 4 2018-06-11 14:59:16 -07:00
Jared Scheib 5bf315c0ed Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query 2018-06-11 14:08:57 -07:00
Jared Scheib 62d269e97b Add DefinitelyTyped for react-router-redux v4 2018-06-08 19:51:04 -07:00
lukevmorris 94980fa0e3
Provide a builder UI for a Flux Filter Node (#3615)
* Introduce FilterArgs as a seam

* Selecting a value adds to Script and Preview

* Hydrate FilterArgs dropdown from function body

* Functional operator selector

* Style polish

* Rename Filter/FilterPreview components

* Pull types into flux type file

* Derive Flux Filter UI state directly from AST

* Default func body

* Remove flicker when updating conditions

* Render a div when filter body isn't supported

* Base condition (true) is parseable

* Remove a test file if it doesn't have any tests

* Enable tslint and resolve errors

* Address other PR feedback

* Tests and improved parsing logic

* Add helper text when filter ui falls back to a textarea
2018-06-08 18:36:50 -07:00
Alex P b87d726d9a Merge branch 'master' into flux/explorer-polish 2018-06-06 15:51:44 -07:00
Christopher Henn 958316bec8
Upgrade Jest 2018-06-01 15:49:32 -07:00
Andrew Watkins 2b37494dcb Add IFQL script response parser
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-23 11:30:52 -07:00
ebb-tide bbebbb2dc4 Merge branch 'master' into chore/tables-to-TS 2018-05-16 20:02:54 -07:00
Brandon Farmer 5eb5436f65 Replace fixed-data-table with fixed-data-table-2
fixed-data-table is no longer maintained and was introducing
deprecation warnings on data explorer
2018-05-16 10:04:52 -07:00
ebb-tide 0f5bd2de54 Merge master 2018-05-14 13:08:51 -07:00
Andrew Watkins 02e558c146 Remove the need for ResizableBox 2018-05-12 22:21:49 -07:00
ebb-tide d1d5d2ba68 Merge master 2018-05-10 11:51:01 -07:00
Brandon Farmer 892b1371a3 Provides checkbox for disabling kapacitor services 2018-05-10 00:24:24 -07:00
ebb-tide 3dbc82044b Convert ThresholdsList to TS 2018-05-09 14:47:18 -07:00
ebb-tide 71769d67a6 Convert TableGraph to TS 2018-05-09 13:25:11 -07:00
Andrew Watkins 1e3a036cd9 Fix errors and warnings 2018-04-23 19:45:50 -07:00
Andrew Watkins ba9655af3a Linter 2018-04-23 19:32:07 -07:00
Andrew Watkins e52b552b33 Introduce new context and ExpressionNode component 2018-04-23 17:12:14 -07:00
Andrew Watkins 083591dfa5 WIP convert Crosshair to TypeScript 2018-04-19 10:26:52 -07:00
Brandon Farmer 73e6b791fe Upgrade to react 16 2018-04-18 00:02:00 -07:00
Andrew Watkins 1f4609c9e7 Replace react-codemirror with react-codemirror2 2018-04-16 10:56:53 -07:00
Andrew Watkins 4a09df65ad Add text editor to builder 2018-04-16 10:56:53 -07:00
ebb-tide 3a2f68d8a8 Remove react-sortable-hoc from deps 2018-04-11 16:22:23 -07:00
ebb-tide 82eec3f192 Add newly generated yarn.lock 2018-04-11 14:40:59 -07:00
ebb-tide 84faf0aaef Fix yarn.lock merge conflict 2018-04-11 13:30:04 -07:00
ebb-tide fc5050c04b Merge branch 'master' into table/reorder-columns 2018-04-11 13:13:30 -07:00
ebb-tide f0f0293ac4 Add dnd react types 2018-04-10 18:32:28 -07:00
Alex P 91f0dfeacd Update react-router types 2018-04-10 17:20:01 -07:00
ebb-tide 0a3863d887 Merge branch 'master' into table/reorder-columns 2018-04-09 15:06:54 -07:00
Andrew Watkins 21754a10f9 Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -07:00
ebb-tide edeef2df1e Implement sort with react-dnd 2018-04-05 15:04:14 -07:00
ebb-tide fe8787145c Implement sort with react-sortable-hoc 2018-04-04 20:46:42 -07:00