Commit Graph

1842 Commits (78e1a989fd4812ddcb73bf5f1c44081347475a57)

Author SHA1 Message Date
Michael Desa 78e1a989fd
Merge pull request #15034 from influxdata/fix-ui-newline-parsing
fix(ui): handle parsing Flux strings containing newlines
2019-09-06 19:43:12 -04:00
alexpaxton f2aff59a75
refactor(ui): update check builder design (#15040)
* refactor(ui): move check message to its own card

* refactor(ui): ensure builder cards fill width of overlay

* refactor(ui): make conditions boxes fill width of parent

* refactor(ui): allow check properties card to grow

* refactor(ui): remove matching rules card

* chore(ui): update changelog
2019-09-06 16:30:39 -07:00
Michael Desa c80eb929d0
Merge pull request #15027 from influxdata/limit-alerting
feat: limit monitoring and alerting
2019-09-06 19:16:53 -04:00
Deniz Kusefoglu a3e576f9d7
feat(ui): limit monitoring and alerting
Remove unused action

Co-Author: Deniz Kusefoglu <deniz@influxdata.com>

add Limits and LimitsStatus to cloud types

Add asset limits for checks, rules and endpoints

Filter blocked endpoint types

fix: type error

Co-Author:    Deniz Kusefoglu <deniz@influxdata.com>
2019-09-06 18:58:10 -04:00
Christopher Henn 73e467b671 fix(ui): change default every value for check to 1m
Closes #14942
2019-09-06 15:57:53 -07:00
Christopher Henn 151e1f94bc fix(ui): don't render thresholds outside of visible plot region
Closes #14965
2019-09-06 15:57:53 -07:00
Christopher Henn b63ca38c46 fix(ui): fix hidden endpoint and rule names in notification history
Closes #14995
2019-09-06 15:57:53 -07:00
Christopher Henn 14d059ac4d
fix(ui): upgrade giraffe to 0.16.3
Closes #15017
2019-09-06 15:38:02 -07:00
Russ Savage 799838d327
fix(tagOps): remove options not implemented (#15031) 2019-09-06 15:10:02 -07:00
Christopher Henn ee2f2a6369
fix(ui): handle parsing Flux strings containing newlines
...in Flux CSVs.

Connect #15017
2019-09-06 14:49:53 -07:00
Michael Desa a1ffc5c8ab
Merge pull request #15026 from influxdata/fix/check-update
fix(ui/src/alerting/components/CheckCard): include entire check in update
2019-09-06 16:52:19 -04:00
Russ Savage f11dccd687
fix(http): remove template option (#15001) 2019-09-06 13:18:23 -07:00
Russ Savage 6513a8abfe
fix(check): increase max status message length (#15002)
* fix(check): increase max status message length

* fix(alertTemps): update template formatting
2019-09-06 13:17:40 -07:00
Michael Desa 82e4df5d6f
fix(ui/src/alerting/components/CheckCard): include entire check in update
Closes https://github.com/influxdata/influxdb/issues/15022

After we switched to using PUT in the API, we'll need to include the
entire check in our update request. Ideally we could just always use
PATCH, but due to a defect in the API we currently cannot.
2019-09-06 16:04:00 -04:00
Russ Savage 225f426e08
fix(slack): remove option for token in UI (#14998)
* fix(slack): remove option for token in UI

* fix(slack): fix linting

* fix(slack): updating tests

* fix(slack): updating go tests

* fix(slack): fixing js test
2019-09-05 22:28:35 -07:00
alexpaxton 0a3d5804e0
fix(ui): alerting polish (#14982)
* fix(ui): allow creating of check from first time widget

* refactor(ui): polish layout of endpoint dropdown

* refactor(ui): provide default URLs in endpoint overlay form

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

* refactor(ui): ensure edit endpoint can be canceled

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

* refactor(ui): move endpoint error out of footer

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

* refactor(ui): appease the linter

* fix(ui): use correct slack and http url defaults

* chore(ui): remove obsolete stylesheet

* fix(ui): remove GET and PUT options from http method dropdown

* fix(ui): capitalize form labels in endpoint form

* fix(ui): change default endpoint name to be type agnostic

* fix(ui): appease linter

* refactor(ui): shrink check message template field

* refactor(ui): reverse sort of threshold levels in check builder
2019-09-05 16:19:42 -07:00
alexpaxton 77a59538e6
refactor(ui): settings navigation (#14990)
* refactor(ui): move tokens tab to load data page and update navbar

* refactor(ui): prefix all settings page urls with "settings"

* refactor(ui): expose settings tabs in navbar as sub-items

* chore(ui): update changelog

* refactor(ui): fix URLs in e2e tests
2019-09-05 16:17:22 -07:00
Andrew Watkins e3f31a3109
Merge pull request #14992 from influxdata/fix/bucket-order
fix: move system buckets to end of list
2019-09-05 16:02:21 -07:00
Andrew Watkins e616e0fee4
chore(alerting): add default message templates (#14988)
* chore(alerts): add message defaults to check and endpoint creation

* chore(alerts): time machine is two words :)
2019-09-05 15:50:34 -07:00
Andrew Watkins a344305456 fix: move system buckets to end of list 2019-09-05 15:47:04 -07:00
Andrew Watkins 55b2f78be6 chore(alerts): time machine is two words :) 2019-09-05 15:08:27 -07:00
Andrew Watkins 3fd68bf88f chore(alerts): add message defaults to check and endpoint creation 2019-09-05 15:06:06 -07:00
Christopher Henn 723423aa87 fix(ui): fix max call stack exceeded error when parsing CSV
When parsing a Flux CSV file with hundreds of thousands of lines for the
"Raw Data View", we would see a

    Maximum call stack size exceeded

error. This was because every line in the CSV was being passed as an
argument in a single `Array.prototype.push` call, and there are
[limits][0] to how many arguments can be passed to a function.

This commit avoids passing the arguments all at once.

[0]: https://stackoverflow.com/questions/22747068/is-there-a-max-number-of-arguments-javascript-functions-can-accept

Closes #14566
2019-09-05 14:42:51 -07:00
Michael Desa d5d5d307ae
fix(ui): change patchCheck to putCheck for updating check in UI
The easiest path forward for fixing
https://github.com/influxdata/influxdb/issues/14966 is to have the UI
use put instead of patch for updating checks. Long term, we will want to
be able to use patch, but as of now patch is not functional.
2019-09-05 14:52:51 -04:00
Christopher Henn da5291407c fix(ui): prevent crash when opening line visualization options
For whatever reason, we now have xy views stored with an empty array in
the `colors` field. Attempting to open the visualization options for
such a view results in a crash.

This commit updates the `ColorSchemeDropdown` to access the `colors`
field more defensively.

Closes #14950
2019-09-05 11:27:04 -07:00
Christopher Henn b98552a6c6 fix(ui): remove limit dropdown from alerting history 2019-09-05 11:19:56 -07:00
Russ Savage adc2c605a6
fix(copy): minor copy updates (#14968)
* fix(copy): minor copy updates

* fix(copy): Make all getting started cards one line of text

* fix(copy): setup to set up
2019-09-05 10:50:58 -07:00
Michael Desa 69a97714f9
Merge pull request #14969 from influxdata/feat/toggle-cloud-alerting
feat(ui/src/shared/utils): toggle alerting feature flag for cloud
2019-09-05 13:34:37 -04:00
alexpaxton 9a5c698b29
refactor(ui): polish check editor header (#14970)
* refactor(ui): un-squish check header

* refactor(ui): polish appearance of check requirements popover
2019-09-05 10:28:26 -07:00
Michael Desa 0d98360de2
feat(ui/src/shared/utils): toggle alerting feature flag for cloud 2019-09-05 13:13:25 -04:00
Christopher Henn feda6dcd27 fix(ui): use linear interpolation in check plots
Closes #14943
2019-09-05 09:36:08 -07:00
Christopher Henn dd95578940 fix(ui): sort alerting history page from newest to oldest
Previously it was displaying oldest to newest.
2019-09-04 13:45:44 -07:00
Chris Goller d47afacb6f
fix(onboarding): remove fancy scrollbar that hides content (#14931)
e2e tests are failing because the fancyscroll bar component hides
the admin step during certain points in onboarding.

We were able to reproduce when the form in the admin step had been
marked as valid.

The use of the scrollbar in the setting seemed unneeded as it could
be rendered in a quite small window.

Therefore, we removed the scrollbar altogether for now.

Co-authored-by: Christopher Henn <chris@chrishenn.net>
2019-09-04 14:42:01 -05:00
Chris Goller af5996fe45
build(webpack): add source maps for @influxdata/giraffe prod builds (#14908)
* build(webpack): add source maps for @influxdata/giraffe prod builds

We were getting runtime errors in the prod builds via honeybadger.
They were unreadable because we did not have source maps for giraffe.

We were only able to get this working for prod builds but not dev
despite trying putting it in the webpack common file.  This is good
'nuff for our purpose now, but maybe we'll need further investigation.

Bonus commit... I added a new make target of influxd so I would not
need to type so much.

Co-authored-by: Andrew Watkins <watts@influxdb.com>

* build(webpack): add clockface source maps to production build

 Co-authored-by: Andrew Watkins <watts@influxdb.com>
2019-09-04 09:00:20 -05:00
alexpaxton 20f717dcfe
refactor(ui): improve first time alerting experience (#14917)
* refactor(ui): move QuestionMarkTooltip into shared folder

* refactor(ui): delete unused component

* refactor(ui): allow QuestionMarkTooltip to wrap other elements

* refactor(ui): Add question mark tooltips to alerting column headers

* refactor(ui): color code buttons to indicate importance and grouping

* refactor(ui): swap order of endpoints and rules columns

* refactor(ui): show "first time" widget when no alerting resources exist

* refactor(ui): update alerting empty copy

* refactor(ui): ensure onboarding tooltips are using the correct prop names

* refactor(ui): remove tests for tooltips in admin step

These should be handled by Clockface instead

* refactor(ui): fix affected e2e test

* chore(ui): update changelog
2019-09-03 17:54:52 -07:00
alexpaxton ee211405da
refactor(ui): replace page components (#14899)
* refactor(ui): wrap entire UI in Clockface AppWrapper

* refactor(ui): create utility for ensuring consistent page titles

* refactor(ui): update settings and load data icons in nav

* refcator(ui): simplify templates page

* refactor(ui): ensure unauthenticated pages are wrapped in AppWrapper

* refactor(ui): replace all instances of local Page with clockface Page

* refactor(ui): move control of presentation mode to AppWrapper

* refactor(ui): delete local Page components

* refactor(ui): ensure that onboarding pages are visible

* refactor(ui): remove unused "Account" page

* refactor(ui): appease linter gods

* refactor(ui): ensure alerting index fills height of page

* refactor(ui): fix padding in time machine view
2019-09-03 16:46:41 -07:00
Deniz Kusefoglu dde232b1ce
Switch edit and view actions (#14915)
* Switch edit and view actions

* Fix test
2019-09-03 15:58:16 -07:00
Deniz Kusefoglu d190b0450a
Refrain from showing popover if query is alertable (#14916) 2019-09-03 14:09:39 -07:00
Deniz Kusefoglu a9c23cb8be
feat: Add matching rules cards (#14868)
* Add matching rules cards

* Add loading states and array type query parameters check matching query

* maps are better than reduces
2019-09-03 08:57:03 -07:00
Christopher Henn 626286863a fix(ui): constrain query builder in check overlay
Closes #14785
2019-09-03 07:23:07 -07:00
Christopher Henn 7beed29551 chore(ui): upgrade oats to 0.4.0 2019-08-30 16:14:26 -07:00
Deniz Kusefoglu c065211439
Point alerting history page to monitoring bucket (#14895)
* Point alerting history page to monitoring bucket

* Apply suggestions from code review

Co-Authored-By: Christopher Henn <chris@chrishenn.net>
2019-08-30 14:52:22 -07:00
Iris Scholten b0a7a8e5c7
Merge pull request #14887 from influxdata/fix/no-buckets-alert
fix(ui): Polish no buckets warning in telegraf tab
2019-08-30 13:17:37 -07:00
Jade McGough d147874c1e
fix(kv): mock system buckets (#14884) 2019-08-30 12:47:06 -07:00
alexpaxton 4629958d51
chore(ui): upgrade Clockface to 0.0.28 (#14891)
* chore(ui): upgrade clockface dependency to latest

* refactor(ui): update popovers affected by breaking change
2019-08-30 12:37:05 -07:00
Iris Scholten d29a123e86 fix(ui): Polish no buckets warning in telegraf tab 2019-08-30 12:11:56 -07:00
alexpaxton 25c1194e49
refactor(ui): expose bucket options as buttons instead of context menu (#14889)
* refactor(ui): expose bucket options as buttons instead of context menu

* chore(ui): update changelog

* refactor(ui): increase distance between bucket options and meta line
2019-08-30 12:08:11 -07:00
Deniz Kusefoglu 9450149561
Add Any to rule levels (#14866)
* WIP

* Fix UI linter errors from swagger changes to Level Rule

* Prevent same level selection on changes from

* Remove unused get

* Fix prettier error

* chore(notification/rule): change level rule to check level for rules
2019-08-29 17:46:00 -07:00
Deniz Kusefoglu ee4ea1400e
Select endpoint if none is selected (#14867)
* Select endpoint if none is selected

* Wrap rule updating in a useEffect
2019-08-29 15:56:39 -07:00
Iris Scholten d2d77305a3
feat(limits): Add Cardinality limit alerts (#14862)
* feat(cardinality): Fetch cardinality limits and store in redux

* feat(cardinality): Add additional text for cardinality rate limit alerts

Co-authored-by: Chris Goller <goller@gmail.com>

* feat(cardinality): Add rate limit alert to load data pages when cardinality exceeded

Co-authored-by: Chris Goller <goller@gmail.com>

* fix(ui): Fix linter error

Co-authored-by: Chris Goller <goller@gmail.com>
2019-08-29 12:35:25 -07:00