Commit Graph

1389 Commits (92e82884a60a2023a1785b2189dddb2574508545)

Author SHA1 Message Date
Delmer 845eb38253
fix(ui/dygraph): add guard for dygraph (#12828) 2019-03-22 10:13:35 -04:00
Deniz Kusefoglu 5537719594 Add orgID to export redux state 2019-03-21 16:45:31 -07:00
Deniz Kusefoglu 48b0eec4ad Port export state to redux and add variables to dashboard template 2019-03-21 16:35:52 -07:00
Deniz Kusefoglu 43b31307a6 Bump client version 2019-03-21 16:35:52 -07:00
Deniz Kusefoglu f33af08a59 Fix import/export routes 2019-03-21 16:35:52 -07:00
Palakp41 b6ec3817c4
Merge pull request #12823 from influxdata/fix/token-delete-confirm
Add confirmation to the delete button on tokens
2019-03-21 12:44:21 -07:00
Palak Bhojani bf638d88bc Add confirmation to the delete button on tokens 2019-03-21 12:23:55 -07:00
Alirie Gray 03fe6f65f1
Merge pull request #12820 from influxdata/remove-feature-flag-variables
chore(explorer): remove feature flag from variables tab
2019-03-21 12:19:36 -07:00
Palak Bhojani 537690016e Move Scrapers to configuration page 2019-03-21 11:30:57 -07:00
Alirie Gray fedd248dae chore(explorer): remove feature flag from variables tab 2019-03-21 11:11:50 -07:00
Delmer 91e99c1d38
fix(ui/labels): filter out hidden label tokens (#12785)
Co-authored-by: Andrew Watkins <watts@influxdb.com>
2019-03-21 13:54:53 -04:00
Iris Scholten cc1c56e6eb
Merge pull request #12806 from influxdata/fix/open-veo-graph
fix(ui): fetch queries when opening veo
2019-03-21 10:15:34 -07:00
Brandon Farmer ab7f123df5
Merge pull request #12757 from influxdata/move-create-org-overlay-router
Move create organization overlay to route
2019-03-21 09:30:20 -07:00
Iris Scholten a5ce26a256 fix(ui): fetch queries when opening veo
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2019-03-20 16:55:17 -07:00
Iris Scholten fb9434cbf8 fix(ui): Stop hiding horizontal scrollbar in flux raw data view
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-03-20 16:03:32 -07:00
Christopher Henn ea7f07b8b6 Remove component stylesheet imports 2019-03-20 15:51:31 -07:00
Christopher Henn 60ae4628a4 Use selected time range for metaqueries in DE 2019-03-20 15:44:21 -07:00
Christopher Henn 32235af9ae Accept metaquery options as an object 2019-03-20 15:44:21 -07:00
Alirie Gray 5bf72b962d fix(tasks): clear existing task schedule when changing types 2019-03-20 15:03:13 -07:00
Alirie Gray 6619746971
Merge pull request #12790 from influxdata/fix/create-bucket-fails
fix(configuration): check everySeconds on retentionRule on create bucket
2019-03-20 13:53:33 -07:00
Alirie Gray 8a3a6ff1e5 fix(configuration): check everySeconds on retentionRule on create bucket 2019-03-20 13:36:26 -07:00
Delmer 160fa2655e
fix(ui/onboarding): add flex 1 to admin step (#12732) 2019-03-20 16:31:41 -04:00
alexpaxton b1d8325207
Move bucket selection to first card in Query Builder (#12782)
* Break out raw data toggle into own component

* Move bucket selection into "first" card in query builder

* Appease linter gods

* Updoot
2019-03-20 13:06:30 -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
Brandon Farmer 7381748c47
Merge pull request #12765 from influxdata/fix-labels-in-cloud
Remove labels tab and give default org id to new labels
2019-03-19 18:05:14 -07:00
Brandon Farmer f4a18cda60 Remove labels tab and give default org id to new labels 2019-03-19 17:47:47 -07:00
Iris Scholten 6a41856895
Merge pull request #12764 from influxdata/fix/empty-scrapers-style
Update the scrapers and variables empty state to match other org views
2019-03-19 17:05:17 -07:00
Iris Scholten 5bc0ddc67c Update telegrafs in orgs view to use redux 2019-03-19 16:47:34 -07:00
Iris Scholten 452dd5a30c Update the scrapers and variables empty state to match other org views 2019-03-19 16:31:37 -07:00
Brandon Farmer 681aed222b Move create organization overlay to route 2019-03-19 15:50:34 -07:00
Brandon Farmer 1797ec6a5e
Merge pull request #12751 from influxdata/ui-required-org-id-labels
Update client for labels orgID changes
2019-03-19 15:05:41 -07:00
Christopher Henn e8bd94d7f0 Optmize variable hydration
To load the values for a variable, we create a graph of variables but
only hydrate the subset of this graph containing variables in use within
a certain context (and any other variables that those might depend on).

A bug in detecting the approriate subset to hydrate meant that more
variables were being executed than necessary. This commit fixes that
issue.
2019-03-19 14:32:03 -07:00
Christopher Henn f6b36ee4d0 Cancel outdated variable hydration requests
Limits the concurrency of variable hydration requests to at most 1
request at a time. This prevents a data race involving the variable
values state, frees up HTTP connections for other requests, and avoids
downloading data that will never be used.
2019-03-19 14:32:03 -07:00
Christopher Henn fa9f319142 Fix misc variables bugs
- Refresh all variables when a variable selection is made on a dashboard
  (to handle variables depending on other variables)
- Show a loading state in the variable control bar on a dashboard when
  variable values are loading
- Do not attempt to form a `VariableAssignment` from a variable with no
  available values
- Memoize the `getVariablesForDashboard` selector
2019-03-19 14:32:03 -07:00
Andrew Watkins 971bb13d40 chore: update e2e labels endpoing to include orgID 2019-03-19 14:13:02 -07:00
Brandon Farmer f1904071fc Update client for labels orgID changes 2019-03-19 13:49:15 -07:00
Deniz Kusefoglu 799edb87bc
Merge pull request #12714 from influxdata/templates-tab-in-orgs
Add templates tab to orgs
2019-03-19 13:45:24 -07:00
Deniz Kusefoglu 815bc24710 Remove unused notify from labels 2019-03-19 13:30:58 -07:00
Deniz Kusefoglu ea03a1be5c PR review suggestions 2019-03-19 13:30:33 -07:00
Deniz Kusefoglu 7a3a3fe09c Reset templates state on Component unmount 2019-03-19 13:09:28 -07:00
Andrew Watkins 952b54e412
chore(telegraf/ui): link tokens to telegraf configs via labels (#12740)
* feat: fetch authorization tokens for entire config page

* feat: add @influxdata namespace to token label creation

* feat(labels/ui): filter token labels from label list

* chore: remove auth after telegraf deletion
2019-03-19 12:38:44 -07:00
Deniz Kusefoglu 3f5beb0612 bump client version 2019-03-19 10:57:50 -07:00
Deniz Kusefoglu 8a39792191 Add templates tab to orgs 2019-03-19 10:57:39 -07:00
Alirie Gray 4309a70c1b
Merge pull request #12706 from influxdata/feat(variables)/add-to-script-from-side-menu
feat(variables): add ability to add a variable to script from side menu
2019-03-19 09:52:47 -07:00
Alirie Gray e8ffda2a62 feat(variables): add ability to add a variable to script from side menu 2019-03-19 09:41:22 -07:00
Iris Scholten a6abcea690
Merge pull request #12703 from influxdata/refactor/add-note-dashboard
Refactor/add note dashboard
2019-03-18 16:44:11 -07:00
Brandon Farmer 4fc97b1912 Move add note overlay to react router
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-03-18 16:20:27 -07:00
Andrew Watkins 2d97cd9b69
feat(labels/ui): update label name (#12702) 2019-03-18 15:46:13 -07:00
Andrew Watkins 77cf726a52
chore: use error message from server (#12704) 2019-03-18 15:44:41 -07:00
Alirie Gray 260c61262f feat(dashboards): add variable control bar for selecting values
Co-Authored-By: Alex Paxton <thealexpaxton@gmail.com>
2019-03-18 13:59:38 -07:00
Christopher Henn 243f1ea511 Enable selecting variable values in time machine 2019-03-18 11:40:39 -07:00
Christopher Henn b6ff068e5c Load variables before rendering Data Explorer 2019-03-18 11:40:39 -07:00
Iris Scholten dfb06f15b1
Merge pull request #12684 from influxdata/fix/org-bucket-mismatch
Fix mismatch in bucket row and header
2019-03-18 11:12:26 -07:00
Iris Scholten 2bf7c0aa4f fix(ui): Fix mismatch in bucket row and header 2019-03-18 10:57:17 -07:00
Deniz Kusefoglu c0980e8a3f
Merge pull request #12668 from influxdata/fix-types-after-client-update
Remove add label defaults to dashboard
2019-03-18 10:16:11 -07:00
Brandon Farmer 8d70a01167
Merge pull request #12573 from influxdata/dashboard-save-as-overlay
Data Explorer save as overlay uses router
2019-03-18 09:30:52 -07:00
Brandon Farmer 82ad513830
Merge pull request #12618 from influxdata/refactor/veo-overlay
VEO uses react router
2019-03-18 09:30:23 -07:00
Deniz Kusefoglu d5e1483fbd
Merge pull request #12661 from influxdata/add-import-to-empty
Add import to empty
2019-03-17 17:46:31 -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
Deniz Kusefoglu 1474b6a72e Remove add label defaults to dashboard 2019-03-16 09:53:27 -07:00
Iris Scholten 009e5130e8
Merge pull request #12663 from influxdata/feat/flux--insert-function
feat(ui): Update flux functions insertion from  toolbar to add to current line or below
2019-03-15 17:37:56 -07:00
Iris Scholten e250eb1977 feat(ui): Update flux functions insertion from toolbar to add to current line or below 2019-03-15 17:24:01 -07:00
Deniz Kusefoglu bc106c269a Convert ITemplate types to documentcreate types 2019-03-15 17:01:04 -07:00
Brandon Farmer 32ab5f54ac VEO uses react router
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-03-15 17:00:37 -07:00
Deniz Kusefoglu 28fd243fa2 Bump client version 2019-03-15 17:00:24 -07:00
Deniz Kusefoglu 98e74881eb Fix confused types and remove add label defaults 2019-03-15 13:55:00 -07:00
Deniz Kusefoglu 181f5eb2c9 dashboards/reducers/v2 2019-03-15 13:55:00 -07:00
Deniz Kusefoglu 0dd37106d9 dashboards/actions/v2 2019-03-15 13:55:00 -07:00
Deniz Kusefoglu 00d32ec8eb src/dashboards/apis/v2 2019-03-15 13:53:28 -07:00
Palak Bhojani 6e8c30f76f Add the ability to run task manually from tasks run page 2019-03-15 12:29:51 -07:00
Iris Scholten d9b416ae06 Stop scrollbars from covering text in flux editor 2019-03-15 09:35:58 -07:00
Andrew Watkins f3448ebb02
fix(fluxui/union): removes pipes and strings from union insertion (#12636) 2019-03-15 09:23:42 -07:00
Christopher Henn 1e91da7d48 Fix ESLint errors 2019-03-14 13:58:29 -07:00
Christopher Henn 9c1abbf307 Fix typo with linting script 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
Christopher Henn ccc8165b16 Move TimeMachine query data into Redux
Closes #12613
2019-03-14 11:34:05 -07:00
Deniz Kusefoglu 9175fdb1e2 Fix all the sadness in dashboards 2019-03-13 19:18:18 -07:00
Deniz Kusefoglu b68793238f Remove references to default dashboard 2019-03-13 18:32:47 -07:00
Deniz Kusefoglu a9cc62778b
Merge pull request #12608 from influxdata/dashboard-import-routes
Dashboard import routes
2019-03-13 18:26:39 -07:00
Deniz Kusefoglu 4e74c2ec4f Handle dashboard imports through router 2019-03-13 17:05:56 -07:00
Palakp41 bddc73a614
Merge pull request #12611 from influxdata/feat/add-variables-config-page
Add variables to configuration page and navigation for config tabs
2019-03-13 15:21:28 -07:00
Christopher Henn 8ef815943d Hydrate in use variables before running TimeMachine queries 2019-03-13 15:08:01 -07:00
Christopher Henn 7a3afa66f6 Rename submitScript to submitQueries 2019-03-13 15:08:01 -07:00
Christopher Henn 83dd14bdbb Hydrate in use variables before displaying the CEO 2019-03-13 15:08:01 -07:00
Palak Bhojani 7c503337d3 Add variables to configuration page and navigation for config tabs 2019-03-13 14:38:04 -07:00
Deniz Kusefoglu 03dc2f392e fix export dashboard routing 2019-03-13 12:14:10 -07:00
Deniz Kusefoglu cc0c50ec14 Rename task import overlay
Rename tasks export overlay
Exptend exporting to template to tasks
Fix default props typing
2019-03-13 11:38:32 -07:00
Palakp41 1808a1a520
Merge pull request #12580 from influxdata/feat/sort-tasks-run
Add sorting to  Task Runs List
2019-03-13 11:20:43 -07:00
Brandon Farmer c74814d830 Add back Variable label in DE Save as overlay 2019-03-13 11:19:57 -07:00
Brandon Farmer 44417b146c Update snapshots 2019-03-13 11:15:50 -07:00
Delmer e7614458cb Update ui/src/dataExplorer/components/SaveAsOverlay.tsx
Co-Authored-By: bthesorceror <bthesorceror@gmail.com>
2019-03-13 11:14:38 -07:00
Brandon Farmer ebffacc0b5 Data Explorer save as overlay uses router 2019-03-13 11:14:38 -07:00
Iris Scholten 6869177a90
Merge pull request #12569 from influxdata/fix/telegraf-instructions-token
fix(ui): Ensure telegraf setup instructions has token information
2019-03-13 11:09:20 -07:00
Alirie Gray f2f9d4fbac
Merge pull request #12523 from influxdata/explorer/save-as-variable
feat(explorer): add save as variable overlay
2019-03-13 10:57:51 -07:00
Palak Bhojani 7e2a64201c Add sorting to Task Runs List 2019-03-13 10:57:38 -07:00
Iris Scholten 7539044e4c
Merge pull request #12575 from influxdata/feat/import-org-dropdown
feat(ui): add organization dropdown to import overlay
2019-03-13 10:55:03 -07:00
Iris Scholten 1ba9066ff4
Merge pull request #12583 from influxdata/fix/legend-key-errors
fix(ui): Update keys for legend items to avoid duplicate key warnings
2019-03-13 10:54:20 -07:00
Iris Scholten 289c6d17f3
Merge pull request #12554 from influxdata/fix/system-dashboard-template
fix(ui): add v namespace before variables in System template
2019-03-13 10:53:16 -07:00
alexpaxton e1bf2fcc4c
Ensure panels and index lists contrast with background when placed inside a tabbed page (#12601) 2019-03-13 10:50:57 -07:00
Christopher Henn ac022bdf79 Fix unresponsive time range dropdown on dashboards 2019-03-13 10:49:28 -07:00
Christopher Henn 6a21c80d16 Fix updating variable script 2019-03-13 10:49:11 -07:00
Christopher Henn 72c2286f78 Fix caching in ValueFetcher 2019-03-13 10:48:55 -07:00
Christopher Henn ce1713eef0 Refresh dashboard values when any cell changes 2019-03-13 10:48:55 -07:00
Iris Scholten 6dba91de77 fix(ui): Update keys for legend items to avoid duplicate key warnings 2019-03-12 16:48:09 -07:00
Iris Scholten efec3a5426 feat(ui): add organization dropdown to import overlay 2019-03-12 15:48:47 -07:00
Alex P 7af5e4a64e Ensure VEO overlay is full height of screen 2019-03-12 15:20:41 -07:00
Alex P d80b9e3ef9 Allow custom classnames on overlays 2019-03-12 15:20:29 -07:00
Iris Scholten 7865679d71 fix(ui): Ensure telegraf setup instructions has token information 2019-03-12 13:47:58 -07:00
Alirie Gray 464629194d feat(explorer): add save as variable overlay 2019-03-12 12:42:09 -07:00
alexpaxton 05c591b478
Polish Overlays (#12527)
* Rename "OverlayTechnology" to "Overlay"

* Make overlays scrollable

* Update instances of Overlay to import only primary class

* Hide horizontal scrollbar within overlay masks
2019-03-12 11:54:13 -07:00
Delmer b5c08294b3
fix(ui/labels): update empty state for no labels (#12521) 2019-03-12 13:13:53 -04:00
Iris Scholten 74ff80c796 fix(ui): add v namespace before variables in System template 2019-03-12 10:10:17 -07:00
Delmer 493f6dac58
fix(ui/inlinelabels): filter labels in render (#12509) 2019-03-12 12:58:19 -04:00
Delmer 6112401c26
fix(ui/filter): update filter sorting to ignore casing (#12485) 2019-03-12 12:41:49 -04:00
Delmer 31315f35ce
fix(ui/signin): clear notifications on redirect (#12518)
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2019-03-12 12:39:03 -04:00
Christopher Henn 7642ae5563 Populate and substitute variables on dashboard load 2019-03-12 08:54:18 -07:00
Chris Goller abb3c4d6cc
Merge pull request #12536 from influxdata/fix/telegraf-perms
fix(dataLoaders/actions): add orgID to resource permissions
2019-03-11 22:33:42 -05:00
Chris Goller 5c3fe3f17e fix(dataLoaders/actions): add orgID to resource permissions 2019-03-11 21:35:08 -05:00
Iris Scholten 29771bf312
Merge pull request #12534 from influxdata/fix/empty-time-range
fix(ui): update default time range to relative time range
2019-03-11 19:32:03 -07:00
Iris Scholten b10a044e01 fix(ui): update default time range to relative time range 2019-03-11 19:12:50 -07:00
Iris Scholten 3df959c8a4 feat(ui): Create dashboards from templates for telegraf plugins 2019-03-11 18:54:33 -07:00
Deniz Kusefoglu 98915875cf
Merge pull request #12532 from influxdata/create-system-template-on-start
Create system template on onboarding
2019-03-11 18:24:04 -07:00
Deniz Kusefoglu f005026c24 Create system template on onboarding 2019-03-11 18:08:36 -07:00
Iris Scholten b9808ed0c8
Merge pull request #12531 from influxdata/feat/remove-dash-export-feature-flag
feat(ui): Show dashboard and template export buttons
2019-03-11 18:04:26 -07:00
Deniz Kusefoglu 947aadeb82
Merge pull request #12528 from influxdata/feat/export-to-template
Add export dashboard to template button to export overlay
2019-03-11 17:31:49 -07:00
Deniz Kusefoglu c304828228 Fix type errors 2019-03-11 17:21:26 -07:00
Deniz Kusefoglu 2f79ad728f Remove export overlay from dashboards index 2019-03-11 17:17:03 -07:00
Iris Scholten d0a76ddde7 feat(ui): Show dashboard export button 2019-03-11 17:16:29 -07:00
Deniz Kusefoglu bdd7a6616b Update swagger
pick cell and view attributes in templates
Enable creating template from export dashboards
Add notifications to save dashboard as template
Remove comments from resourceToTemplates function
Fix resourceToTemplate test
2019-03-11 16:51:45 -07:00
Iris Scholten 5850dacd8b feat(ui/dash): Add import dashboard button to org view 2019-03-11 16:15:42 -07:00
Iris Scholten 9216528555
Merge pull request #12471 from influxdata/feat/12324
feat(ui/export/json): format export using jsonapi
2019-03-11 15:17:38 -07:00
Palakp41 6081f78657
Merge pull request #12511 from influxdata/feat/filter-user-dropdown-member
Add filter to the users dropdown and list of selected members
2019-03-11 15:08:40 -07:00
Palak Bhojani 84bc0dfddb Add filter to the users dropdown and list of selected members 2019-03-11 14:51:37 -07:00
Delmer Reed e1b04a22cf fix(ui/dash/export): export in jsonapi format
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

rename(ui/readview): update name to getView

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-03-11 14:49:37 -07:00
alexpaxton 59169953de
Polish Dropdowns (#12499)
* Remove large left padding on dropdown items in action mode

No need to make room for the highlighted dot. Also prettier formatted the file

* Animate rotation of dropdown caret

* Fix autorefresh dropdown highlighting

* Add divider with label to time range dropdown
2019-03-11 13:57:02 -07:00
alexpaxton 3e9234f999
Remove unused labels components (#12513) 2019-03-11 13:14:47 -07:00
Chris Goller fa47490fd3
Merge pull request #12133 from sebito91/typo_fix
Tweak language in the initial telegraf registration for v2.0 alpha
2019-03-11 13:49:21 -05:00
Iris Scholten 3b77ec9456
Merge pull request #12496 from influxdata/feat/import-dashboard
feat(ui/dash/import): create dashboards from imported templates
2019-03-11 11:45:24 -07:00
Iris Scholten 9114362b39 feat(ui/dash/import): create dashboards from imported templates 2019-03-11 11:35:12 -07:00
alexpaxton 1c72fb3fc1
Polish Label Color Picker (#12464)
* WIP introduce color picker component

* revert this commit

* Polish appearance of color selector

* Allow color picker to conform to its parent's size

* Replace label color dropdown with clockface color selector

* Add testID props to color picker and associated components

* Update changelog

* Fix snapshot test

* Remove temporary debugging code for color picker

* Refactor color picker to be a controlled component

* Update snapshots
2019-03-11 10:27:23 -07:00
Sebastian Borza 1d554afa64
updating snap to match test 2019-03-10 23:13:08 -05:00
Sebastian Borza 199852b449
adding double-hyphen command 2019-03-10 23:13:07 -05:00
Sebastian Borza 4d2122fbdc
updating telegraf instructions command 2019-03-10 23:12:22 -05:00
Andrew Watkins 8e36f59f33
Feat/tele token (#12436)
* feat: add telegraf configs to the config page

* feat: add tokens to telegraf configs

* feat(perms): display proper permissions to user

* feat: add tokens to redux

* wip: add token to auths

* hack: make server return labels and links

* wip: create a label for telegraf config

* fix(http/telegraf): JSON marshaling using pointer receiver

* chore: add back whitespace

* chore: add back whitespace

* add telegraf token to popup

* feat(token/tele): remove token when config gets deleted

* test: sadness

* change to streaming

* unskip test
2019-03-08 19:09:42 -08:00
Iris Scholten 2616ddf728 chore(ui): update client library dependency 2019-03-08 17:21:25 -08:00
Andrew Watkins ec241a1d2f unskip test 2019-03-08 17:07:56 -08:00
Andrew Watkins 1fea6205ac change to streaming 2019-03-08 17:04:15 -08:00
Andrew Watkins 95ae38a151 test: sadness 2019-03-08 16:27:49 -08:00
Andrew Watkins 4970b6cec4 feat(token/tele): remove token when config gets deleted 2019-03-08 15:52:53 -08:00
Andrew Watkins 89195f6e07 add telegraf token to popup 2019-03-08 15:05:31 -08:00
Christopher Henn ae5bdeb997 Add variable hydration utility 2019-03-08 14:32:58 -08:00
Delmer 1b28fd3d49
feat(ui/dash/export): add route for dash exporting (#12466) 2019-03-08 16:29:22 -05:00
Delmer 3ed9ad3ee1
feat(ui/tasks): inline label editing (#12461) 2019-03-08 15:11:07 -05:00
Christopher Henn d168360739 Run Prettier through ESLint 2019-03-08 10:55:30 -08:00
Andrew Watkins f4a830b3f2 wip: create a label for telegraf config 2019-03-08 10:49:03 -08:00
Russ Savage 83614f94d7
Minor text updates for password error and default scraper name (#12448)
* updating password length message
* updating default scraper name
* updating password error in a few more places; fixed tests
2019-03-08 09:12:59 -08: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 6d57b61c08 wip: add token to auths 2019-03-07 21:09:34 -08:00
Andrew Watkins 4ce43462c8 feat: add tokens to redux 2019-03-07 21:09:34 -08:00
Andrew Watkins 062fbe5945 feat(perms): display proper permissions to user 2019-03-07 21:09:34 -08:00
Andrew Watkins c1e5a5ddb7 feat: add tokens to telegraf configs 2019-03-07 21:09:34 -08:00
Andrew Watkins ba60e12629 feat: add telegraf configs to the config page 2019-03-07 21:09:34 -08:00
Iris Scholten 368292d5d2 fix(ui): Update client library dependency to fix duplicating labels on task import 2019-03-07 16:39:00 -08:00
Palak Bhojani 834f6d0b75 Add the ability to remove a member from org 2019-03-07 14:52:58 -08:00
Palak Bhojani 7c348b7bb4 Update users dropdown to filter out the users that already exist in org 2019-03-07 14:03:16 -08:00
Delmer 05868409bb
fix(ui/signin): remove loading state transition interval (#12430) 2019-03-07 15:12:32 -05:00
Iris Scholten 69b51cbc4b
Merge pull request #12428 from influxdata/update-client-dependency
Update client dependency to fix dashboard cloning and task import
2019-03-07 11:26:28 -08:00
Andrew Watkins b441d23818
chore: add buckets sub item to config nav (#12429) 2019-03-07 10:37:26 -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
Iris Scholten d319f88fcf chore(ui/client): Update client dependency to fix dashboard cloning and task import 2019-03-07 10:02:35 -08:00
Chris Goller 94dcfc770e
Merge pull request #12412 from influxdata/fix/remove-all-users-create-org
fix(authz): revert https://github.com/influxdata/influxdb/pull/11441
2019-03-06 20:08:04 -06:00
Chris Goller 0ad1b504ec fix(e2e): skip org tests until we can create orgs 2019-03-06 19:54:19 -06:00
Daniel Campbell d232b21eb4
fix onboarding scrollbars (#12408) 2019-03-06 17:42:51 -08: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
Palakp41 eb55424013
Merge pull request #12405 from influxdata/update-swagger-type-logs
Update Logs type in tasks response to include an object for event
2019-03-06 16:12:49 -08:00
Palak Bhojani ef440615e6 Update response to include event object for LogEvent type
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Chris Goller
2019-03-06 16:01:47 -08:00
Palakp41 d00e54e1f2
Merge pull request #12401 from influxdata/feat/org-add-members
Add the ability to add members to an org
2019-03-06 15:44:38 -08:00
Delmer d18c6fe38c
feat(ui/oauth/redirect): redirects to /api/v2/signin (#12406) 2019-03-06 18:27:31 -05:00
Palak Bhojani 18574c57a3 Add the ability to add members to an org 2019-03-06 15:09:08 -08:00
Delmer fe6ce24c80
chore(ui/client:) update client to 0.2.27 (#12395) 2019-03-06 17:13:51 -05:00
Delmer 0fa7605276
fix(ui/tasks/redux): add updateTask for add/remove labels (#12369) 2019-03-06 15:40:35 -05:00
Deniz Kusefoglu 08f159dd46
Merge pull request #12315 from influxdata/task-import-export-functions
Create task export from and import to template functions
2019-03-06 11:45:31 -08:00
Nathaniel Cook b129026334
Merge pull request #12371 from influxdata/flux-staging
upgrade Flux to v0.21.3
2019-03-06 12:17:12 -07:00
Deniz Kusefoglu 6c7b2808e5 Fix task edit path 2019-03-06 11:08:18 -08:00
Deniz Kusefoglu 6a56f68580 Remove unused task types 2019-03-06 11:06:09 -08:00
Deniz Kusefoglu 355151e2ff Convert blankTemplate to a function 2019-03-06 11:04:44 -08:00
Deniz Kusefoglu c87b6404ef Make version numbers match in templates 2019-03-06 10:57:49 -08:00
Deniz Kusefoglu 23229216eb Fix test indentation 2019-03-06 10:57:34 -08:00
Deniz Kusefoglu 2fce891950 Fix capitalization of functions 2019-03-06 10:51:40 -08:00
Chris Henn bea7cc9d50
Update ui/src/organizations/components/OrgTaskExportOverlay.tsx
Co-Authored-By: ebb-tide <deniz@influxdata.com>
2019-03-06 10:49:06 -08:00
Chris Henn 22909a13e1
Update ui/src/shared/copy/notifications.ts
Co-Authored-By: ebb-tide <deniz@influxdata.com>
2019-03-06 10:48:52 -08:00
Chris Henn 13f64c3690
Update ui/src/shared/copy/notifications.ts
Co-Authored-By: ebb-tide <deniz@influxdata.com>
2019-03-06 10:48:39 -08:00
Daniel Campbell 09ae20c384
add histogram icon (#12394) 2019-03-06 10:23:32 -08:00
Nathaniel Cook 3f619219e1 Merge branch 'master' into flux-staging 2019-03-06 09:28:32 -07:00
Deniz Kusefoglu 445b9e2e2a Add testst to resourcesToTemplate 2019-03-06 00:19:28 -08:00
Deniz Kusefoglu e304dd7d7d Configure importOverlay to work in tasks 2019-03-05 23:02:24 -08:00
Deniz Kusefoglu fa636e9875 Add try catch and notifications to task import 2019-03-05 23:01:45 -08:00
Deniz Kusefoglu 3a374328d8 Add import overlay to tasks route 2019-03-05 21:51:07 -08:00
Deniz Kusefoglu 1f2905a705 Add export overlay to tasks route 2019-03-05 21:44:34 -08:00
Deniz Kusefoglu d2583c9719 bump client version, and use updated client template types to create template 2019-03-05 21:41:37 -08:00
Deniz Kusefoglu faaac68c56 call client create task from template from org import overlay 2019-03-05 17:10:06 -08:00
Deniz Kusefoglu 97e1f21086 Add detailed types to templates 2019-03-05 17:08:51 -08:00
Deniz Kusefoglu e9cd777442 Menu item will run action even if no collapseMenu function 2019-03-05 17:08:51 -08:00
Deniz Kusefoglu 6cbf537d16 Create task to template function and perform in export task overlay 2019-03-05 17:08:51 -08:00
Deniz Kusefoglu 73dbfe0d68 Temporarily make organization on task optional. it will be removed 2019-03-05 17:08:51 -08:00
Deniz Kusefoglu 4978fd7bc1 Remove console.log 2019-03-05 17:08:30 -08:00
Andrew Watkins 6a5780a06b
fix(ui/nav): double highlight nav menu (#12380)
* fix: nav double highlight

* refactor: use some instead of reduce
2019-03-05 16:46:20 -08:00
Christopher Henn 757fd82ac5 Remove log viewer histogram code 2019-03-05 16:38:32 -08:00
Christopher Henn fe04ef3476 Fix histogram tooltip z-index issues
Closes #11950
2019-03-05 16:38:32 -08:00
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