Commit Graph

1885 Commits (87886362292b13984bcab9b141f5983d075b6603)

Author SHA1 Message Date
Scott Anderson 61c75ae434
Flux function documentation link updates ()
* updated flux functions documentation

* removed unnecessary newline in fluxFunctions.ts

* updated flux function documentation links

* removed unnecessary newlines from fluxFunctions.ts
2019-09-11 16:05:44 -06:00
Michael Desa 0a24d3bd85
Merge pull request from influxdata/fix/save-variable
fix(variables/components/VariableForm): check to see if form is valid
2019-09-11 16:46:33 -04:00
Christopher Henn 71356c1ba2 feat(ui): show auto window period in function selector dropdown 2019-09-11 13:39:34 -07:00
Michael Desa f048fddc1b
fix(variables/components/VariableForm): check to see if form is valid
Closes https://github.com/influxdata/influxdb/issues/15060

Previously, the create button for a variable wouldn't be enabled unless
the user clicked in the text box, despite a query being present. This
adds an aditional check to the `isFormValid` method that ensures that if
a query is present the create button will be enabled.
2019-09-11 16:24:53 -04:00
Christopher Henn 901bf6128a fix(ui): enforce bucket retention rule limits 2019-09-10 13:30:54 -07:00
Christopher Henn 7cc975c547 feat(ui): use duration selector for selecting bucket retention duration
The previous bucket retention form component was frusterating to use.

This commit replaces it with a simple duration dropdown that we use in a
few other places. It refactors the various duration utilities to make it
happen.

The hope is to eventually improve this duration dropdown into a combined
text input/dropdown component that can accept custom durations with
validation.
2019-09-10 13:30:54 -07:00
Christopher Henn c403cef292 fix(ui): avoid attempting to create bucket with invalid expiration
The following steps would result in a server error:

1. Open create bucket overlay
2. Enter valid name
2. Click "Periodically" radio option
3. Click "Never" again
4. Submit

The issue is that the bucket was being submitted with an invaild
retention duration, even though the user had selected to use no
retention duration (by clicking "Never").

The solution was to clear the retention duration state when switching
back to the "Never" radio option.
2019-09-10 13:30:54 -07:00
Christopher Henn 060dfe8609 refactor(ui): use locally generated BucketRetentionRules type
Connect 
2019-09-10 13:30:54 -07:00
Daniel Campbell 54ec7fd001
Add viewport scaling to html meta responsive mobile scaling ()
* Modify HTML files to include viewport scaling

* Add ms-viewport device width to css

* Update changelog
2019-09-10 11:14:10 -07:00
alexpaxton 4fea50b24e
refactor(ui): polish bucket card & check builder ()
* refactor(ui): remove action buttons from system bucket cards

* refactor(ui): make check builder more compact

* refactor(ui): add raw data toggle to check editor

* refactor(ui): fix logic for displaying system bucket label

* refactor(ui): remove edit link from system buckets
2019-09-10 11:03:26 -07:00
Michael Desa 4ff0e01005
chore(ui): add the command to the ui readme 2019-09-09 23:39:57 -04:00
Scott Anderson a6a7459f88
Updated Flux functions documentation ()
* updated flux functions documentation
* removed unnecessary newline in fluxFunctions.ts
2019-09-09 21:25:38 -06:00
Michael Desa 4df32f2609
fix(telegraf/configs): route to correct path for telegraf collectors
Co-Authored-By: Andrew Watkins <watts@influxdb.com>
2019-09-09 22:50:25 -04:00
alexpaxton 29fe49a981 refactor(ui): add real links to alerting documentation ()
* refactor(ui): add real links for documentation pertaining to alerts

* refactor(ui): use correct docs links
2019-09-09 19:03:35 -07:00
Andrew Watkins 2bedaedbe1
Merge pull request from influxdata/fix/remove-status-change
fix(alerts): remove status change functionality
2019-09-09 18:30:19 -07:00
Christopher Henn 7f30aa950b fix(ui): deduplicate rows on notifications history page
We want to display a row for each notification, but we were displaying
a row for each field for each notification.

By filtering out the system fields (those that start with an
underscore), we are in left with only a single user-specific field.
2019-09-09 18:29:41 -07:00
Michael Desa eb010310f8
Merge pull request from influxdata/fix/default-endpoint
fix(ui): use slack as default endpoint
2019-09-09 21:13:36 -04:00
Andrew Watkins 47dbc421c7 fix(alerts): remove status change functionality 2019-09-09 18:06:42 -07:00
Christopher Henn 800c818434 fix(ui): show notifications history sent column properly 2019-09-09 17:54:40 -07:00
Michael Desa 4dac2f51f7
fix(ui): use slack as default endpoint
This is so that in cloud there is not a weird UX for initial users who
see http, but cannot create an http endpoint
2019-09-09 20:42:53 -04:00
Michael Desa a23962fef8
Merge pull request from influxdata/fix/pagerduty-client-url
fix(pagerduty/rule): change url to clientURL for pagerduty endpoint/rule
2019-09-09 19:27:29 -04:00
Michael Desa ea1b7bec09
fix(pagerduty/rule): change url to clientURL for pagerduty endpoint/rule
Closes https://github.com/influxdata/influxdb/issues/15042

Previously, there was an optional URL provided for the pagerduty
endpoint. However, the pagerduty API url does not change and as a result
it should not have been a parameter. The Pagerduty API does require a
`clientURL` that is presented in the pagerduty UI when an alert is
triggered. Currently that value will default to the alerts history page
for the organization.
2019-09-09 19:09:35 -04:00
Christopher Henn 67ab3ac6ba fix(ui): fix telegraf setup link 2019-09-09 14:59:53 -07:00
Andrew Watkins 57fb96a46d
Merge pull request from influxdata/chore/alphabetical
chore(alerts): alphabetize endpoints in rule dropdown
2019-09-09 14:55:12 -07:00
Andrew Watkins 848936b5dc fix(alerts): empty state 2019-09-09 14:35:14 -07:00
Christopher Henn 6247b09837 feat(ui): remove token requirement when saving tasks 2019-09-09 14:11:12 -07:00
Andrew Watkins 7f07270ece feat(alters): sort and filter alert cards 2019-09-09 13:48:52 -07:00
alexpaxton 32d11209ac
refactor(ui): alerting details polish ()
* refactor(ui): add default values for deadman condition

* refactor(ui): limit values to 2 decimal places when dragging thereshold handles

* refactor(ui): prevent system buckets from being deleted or renamed

* refactor(ui): indicate which buckets are system buckets

* refactor(ui): prevent user from creating buckets starting with _

* refactor(ui): remove system bucketes from generate token overlay

* refactor(ui): remove system buckets from bucket dropdowns

* chore(ui): update changelog
2019-09-09 13:12:20 -07:00
Andrew Watkins cc22607bd7
Merge pull request from influxdata/fix/disable-check-save
fix(alerting): disable save button if query is invalid
2019-09-09 13:04:27 -07:00
Andrew Watkins 80101cfc7e chore(alerts): alphabetize endpoints in rule dropdown 2019-09-09 13:01:54 -07:00
Andrew Watkins 9b89ce6da1 chore(e2e): only run new test once 2019-09-09 12:25:30 -07:00
Andrew Watkins 64c3c4f922 fix(alerting): disable save button if query is invalid 2019-09-09 12:13:47 -07:00
Palakp41 a2a15f84a0
Merge pull request from influxdata/update-bucket-system
Update bucket system
2019-09-09 11:25:49 -07:00
Christopher Henn fb57feefac feat(ui): upgrade influxdb-templates to v0.8.0 2019-09-09 11:03:02 -07:00
Palak Bhojani 808ab1902e Update code styling and refactor 2019-09-09 10:52:24 -07:00
Palak Bhojani 4ea2650ff1 Fix prettier issues 2019-09-09 10:43:33 -07:00
Palak Bhojani 0c3ec69f37 Disallow system buckets to be deleted or renamed 2019-09-09 10:28:01 -07:00
Palak Bhojani 719f296d2d wip 2019-09-09 10:08:39 -07:00
Andrew Watkins 7f50a0a078 fix: prettier 2019-09-06 21:14:57 -07:00
Andrew Watkins 446a9112e2 refactor(alerts): use context to pass resourceIDs to rows
Co-Authored-By: Michael Desa <mjdesa@gmail.com>
2019-09-06 21:14:57 -07:00
Andrew Watkins e5b2f8c11f chore: make enum singular and move selector into dir 2019-09-06 21:14:12 -07:00
Andrew Watkins f58b39bc55 fix(alertHistory): stop linking to dead resources
Author: Michael Desa <mjdesa@gmail.com>
2019-09-06 21:11:19 -07:00
Michael Desa d969a57be3
fix(notificationRules): remove initial tag filter from draft rule
Closes https://github.com/influxdata/influxdb/issues/15000

When submitted, with the default draft rule, the request would fail due
to the backend attempting to contruct flux with empty string values.
2019-09-06 20:30:34 -04:00
Michael Desa 78e1a989fd
Merge pull request 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 ()
* 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 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 
2019-09-06 15:57:53 -07:00
Christopher Henn 151e1f94bc fix(ui): don't render thresholds outside of visible plot region
Closes 
2019-09-06 15:57:53 -07:00
Christopher Henn b63ca38c46 fix(ui): fix hidden endpoint and rule names in notification history
Closes 
2019-09-06 15:57:53 -07:00