Commit Graph

166 Commits (8128d67f66660b290dba6ec2466cc1a2000424d5)

Author SHA1 Message Date
Ariel Salem f28913a193
Fix/tasks edit (#15549)
* fix(ui/tasks): edit & update functionality has been fixed. Also fixed the issue where task form data didn't persist when toggling between schedule task options

* chore(CHANGELOG): updated changelog with current PR

* fix(ui/tasks): updated reducer test to more accurately reflect the current reducer functionality and updated the parameter name for consistency

* fix(linter): removed extra whitespace

* chore(comment): removed old comment from PR since it's no longer necessary
2019-10-23 13:45:27 -07:00
alexpaxton 0fc47bc692
refactor(ui): convert confirmation overlay to confirmation button (#15496)
* refactor(ui): convert confirmation overlay to confirmation button

* refactor: write e2e tests for veo/de query mode switching

* refactor: assume query has changed if it is empty

* fix: formatting

* refactor(queryBuilder): use more semantic functions

* fix: remove unused variable
2019-10-22 23:03:51 -07:00
Ariel Salem 769c4101c8 fix(ui/collectorList-telegraf): sort telegrafs based on buckets (#15510)
* fix(ui/collectorList-telegraf): sort telegrafs based on buckets

* fix(ui/collectors): added tests to the sort by telegrafs/buckets functionality

* fix(ui/collectors): made PR suggested changes

* fix(ui/collectors): updated snapshot test

* fix(collectors): added collectors changes

* fix: labels test

* fix: sanity check

* chore: skip tests to resolve in separate PR

* fix: revisit page
2019-10-22 11:26:21 -07:00
Brandon Farmer 8a7d170c79 fix(influxdb): fall back to legacy system buckets 2019-10-22 10:21:04 -07:00
Andrew Watkins a40dacfabf chore: lowercase bdd 2019-10-21 15:27:35 -07:00
Andrew Watkins fb359722f8 chore: put space after comment 2019-10-21 15:26:33 -07:00
Andrew Watkins fbaeb8e58e fix: properly scope label creation 2019-10-21 15:26:21 -07:00
Zoe Steinkamp 355b43203c (fix)(ui) Sort by description broken
Fixed e2e test
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 962ff6a2e0 (fix)(ui) Sort by description broken
Fixing file, getting rid of get function
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 2264d90396 (fix)(ui) Sort by description broken
Removing the only, clean up test file with es lint
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 5cad31c413 (fix)(ui) Sort by description broken
Also the test have been added that correlate to this issue
2019-10-21 16:16:51 -06:00
Andrew Watkins d95a708032
build(webpack): remove eslint from ForkTsChecker plugin (#15519)
* build(webpack): remove eslint from ForkTsChecker plugin

* test(labels): refactor delete test
2019-10-21 11:30:49 -07:00
Andrew Watkins 9cb2c0f6a4
refactor: RemoteDataState states in GetResources (#15508)
* refactor: RemoteDataState states in GetResources

* fix: e2e
2019-10-18 15:31:15 -07:00
Andrew Watkins a136e41d99 fix: buckets delete test 2019-10-18 10:58:35 -07:00
Andrew Watkins 2d002fb0f4 test: collectors reload page 2019-10-18 10:47:44 -07:00
Andrew Watkins bde7512338 fix: oops 2019-10-18 10:32:17 -07:00
Ariel 613e0417eb chore(eslint): upgraded eslint 2019-10-18 10:24:59 -07:00
Ariel Salem 77f2748a9f
fix(ui/labeloverlayerror): invalid input error resolved (#15443)
* fix(ui/labeloverlayerror): 

UI is now correctly disabling the submit button and returning an invalid input error when a user tries to submit an empty input for the label overlay name

Updated change log and added in link to issue for newly built tests

Updated the updateLabelOverlay methods to correspond with the changes made to the labeloverlayform
2019-10-18 09:35:44 -07:00
Zoe Steinkamp d56ae9470b
Merge pull request #15447 from influxdata/zs-removecloneendpoints-#15073
(fix)(ui)Remove the ability to clone Endpoints
2019-10-17 13:01:25 -06:00
alexpaxton 91fe2d3a0c
chore(ui): upgrade Clockface to 1.0.0 (#15428)
* chore(ui): upgrade clockface dependency

* refactor(ui): update components affected by breaking changes

* refactor(ui): update test snapshots

* refactor(ui): remove obsolete component

* refactor(ui): remove reference to non-existant stylesheet

* refactor(ui): update selector in e2e collectors test

* refactor(ui): attempt to fix e2e test

* refactor(ui): appease linter

* refactor(ui): update implementation of client library cards

* refactor: update all breakage from new version

* refactor: revert this commit

* refactor: fix popover by using useRef instead of createRef

* fix: update all instances of EmptyStateText

* fix: update all instances of PageHeader

* fix: update straggler empty state text

* fix: update instance of PageHeaderCenter

* fix: update instance of PageContents

* fix: update style rule for dashboard cards

* chore: update test snapshots

* refactor: update instance of question mark tooltip

* refactor: use brighten prop to ensure contrast with background

* Revert "refactor: revert this commit"

This reverts commit f325916d91.

* chore: upgrade to NPM package instead of local

* refactor: fix css import

* refactor: update test snapshot

* refactor: Guard against string being null

Co-Authored-By: Alex Boatwright <alex@drdelambre.com>

* refactor: move resource getter inside overlay so it does not disrupt layout

* refactor: fix unit test by updating selector

* refactor: guard against name being absent

* chore: upgrade to latest clockface to utilize a bugfix

* chore: update snapshot test

* refactor: fix appearance of searchableDropdown

* chore: upgrade dependency (again) for bugfixes

* refactor: fix labels e2e test

* refactor: fix tokens e2e test

* refactor: appease linter
2019-10-17 11:58:07 -07:00
Zoe Steinkamp 1a6e493e31 (fix) Client URL optional PagerDuty
Removing the only
2019-10-17 10:41:23 -06:00
Zoe Steinkamp d43bfaab7d (fix) Client URL optional PagerDuty
This is the test to make sure this is working
2019-10-17 10:41:23 -06:00
Zoe Steinkamp 9f052c7d6a (fix)(ui)Remove the ability to clone Endpoints
Fixing the broken test
2019-10-17 09:44:31 -06:00
Zoe Steinkamp d7b9617462 (fix)Remove the ability to clone Endpoints
This is the fix, the button deleted, and extra tests to go with it, one of the tests im blocked on
2019-10-16 23:58:08 -06:00
Zoe Steinkamp dc23a0afe2 (Fix) Create dashboard from empty state test 2019-10-16 08:58:31 -06:00
Ariel Salem e68bd456ac
fix(ui/telegraf): filter functionality (#15427)
* fix(ui/telegraf): filter functionality

* docs: README

* fix: linter error

* fix: linked relevant issue to the added test
2019-10-15 15:08:29 -07:00
Deniz Kusefoglu 617e3ab799
bugfix: save flux with variables from data explorer as task (#15409)
* Add user defined variable to save as task

* Update snapshots

* Add tests
2019-10-15 13:18:18 -07:00
Zoe Steinkamp d83576c506 fix(endpoints, rules, checks): route user to alerting index
These are the final tests and rule fix for this issue.

The checks is special in how it was fixed.

But endpoints and rules have the exact same fix on them

All the tests are running smoothly

EsLint was run so this branch should no longer fail from that as well.
2019-10-14 12:43:01 -06:00
Zoe Steinkamp e6c2a9f373 Eslint clean up 2019-10-14 12:43:01 -06:00
Zoe Steinkamp 5e4ff33ec0 fix(endpoints): route user to alerting index
1. We fixed the endpoints so it no longer routes to 404 page, instead now routes to the alerting index. When endpoint id does not exist.

2.Added Cypress test to confirm the routing works on checks. Routing the user to the index page when the checks id does not exist.
2019-10-14 12:43:01 -06:00
Zoe Steinkamp a40f77c0ac Solution and cypress testing documentation
The solution for the issue is present as well as the cypress testing documentation
2019-10-14 12:43:01 -06:00
Zoe Steinkamp 5afb613fce
Merge pull request #15381 from influxdata/zs--dashboard404routing-#15325
fix(dashboards)routing to dashboard page instead of 404
2019-10-14 12:35:06 -06:00
Deniz Kusefoglu bdba601c30
fix: Place resource fetch logic in overlay (#15358)
* Place resource fetch logic in overlay

* Fix existing buckets tests

* Add test for routing to overlay and rerouting if bucket doesn't exist
2019-10-10 15:22:14 -07:00
Zoe Steinkamp a30732f016 fix(dashboards)routing to dashboard page instead of 404
Fixing the tests, adjusting index file
2019-10-10 13:54:48 -06:00
Zoe Steinkamp 6926e66b2d fix(dashboards)routing to dashboard page instead of 404
This is the cypress test

And the lint fixes
2019-10-10 10:41:01 -06:00
Deniz Kusefoglu 9f011d605e
fix: Disable saving threshold check if no threshold selected (#15348)
* Prevent check saving if no thresholds

* Add tests

* Add changes to changelog

* make optional props optional

* use false instead of null for boolean
2019-10-08 12:23:16 -07:00
Lyon Hill 5e1d7f6c69
feat(task): remove preauth (#15286)
* feat(task): remove preauth

* fix(task): remove e2e test that verified preauth
2019-09-26 10:52:24 -06:00
Deniz Kusefoglu ca078d4b91 Remove endpoint test for slack token field 2019-09-25 10:54:07 -07:00
Deniz Kusefoglu b3a806df6b
Fix endpoint type conversions (#15240)
* Fix endpoint type conversions

* Update reducer

* Add token to slack endpoint

* Add test for http endpoint
2019-09-23 18:17:56 -07:00
Deniz Kusefoglu ec803e22b6 Revert "chore(ui): upgrade Clockface to 0.0.32 (#15221)"
This reverts commit 0669c22bbd.
2019-09-23 11:56:05 -07:00
alexpaxton 0669c22bbd
chore(ui): upgrade Clockface to 0.0.32 (#15221)
* chore(ui): upgrade clockface dependency

* refactor(ui): update components affected by breaking changes

* refactor(ui): update test snapshots

* refactor(ui): remove obsolete component

* refactor(ui): remove reference to non-existant stylesheet

* refactor(ui): update selector in e2e collectors test

* refactor(ui): attempt to fix e2e test

* refactor(ui): appease linter

* refactor(ui): update implementation of client library cards
2019-09-23 10:06:42 -07:00
alexpaxton 1988f85128
refactor(ui): split check creation flow (#15169)
* refacotor(ui): split first time create check button into one for each type

* refactor(ui): replace create check button with dropdown

* refactor(ui): remove check type toggle from conditions card

* refactor(ui): split check creation into 2 routes

* refactor(ui): change default check depending on type

* refactor(ui): hide function selector when building a deadman check

* refactor(ui): move validation popover to check save button

* refactor(ui): remove unused component

* refactor(ui): ensure deadman queries do not have an aggregate function

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

* refactor(ui): update alerting get started copy

* refactor(ui): update e2e test

* refactor(ui): use existing checkType type
2019-09-17 11:24:15 -07:00
Christopher Henn 901bf6128a fix(ui): enforce bucket retention rule limits 2019-09-10 13:30:54 -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
Christopher Henn 67ab3ac6ba fix(ui): fix telegraf setup link 2019-09-09 14:59:53 -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
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 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
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