Commit Graph

19 Commits (0b92883989468d7ef79aed09dbfe9cc4bca0e176)

Author SHA1 Message Date
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
Michael Desa 9cd615b226 update dependencies by removing ifql and adding platform 2018-05-31 15:16:02 -04:00
Brandon Farmer 8c90f003ff Update kapacitor dependency 2018-05-18 16:16:20 -07:00
Iris Scholten 36117545a8 Update Kapacitor dependency to rc4 and run dep ensure 2018-05-15 14:57:22 -07:00
Iris Scholten 398b60b8ec Update Kapacitor dependency to v1.5 rc 2 2018-05-03 16:21:01 -07:00
Iris Scholten 9c88222735 Add and update Kapacitor vendor files from running dep ensure after changing the Kapacitor vendor hash to the v1.5 rc tag 2018-04-18 16:13:50 -07:00
Brandon Farmer 7ee78603ee Update revision for ifql and fix tests 2018-03-29 16:01:01 -07:00
Jared Scheib 2fe13ee766 Upgrade golang oauth2 dep to include okta support 2018-03-07 16:39:55 -08:00
Edd Robinson 016f2680ed 😱 2018-02-08 15:41:29 +00:00
Chris Goller 9374268878 Fix translation of pushover, http, tcp, log, exec alerts to tickscript 2017-12-12 18:20:38 -06:00
Chris Goller 1f9c3654aa Update kapacitor vendoring to 6b3dc1247fd3e1c2a329b24ea6a0665fa6cf37c1
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-11-30 16:32:47 -06:00
Chris Goller 34ee885316 Update kapacitor to latest json-pipeline fixes 2017-11-17 16:24:52 -06:00
Chris Goller a8ca2c2a21 Update kapacitor to 1.4.0rc0 2017-11-17 16:17:15 -06:00
Chris Goller 4f7710454a Fix several kapacitor validation failures 2017-11-07 16:02:02 -06:00
Tim Raymond d94911f1b3 Add tests for Dashboard protobuf & misc renaming
There were previously no tests around Dashboard serialization to
protobuf, so this patch adds coverage for that. Also, the `go-cmp`
package has been introduced to replace our usage of `reflect.DeepEqual`
going forward because it has better comparison features that make it
more stable across Go versions and produces nice diffs in tests when
they fail, reducing the need for debug lines and manual inspection.
2017-07-24 14:04:23 -04:00
Chris Goller 3aaaaf44e9 Update vendored kapacitor to 1.3.1 2017-07-14 21:07:05 -05:00
Chris Goller 748ed123f4 Update dep files to stable format 2017-07-14 20:14:35 -05:00
Chris Goller ba30cff8d7 Update vendoring and makefile to remove gdm 2017-05-16 17:16:41 -05:00
Chris Goller c7618acd2e Add godep and vendoring 2017-05-16 17:16:41 -05:00