Commit Graph

1703 Commits (5d826961db7ed0a538cde0ebdbb2244f0f9b7a12)

Author SHA1 Message Date
George b2fe0d1d63
fix(tasks): surface flux errors on pre-auth check (#14492) 2019-07-31 11:46:28 +02:00
Christopher Henn 918ca3ec4f fix(ui): upgrade giraffe to 0.16.2
Closes #14504
2019-07-30 14:33:04 -07:00
Christopher Henn ce68ad800f fix(ui): prevent dashboard cell crash when editing cell
Previously, opening the VEO for a cell on a dashboard would cause the
view for the cell on the dashboard to reload. In turn, this would cause
the dashboard cell to crash.

This commit updates the logic for opening the VEO so that the view is
only reloaded when necessary.

Co-authored-by: Michael Desa <mjdesa@gmail.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2019-07-30 13:55:48 -07:00
Andrew Watkins 86ae43c813
chore(ui/alerts): change notificationRule to rule (#14506)
* chore(ui): change notification rule to rule

* chore(ui/alerts/actions): change from notificationRule to rule

* feat flag

* fix: component name

* fix: no console.log
2019-07-30 11:56:34 -07:00
Christopher Henn 1250be5f80 refactor(ui): inline API type generation
Part of #14482
2019-07-30 09:35:05 -07:00
Deniz Kusefoglu bbc37b4c68
feat: Alerting add alert builder veo state (#14499)
* Define new check, edit check and check view routes with VEO

Co-authored-by: Michael Desa <mjdesa@gmail.com>

* Add task status to other task types

* Put editAlerting route behind feature flag

* add action and reducer for update current check

* Add init edit and new check editor overlay

* Split VEO in to two for new and edit view

* get edit and new CheckEO's ready

* Create getViewForTimeMachine action

* current check should be a partial check

* Fix view typing

* Fix linter errors

* Fix equality

* Catch save VEO errors
2019-07-29 15:54:35 -07:00
alexpaxton 93649a71b5
refactor(clockface): replace local resource list components with Clockface resource list components (#14493)
* refactor(resource-list): replace local labels resource list with Clockface resource list

* refactor(resource-list): replace local variables resource list with Clockface resource list

* refactor(resource-list): replace local collectors resource list with Clockface resource list

* refactor(resource-list): replace local scrapers resource list with Clockface resource list

* refactor(resource-list): replace local templates resource list with Clockface resource list

* refactor(resource-list): replace local static templates resource list with Clockface resource list

* refactor(resource-list): replace local members resource list with Clockface resource list

* refactor(resource-list): replace local buckets resource list with Clockface resource list

* refactor(resource-list): replace local tasks resource list with Clockface resource list

* refactor(resource-list): replace local dashboards resource list with Clockface resource list

* refactor(resource-list): replace local notification rule & check resource lists with Clockface resource lists

* Delete local resource list components

* test: update affected snapshot tests

* test(e2e): fix labels integration tests

* refactor: use router.push() instead of window.location.assign()
2019-07-29 12:52:32 -10:00
Michael Desa 99e15b262f
Merge pull request #14496 from influxdata/fix/sort-create-dash-from-template-list
fix(component/TemplateBrowserList): sort list of templates alphabetically
2019-07-29 17:04:38 -04:00
Michael Desa 42c8b1a408
fix(component/TaskTokenDropdown): sort list of tokens alphabetically
Closes #14472
2019-07-29 16:41:00 -04:00
Russ Savage 383e6b1368
fix(components/TelegrafExplainer): Update link to Telegraf docs (#14497)
fix(components/TelegrafExplainer): Update link to Telegraf docs Update changelog
2019-07-29 13:33:30 -07:00
Michael Desa fb6b690380
fix(component/TemplateBrowserList): sort list of templates alphabetically
Closes #14465
2019-07-29 16:31:25 -04:00
alexpaxton a2a44067be
refactor(clockface): replace local index list with Clockface index list (#14491)
* refactor(clockface): replace index lists with clockface index lists

* refactor(clockface): replace local index list import with clockface index list import

* refactor(clockface): remove local index list components
2019-07-29 08:13:20 -10:00
Andrew Watkins d0913d227c
feat(ui): wasm flux parser (#14471)
* build(ui): add ability to bundle wasm

* refactor(ui/ast): remove cruft from async AST calls

* chore: add TODO

* test: mock @influxdata/flux-parser package

* oops: I will not hide my shame
2019-07-26 17:21:52 -07:00
Christopher Henn 42ecae8bb2 fix(ui): upgrade clockface to 0.0.19
Closes #13725
2019-07-26 13:40:55 -07:00
Alirie Gray 7b96bd95f0 test(tasks): fix cypress tests for task creation with token 2019-07-26 09:51:33 -07:00
Scott Anderson 8dc597bdbe removed unnecessary newline in functions.ts 2019-07-25 16:27:52 -06:00
Scott Anderson c442ca198c Added exponentialMovingAverage documentation 2019-07-25 16:26:26 -06:00
Scott Anderson c4b8737b96 added newlins to functions.ts to pass tests 2019-07-25 16:07:33 -06:00
Scott Anderson 6ca72e45cc Added documentation for new Flux functions 2019-07-25 15:55:49 -06:00
Andrew Watkins b856c31aae
style(clockface): upgrade to 0.0.18 (#14458)
* Update dependency

* Fix appearance of signin form

* Fix appearance of inline label editor

* Update implementation of dropdown

* Remove comment

* Fix appearance of auto refresh dropdown

* Update implementation of time range dropdown

* Update implementation of time zone dropdown

* Update implementation of window selector

* Fix missing button text in window selector

Oooooops

* Update implementation of time format dropdown

* Update implementation of column selector

* Update implementation of geometry dropdown

* Ensure line graphs have a default color palette

* Update implementation of color scheme dropdown

* Update implementation of heat map color selector

* Update dropdown implementations in histogram options

* Update implementation of Variable Builder dropdowns

* Update implementation of buckets dropdown

* Tweak color of slide toggle in token row to be green

* Update implementation of Generate Token dropdown

* Update snapshot tests

* Update bucket dropdown tests

* Fix query builder test

* Update onboarding buttons test

* Fix some e2e tests

* Fix tokens e2e tests

* Fix variables e2e tests

* Update implemenation of view type dropdown

Also removing the empty view type from existence

Co-Authored-By: Christopher Henn <chnn@users.noreply.github.com>

* Fix query builder add card button

Made it less prone to breakage

* Fix appearance of VEO

* Update styles of renamable page title

* Update styles using button or icon or input

* Ensure time range dropdown is not blank initially

* Update implementation of variable tooltip dropdown

* Update implementation of dropdowns in Add Members form

* Update implementation of Color dropdown

* Update implementation of dropdowns in scatter plot options

* Upddate implementation of precision dropdown

* Update implementation of sort by table option dropdown

* Update implementation of dashboards dropdown in save as menu

* Update implementations of dropdowns in task form

* Update Variable control bar dropdowns

* Delete unused component

* Remove unused imports

* Update bucket dropdown implementation in delete data form

* Update searchable dropdown to use new clockface components

* Delete local dropdown components

* Fix failing unit tests

* blerp

* Coerce type in view type dropdown

* Fix onboarding styles

* Fix e2e tests

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Fix last e2e test

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* build(e2e): allow cypress to run with webpack dev server
2019-07-25 12:13:51 -07:00
Christopher Henn a4b44a7e18 fix(ui): upgrade giraffe to 0.16.1
Closes #14436
2019-07-25 10:17:05 -07:00
Christopher Henn 9f6e27460a fix(ui): upgrade templates to 0.5.0 2019-07-24 15:21:00 -07:00
Christopher Henn f646bdd3dc fix(ui): upgrade templates 2019-07-24 12:50:53 -07:00
Delmer e7a92f57cc
fix(ui/dashboards): prevent default on anchor tag (#14434)
fix(ui/editable_name): update anchor to Link tag
2019-07-24 15:15:47 -04:00
Deniz Kusefoglu 613aef698f
Add alerting cards (#14429)
* bump to client 0.5.3

* export Query type from client and create alerting mock

* Bump client to 0.5.5

* Merge all status enums to one type

* Fix threshold visualization types

* Add extra underscore to notification rules

* Use check view type from client

* Add description field to checks, notificationrules and endpoints

* Add init check cards

* Add check card actions

* Correct component name

* Add check card context and toggle

* Add id to notification rule base

* Add notification rule cards

* add checks reducer tests

* user immer for checks reducer

* add tests and immer to notification rule reducer
2019-07-24 00:34:42 -07:00
Andrew Watkins d2933cc184
build(webpack): parcel to webpack (#14410)
* build(ts): add ts webpack dependencies and config

* wip(webpack.dev): css and js compiling

* wip(webpack): building assets with watch

* fix(webpack): fix page reloads not serving assets

* build(webpack): fork typechecking

* chore(webpack): rename dev config

* build(webpack): add production config

* build(webpack): add process vendor in separate build

* build(webpack): change dev source map

* build(webpack): dont lint in prod builds

* build(webpack): move reduce redundancy for GIT_SHA

* docs(ui): update README

* build(webpack): add hash to production build
2019-07-23 14:10:34 -07:00
Christopher Henn c0253d868e refactor(ui): rename WrappedCancelablePromise to CancelBox 2019-07-23 11:16:53 -07:00
Christopher Henn 5f015bf013 fix(ui): catch cancellation errors more reliably 2019-07-23 11:16:53 -07:00
Christopher Henn bbf80ac5a9 fix(ui): avoid single stat crash
Changes the `latestValues` logic to ignore null/empty Flux rows. This
prevents a single stat/gauge crash.

Also wraps the time machine `Vis` in a error boundary, to mitigate the
results of a crash.

Closes #14422
2019-07-23 10:53:15 -07:00
Delmer Reed c316edfdfe fix(ui/style): fix chronograf style 2019-07-23 09:35:42 -07:00
Delmer Reed 384f057c29 fix(ui/asset-alert): fix asset-alert clipping dashboard contents 2019-07-23 09:35:42 -07:00
Jonathan A. Sternberg 6ca9064c7b
chore(ui): upgrade influxdb-templates to v0.3.0 (#14419) 2019-07-23 11:00:13 -05:00
Russ Savage 3dafbc6c62
Fixed task manual run notification type (#14412)
* Fixed task manual run notification type

* updating changelog

* fixing trailing whitespace in stale.yml config
2019-07-22 17:08:23 -07:00
Deniz Kusefoglu 6c700628fa
Add alerts page (#14406)
* Add columns for checks, nr's and endpoints

* Add checks getters and redux store

* Add notification rules Store and fetching

* Connect ChecksColumn to redux and add checkcards

* specify const types in action creators
2019-07-22 15:19:02 -07:00
Christopher Henn 491b2067b2 feat(ui): add delete with predicate overlays 2019-07-22 15:02:34 -07:00
Delmer Reed 5deeebca4c fix(ui/cloud): wrap limited assets in components 2019-07-19 18:03:32 -04:00
Delmer Reed 5ed0535ba0 fix(ui/cloud): display alerts for read or write rates 2019-07-19 17:45:59 -04:00
Iris Scholten 6ddac5b3c6
feat(ui): Add link to documentation when uploading line protocol (#14385) 2019-07-18 16:51:59 -07:00
Andrew Watkins fa79779489
fix(ui/flux): correct map example (#14379) 2019-07-18 15:07:22 -07:00
Andrew Watkins 8fe429a8f2
fix(templates): import static templates for creating dashboards (#14378) 2019-07-18 12:13:22 -07:00
Deniz Kusefoglu 403e97c460
Consume types from client 1.5 (#14372)
* Bump js client version

* Fix types after client version
2019-07-18 10:19:08 -07:00
Delmer Reed 93e0ea2d4e fix(ui/checkout_btn): onClick go to billing instead of checkout 2019-07-17 17:05:25 -04:00
Christopher Henn 20ab1daa24 refactor(ui): rename plot components 2019-07-16 09:32:40 -07:00
Christopher Henn 98e8dc9ad8 feat(ui): add initial alert threshold visualization 2019-07-16 09:32:40 -07:00
Deniz Kusefoglu 5e2a097953
Add initial alerting routes and containers (#14318)
* Add initial alerting routes and containers

* Feature flag alerts nav
2019-07-12 10:57:56 -07:00
Scott Anderson d30f504b91 updated functions list for flux 0.35.1 2019-07-11 11:50:32 -06:00
Deniz Kusefoglu ebe13e2a57
Remove feature flags from vis types and options (#14303)
* Remove feature flags from vis types and options

* Remove vis type specific parameters from cloud and oss flags
2019-07-10 17:02:46 -07:00
Deniz Kusefoglu 00f27230a9
Fix filtering bug in tokens (#14301) 2019-07-10 15:04:07 -07:00
Christopher Henn 8f9fcfd883 feat(ui): add time zone setting 2019-07-08 15:18:22 -07:00
Delmer 77c3d95289
feat(ui/cloud): add cloud checkout button (#14259) 2019-07-03 16:27:30 -04:00