Commit Graph

85 Commits (95aa1944983b1c0cfb63caa619a03ad4bed95e2c)

Author SHA1 Message Date
Andrew Watkins f2fd7d6728
feat(ui/explorer): add imports to flux scripts (#13711)
* fix(ui) Update flux function docs and examples

* add package property to FluxToolbarFunction

* added package property to built-in flux functions

* added package propert to the toFloat function

* prettified fluxFunction.ts

* updated columns parameter on derivative function

* added newline after derivative desc for prettier fluxFunction.ts

* chore(e2e): updsate cypress to 2.0

* feat(query-builder): add import statements

* wip

* feat(ui/builder): simplify import addition logic

* test: remove only

* chore: linting

* test: string organization
2019-04-29 21:56:36 -07:00
Palak Bhojani 1e4acb3815 Update telegraf list to use ResourceList 2019-04-23 09:20:34 -07:00
Delmer Reed 4684b9fac0 feat(ui/buckets): add buckets danger zone
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-04-19 17:02:45 -04:00
alexpaxton 2b8c17b767
Polish Create From Template Overlay (#13424)
* Move and rename components

* Break overlay into subcomponents

* Create empty state with link when no templates exist

* Break down template overlay components further

* Enable scrolling in overlay

Use custom UI instead of responsive grid

* Updoot changelog

* Fix e2e test

* Improve readability of code

* Import types from src/types instead of directly from client

* Import type from src/types instead of directly from client

* Do not display version of template in details panel

* WIP import types from src/types instead of directly from client

* Fix template types
2019-04-16 13:58:27 -07:00
karel-rehor 8d178ebda1 test(e2e): bonitoo cypress onboarding (#13087)
* added writeData command

* better junit reporting

* adding package-lock.json as per circle-ci hint

* delinting

* removed chainable .only.

* removed commented line

* starting onboarding test

* onboarding assert

* complete onboarding to quick start

* additional onboarding tests

* delinting

* adding field requirements test

* fixing merge conflicts

* WIP - updating to new org ctx - stablizing

* WIP - linting - stablizing

* fixing merge conflicts

* refactor onboarding test to leverage data-testid

* fixing jstests with new data-testid attribs

* resynch promql.go

* refactor add last data-testid replacements onb test

* replacing lost asserts

* improving assert

* passing in additional data-testid values

* removing bin_gen.go from branch
2019-04-16 09:06:16 -07:00
Alirie Gray 0bd62f468f fix(tests): fix flaky dashboards e2e test 2019-04-12 15:05:57 -07:00
Alex P aa57ca363a Fix e2e test 2019-04-08 11:49:52 -07:00
Iris Scholten 05df47d1b0 feat(ui): Add create org to side nav 2019-04-04 17:09:56 -07:00
Deniz Kusefoglu 9808ce2a5f Unskip tasks tests 2019-04-04 11:25:41 -07:00
Iris Scholten 05b9b54e98
feat(ui): make dashboards pages org centric (#13111)
* Update dashboards page to show dashboards from current org

* Remove org info from dashboard cards and table

* Remove unused action

* Update create labels to always create a label in the current org

* Fix closing veo route

* Stop skipping create and add label to dash test
2019-04-03 09:41:59 -07:00
Alirie Gray d10d216a3f test(dashboards): create dashboard from template in dashboard index 2019-04-02 14:33:09 -07:00
alexpaxton d0c31efd72
Improve Navbar (#13093)
* Allow nav menu items to be configurable

* Move highlighting logic outside of navbar component into container

* Refactor nav sub items to follow new pattern

* Update tests

* Fix e2e test

* Add className prop to all nav components

* Make nav menu items into PureComponents

* Make all nav defaultProps required

* Treat className & testID uniformly on both types of nav items

* Move nav activation getter to utils folder
2019-04-02 12:57:09 -07:00
Deniz Kusefoglu a71dbc52fb
Merge pull request #13035 from influxdata/org-reborg
Org reborg
2019-04-01 13:35:53 -07:00
Deniz Kusefoglu e67edba39d Skip label creation on dashboard which will be fixed in next PR 2019-04-01 12:41:36 -07:00
Deniz Kusefoglu 0bc9815fb3 Skip tasks tests for functionality that will be fixed in next PR 2019-04-01 12:08:42 -07:00
Deniz Kusefoglu 14c405f37d Remove orgs test, as the logic here will change 2019-04-01 12:07:56 -07:00
Deniz Kusefoglu 4c6c38889e Fix routes in tests 2019-04-01 12:07:29 -07:00
docmerlin (j. Emrys Landivar) 492d8406aa fix(tasks): make durations visibly show up nicely 2019-03-29 13:50:26 -05:00
Palak Bhojani 49a3adaef1 Update variables to use the same component for create button 2019-03-25 17:19:59 -07:00
Andrew Watkins 47882c8818
chore(e2e): remove test running 100 times (#12777)
* chore(e2e): remove test running 100 times

* fix: add orgID to createLabel
2019-03-20 10:38:17 -07:00
Andrew Watkins 971bb13d40 chore: update e2e labels endpoing to include orgID 2019-03-19 14:13:02 -07:00
Deniz Kusefoglu 46da0c8096 Add styles to empty state dropdown
Add dropdown to Dashboards empty state
Add dropdown to tasks empty state
Add missing import property
Fix e2e tests
2019-03-16 10:26:52 -07:00
Christopher Henn 1e91da7d48 Fix ESLint errors 2019-03-14 13:58:29 -07:00
alexpaxton 4b53d29b63
Fine tune inline label keyboard interactions (#12610)
* Fine tune keyboard shortcuts during inline label flow

* Update changelog

* Update label type in mocks

* WIP Add unit tests for inline label editing components

* WIP Add unit tests for inline interactions

* Write slightly more integrated test

* Just a couple more unit tests

* Add missing key to element in map

* Fix e2e tests
2019-03-14 13:15:21 -07:00
alexpaxton d2bd4b76d9
Inline Label Editing from Dashboards Index (#12384)
* Use client generated Label in dashboard actions

* Fetch labels when dashboards index loads

* Add styles for "colorless" labels

* Implement inline label editing from dashboard cards

* Fine tune label deletion

* Create createLabelAJAX function

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Make inline label creation work in dashboards index

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* WIP use ILabel as the defacto label type

* Ensure a label can be updated without having to change the name

* Ensure all fields in a Label can be changed in the overlay

* WIP write e2e tests for inline labelling

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

* wip: dashboard brittle

* wip dashboards

* Position inline labels popover such that it doesn't collide with the navbar

* chore: run all dashboard tests 25 times

* Ensure that there is a dashboard with a name that matches the search test query

* Appease the lint gods with mortal sacrifice

* Remove unit test in favor of e2e test

Everything the unit test is testing is also tested by the e2e test

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Remove for loop and fix search name assertion

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

* Fix affected task test

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

* Fix incorrectly named reference in e2e test

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

* Undo go file change

* Add guard back in

* Undo changes to go file
2019-03-08 09:11:30 -08:00
Andrew Watkins 2a1813bb13
test: reintroduce org (#12425)
* chore: unskip org test

* chore: org experiment

* test: only run each test once
2019-03-07 10:13:50 -08:00
Chris Goller 0ad1b504ec fix(e2e): skip org tests until we can create orgs 2019-03-06 19:54:19 -06:00
Andrew Watkins 911f533b5b
test(e2e/orgs): strengthen org delete test
* test(e2e/orgs): experimenting with org delete

* test(e2e/task): try delete test 1000 times

* reduce tests to 200

* test(task/e2e): wait for create and /org/delete

* test: visit tasks

* test(e2e/task): wait on task delete and get

* test(orgs/e2e): wait on get all orgs

* test(e2e): increase default command timeout to 10s

* visit tasks after create

* test(e2e/orgs): unskipping create and delete

* unskipping update org

* update org 200 times
2019-03-06 16:35:30 -08:00
Andrew Watkins 3190869d5e
fix: flux imports in tasks (#12366)
* WIP

* fix: task page create
2019-03-05 13:32:04 -08:00
Delmer 1b5ac814d6
test(de): remove a second query (#12293) 2019-03-04 18:52:32 -05:00
alexpaxton 818c6279a8
Polish/scraper overlay (#12317)
* Condense layout of scraper form

* Introduce overlay component for creating scrapers

* Simplify Bucket selection dropdown

* Relocate create scraper overlay component

* Introduce create scraper form component

* Add missing blank header cell to scrapers table

* Fix URL validation

* WIP cleanup

* Use CreateScraperOverlay in buckets list

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Remove unused components and update tests a little bit

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update unit tests

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Allow override of initial bucket selection in create scraper overlay

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Disable scraper/collector create button and show warning when no buckets exist

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Introduce alert component in clockface

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Use alert component in no buckets warning

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update scraper e2e tests

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update changelog

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>
2019-03-04 15:39:23 -08:00
Christopher Henn 1e33de0892 Fix invalid query submission on Data Explorer load
Fixes an issue where the Data Explorer would issue an empty (invalid)
query upon first load.

Adds a test to catch similar regressions in the future, and refactors
e2e tests to use a `testID` for asserting that empty graph messages
exist.

Closes #12326
2019-03-04 10:12:19 -08:00
Christopher Henn 08da3bc24d Update Cypress test with new variable convention 2019-03-04 09:13:41 -08:00
Alirie Gray 2c3fb1fe5f Test(explorer): add end-to-end test for buckets in dropdown in query builder 2019-03-01 15:57:50 -08:00
Deniz Kusefoglu 182d7e4af6
Merge pull request #12285 from influxdata/import-org-task
Add import overlay to org tasks by way of routes
2019-03-01 15:15:28 -08:00
Deniz Kusefoglu 2108ebb27d Skip flaky delete or rename tests 2019-03-01 15:02:07 -08:00
Alirie Gray ca3d66a7a1
Merge pull request #12307 from influxdata/test(explorer)/end-to-end-tests-empty-state-vis
test(explorer): add end-to-end test for empty state
2019-03-01 14:19:58 -08:00
alexpaxton 558457196b
Use ResourceCards to display Tasks (#12258)
* Remove child type validation from context menu

* Guard against missing optional props

* Increase size of search widget

* Change tasks display to use Resource Cards

* Extend resource card to support optional toggle slot and disabled styles

* Add enabled toggle to task cards

* Ensure task save button returns user to proper location

* Fix broken test

* Update tests

* Make test wait

* Fix task renaming and update tests

* Ensure all e2e tasks tests are able to run

* Ensure disabled styles for nested cards

* Specify default functions for optional render props

* Oops
2019-03-01 14:14:31 -08:00
Alirie Gray 4888741ae7 test(explorer): add end-to-end test for empty state 2019-03-01 14:11:30 -08:00
Andrew Watkins cc33679de7
test(e2e): wait for task delete (#12286) 2019-02-28 19:04:33 -08:00
Palak Bhojani 7a0262dcef test(orgs): skip delete test for org 2019-02-28 16:14:16 -08:00
Palak Bhojani 66102d76e7 tests(collectors): test for updating and creating telegraf configs 2019-02-28 15:45:19 -08:00
Alirie Gray f5aedaeb89
Merge pull request #12273 from influxdata/test/empty-bucket-state
test(explorer): test empty state for tag keys
2019-02-28 15:08:23 -08:00
Andrew Watkins 5ea3030878
test(e2e/de): function selection (#12253)
* wip(e2e/de): flux function selector

* test(e2e/de): add custom matcher for strings removed of formatting

* chore(e2e/de): rename custom matcher command

* chore: rename assertion command to fluxEqual

* fix: remove redundant lint step

* chore: change run script

* fix merge
2019-02-28 15:05:13 -08:00
Alirie Gray db1ef8c8d3 test(explorer): test empty state for tag keys 2019-02-28 15:02:18 -08:00
Alirie Gray f23370dcd2
Merge pull request #12270 from influxdata/test/filter-funcs
test(explorer): move test for filtering functions
2019-02-28 14:24:31 -08:00
Deniz Kusefoglu 81ccdb3a2c
Merge pull request #12244 from influxdata/org-view-overlays
Eradicate OrganizationView and begin eradicating GetOrgResources
2019-02-28 14:19:45 -08:00
Alirie Gray 47055cd2fc test(explorer): move test for filtering functions 2019-02-28 14:17:45 -08:00
Palakp41 5ad1006ab8
Merge pull request #12269 from influxdata/tests/telegraf-creation
test(collectors) Test telegraf config creation on collectors tab
2019-02-28 14:06:33 -08:00
Deniz Kusefoglu 2a708f3dad Update snapshots and orgs delete test 2019-02-28 14:03:04 -08:00