Commit Graph

1030 Commits (afcfb1085919d7ada1240b30a81b0ac16d070843)

Author SHA1 Message Date
Iris Scholten f8c6fdbed7
Merge pull request #12379 from influxdata/fix/cells-context-menu
fix(ui): update z-index of cells when hovered
2019-03-05 16:29:58 -08:00
Iris Scholten a4c0d127a0 fix(ui): update z-index of cells when hovered
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-03-05 16:04:33 -08:00
Nathaniel Cook c9dfb44ed1 Merge branch 'master' into flux-staging 2019-03-05 16:56:25 -07:00
Alirie Gray dcb8c6e9b9
Merge pull request #12373 from influxdata/fix/remove-org-from-tasks
fix(tasks): replace organization on tasks with org name string
2019-03-05 15:07:20 -08:00
Alirie Gray e4b3023748 fix(tasks): replace organization on tasks with org name string 2019-03-05 14:43:50 -08:00
Nathaniel Cook a536268f42 Merge branch 'master' into flux-staging 2019-03-05 14:43:27 -07:00
Andrew Watkins 3190869d5e
fix: flux imports in tasks (#12366)
* WIP

* fix: task page create
2019-03-05 13:32:04 -08:00
Iris Scholten e2da5f4e21
Add a cloud feature flag and prevent scrapers from showing up in cloud (#12355)
* feat(ui): Add a cloud feature flag and prevent scrapers from showing up in cloud

* fix(ui): Update constant to be more readable

Co-Authored-By: ischolten <ischolten.is@gmail.com>
2019-03-05 13:23:15 -08:00
Andrew Watkins 11989a1708
fix: replace hardcoded localhost:9999 with browser origin (#12359) 2019-03-05 12:00:21 -08:00
Nathaniel Cook 6daf289e29 Merge branch 'master' into flux-staging 2019-03-05 10:00:39 -07:00
Andrew Watkins aa640cb5e3
refactor: make get labels generic (#12351)
* refactor: make get labels generic

* wip: list all buckets on configuration page

* feat: get buckets from redux

* feat: add create buckets to configuration page

* feat(ui/buckets): add update to config page

* feat(buckets/ui): delete buckets from config page

* fix: tsc error

* chore: update snapshots
2019-03-05 08:31:08 -08:00
alexpaxton 4c3679358b
Components for handling inline label editing (#12241)
* First pass at component family for handling inline label editing

* Simplify util for checking if a label has a unique name

* Update new components to use Label type from client

* Add return type to helper function

* Remove excess camel casing

* Incorporate create label overlay into inline labels component

* Simplify reducer

* Use common OverlayState instead of local

* Guard against missing arg in label name validation
2019-03-04 17:16:01 -08:00
Andrew Watkins e3d68893db
refactor(ui/labels): store label state in redux store (#12347)
* feat(config): add labels reducer with set labels action

* refactor: fetch labels with thunk

* feat(labels): introduce add label to reducer

* feat(labels): create a label and add to store

* feat(labels): add edit label action

* feat: add update labels to redux

* feat: delete label in redux

* feat: add redux delete to config labels
2019-03-04 16:14:49 -08:00
Delmer 1b5ac814d6
test(de): remove a second query (#12293) 2019-03-04 18:52:32 -05:00
Christopher Henn a52022d93c Refactor time machines state
Removes the unused `type` and `sourceID` fields from a `DashboardQuery`.

Derives the `manuallyEdited` bool for the active time machine query from
existing state rather than explicitly tracking it.

Removes vestigial support for editing queries as InfluxQL.

Removes the unused `LogViewer` view type.

Closes #12266
2019-03-04 15:51:16 -08: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 2c771d515d Fix building queries with derivatives 2019-03-04 15:19:29 -08:00
Alirie Gray 6f8a44746f
Merge pull request #12341 from influxdata/variables/feature-flag-explorer-tab
refactor(explorer): hide variables tab in explorer behind feature flag
2019-03-04 14:40:59 -08:00
Delmer cc852fff7b
chore(ui/client): update ui client to 0.2.21 (#12339)
* chore(client/update): update client to 0.2.21
2019-03-04 17:32:23 -05:00
Alirie Gray c09a4b3276 refactor(explorer): hide variables tab in explorer behind feature flag 2019-03-04 14:30:24 -08:00
Alirie Gray aa07c6321e fix(variables): close create overlay when new variable created 2019-03-04 13:44:50 -08:00
Delmer b632b493ae
fix(ui/editablename): add spinner to pending name edits (#12327) 2019-03-04 13:17:54 -05: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
Christopher Henn 5d5f1c1956 Fix "Save As Task" feature 2019-03-04 09:13:41 -08:00
Christopher Henn 4ced47417f Use extern parameter for variable substitution 2019-03-04 09:13:41 -08:00
Christopher Henn 04d48a434c Add extern parameter to executeQuery util 2019-03-04 09:13:41 -08:00
Christopher Henn e925467aed Remove unused language parameter from query utils 2019-03-04 09:13:41 -08:00
Christopher Henn 2ed6c3c81d Remove unused API function, flatten api/v2 folder 2019-03-04 09:13:41 -08:00
Adam 6ddaf36d83
refactor(stdlib): moved influxFieldsAsCols to influxdata/influxdb/v1; removed references in influxdb code (#12147) 2019-03-04 10:31:25 -05: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
Deniz Kusefoglu 21b64d3456 Fix dashboardIndex which uses import overlay 2019-03-01 14:28:23 -08:00
Deniz Kusefoglu b993882b43 Add import overlay to routing 2019-03-01 14:23:48 -08:00
Deniz Kusefoglu b69e869c09 Move import logic to parent of import overlay 2019-03-01 14:21:42 -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
alexpaxton e5c6509ef3
Redesign Note Editor Overlay (#12304)
* Redesign note editor to display the preview side by side with the editor

* Update changelog
2019-03-01 12:53:27 -08:00
alexpaxton 86f5753b55
Polish/code snippets (#12302)
* Refactor CopyText component into CodeSnippet component

* Update instances of code snippet

* Force code snippet contents to wrap

* Update changelog
2019-03-01 12:33:37 -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
Deniz Kusefoglu 90dff8cc0e Add testid to page header and fix org cypress tests 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu e9ca0218e8 Remove OrgExportOverlay and make ExportOverlay more generic 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu 476891c3e1 Fix export overlay link in tasks 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu e3aa300549 Rename default exports to reflect filename 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu 2d74c6d0bf Remove console log 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu aafbb9709a Remove unused notify and fix cypress tests 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu 5cb69fc75e Fix merge conflicts on variables page 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu 5a14bfb9f8 Fix types 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu 2325df1082 Add orgView actions and reducers and remove getResourceByOrg from tasks 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu 49edffe2e6 Move orgs action to orgs file from index 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu 6bc33d134e Place all Task typing in one place 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu 5001034b0b Add route and components for task export overlay 2019-02-28 14:03:03 -08:00
Deniz Kusefoglu ea2eee20d6 Remove OrganizationView and use separate containers instead 2019-02-28 14:03:03 -08:00
Alirie Gray cd992cd644
Merge pull request #12267 from influxdata/tests(explorer)/filter-functions
test(explorer): add end-to-end testing for filtering functions by name
2019-02-28 13:58:21 -08:00
Alirie Gray 2d5db1e778 test(explorer): add end-to-end testing for filtering functions by name 2019-02-28 13:51:47 -08:00
Palak Bhojani 2f9abd0e20 test(collectors) Test telegraf config creation on collectors tab 2019-02-28 13:27:58 -08:00
Palak Bhojani 3580897f9f test(scrapers): test for deleting a scraper 2019-02-28 11:28:50 -08:00
Palak Bhojani ae2336c8bf test(scrapers): update a scraper name 2019-02-28 10:44:14 -08:00
Deniz Kusefoglu 86278b653e Add backslash to org routes 2019-02-28 01:07:27 -08:00
Palakp41 9c33541275
Merge pull request #12237 from influxdata/tests/scrapers-creation
test(scrapers): add test for creating scrapers
2019-02-27 16:23:48 -08:00
Delmer 5d08857a06
fix(ui/types/v2/tasks): consolidate task types (#12240) 2019-02-27 19:20:41 -05:00
Palak Bhojani 3ee2599744 test(scrapers): add test for creating scrapers 2019-02-27 15:59:55 -08:00
Palakp41 e99b6112be
Merge pull request #12226 from influxdata/tests/bucket-deletion
test(buckets): add test for deletion
2019-02-27 15:31:53 -08:00
Palak Bhojani 5451963016 test(buckets): add test for deletion 2019-02-27 14:53:03 -08:00
Andrew Watkins 21aec22b5d
test(e2e/de): shows an error syntactically incorrect query is submitted (#12221)
* test(e2e/de): shows an error if a syntactically incorrect query is submitted

* chore(task/e2e): remove .only call in task tests

* test(e2e/de): remove dynamic testid
2019-02-27 14:17:15 -08:00
Palakp41 a4355c817a
Merge pull request #12216 from influxdata/feat/tasks-runs-logs
Update logs to use api call instead of dummy data
2019-02-27 13:25:26 -08:00
Palakp41 b3cb157d56
Merge pull request #12222 from influxdata/chore/notification-telegrafs-org
Update telegraf to display notifications for update/delete
2019-02-27 13:11:14 -08:00
Palak Bhojani f200db59fb Update telegraf to display notifications for update/delete 2019-02-27 13:01:39 -08:00
Christopher Henn 5d16145b55 Centralize variables state in Redux store 2019-02-27 12:47:45 -08:00
Palak Bhojani 9de809b4ad Update logs to use api call instead of dummy data 2019-02-27 11:25:40 -08:00
Delmer 5a63037e76
feat(ui/labels/click): add searchTerm updating for label clicks (#12111) 2019-02-27 14:21:21 -05:00
Brandon Farmer b08ea901f1
Merge pull request #12208 from influxdata/feat/dont-show-modal-if-script-same
Show confirmation modal only if script changed
2019-02-27 10:51:37 -08:00
Delmer c4275fb484
test(ui/de): add test for de deleting query text (#12213) 2019-02-27 12:44:44 -05:00
Brandon Farmer e09253e461 Show confirmation modal only if script changed
In time machine only show a confirmation modal if the script is
different that the builder
2019-02-26 16:34:15 -08:00
Andrew Watkins 1471be4a7f
refactor(e2e): remove sources, update commands, flaky test
* refactor(e2e): remove the need to create a source before signing in

* refactor(e2e): move setup user into signin function

* fix(orgs): make assertions after org creation

* chore: package.lock
2019-02-26 14:05:53 -08:00
Jonathan A. Sternberg dd50e10d6d
Merge pull request #12165 from influxdata/flux-staging
update to Flux v0.21.0
2019-02-26 13:12:37 -06:00
Christopher Henn 2f0dd58737 Add e2e test for dis/enabled DE submit button
Closes #12191
2019-02-26 10:45:51 -08:00
Palakp41 68861dd2d1
Merge pull request #12168 from influxdata/tests/variable-deletion
test(variables): add test for deletion
2019-02-26 10:35:51 -08:00
Brandon Farmer 30759b110f Remove CreateOrUpdateConfig 2019-02-26 09:54:32 -08:00
Brandon Farmer 5bf2b04849 Create telegraf config on create step 2019-02-26 09:25:04 -08:00
Alirie Gray 99ad12dc94 test(variables): add test for deletion
Co-authored-by: Palak Bhojani <palak@influxdata.com>
2019-02-26 09:24:25 -08:00
Palakp41 5982a075c3
Merge pull request #12169 from influxdata/fix/scraper-filtering
Add filtering to scrapers tab on org
2019-02-26 09:20:19 -08:00
Christopher Henn 0d774cecb0 Let Plot components size themselves 2019-02-26 09:07:40 -08:00
alexpaxton 6e1ee40f45
Introduce ResourceList components and implement on Dashboards index (#12166)
* WIP Introduce Resource List component family

* Shrink padding of resource cards a bit

* Swap positions of meta information and labels in resource cards

* Introduce resource name component

* Polish resource name editing

* Remove child type validation from context component

* Styles for context menus inside resource cards

* Make resource name + meta line responsive

* Polish appearance of responsive resource description

* Replace dashboards list with dashboards cards

* Update e2e tests and add testID props to a bunch of components

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

* Make testID props consistent

Make all cypress tests have .test extension
Update E2E tests for dashboards index
Split off test for dashboards view

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

* Move cell test to dashboards view test

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

* Remove cells test from dashboards index test

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

* Fix dashboard view - cells e2e test

* Refactor meta1 and meta2 props into a single metadata prop that returns an array of elements

* Cleanup

* Fix and refactor e2e test to be less brittle
2019-02-25 17:41:18 -08:00
Palak Bhojani 2d701d25ef Add filtering to scrapers tab on org 2019-02-25 16:06:57 -08:00
Andrew Watkins 169a798081
chore: remove sources from ui (#12164)
* chore: remove sources from TimeSeries component

* chore: remove sources from ui
2019-02-25 15:35:30 -08:00
Palak Bhojani 0be45c1a13 Update the loading state to redux 2019-02-25 13:45:16 -08:00
Palak Bhojani 274f79f401 Update tasks runs to use the api instead of dummy data 2019-02-25 13:45:16 -08:00