Commit Graph

1392 Commits (b5f6effda473af22cadc13b6be7747a1ad0b9486)

Author SHA1 Message Date
Christopher Henn 707590283b Upgrade @influxdata/vis to 0.2.3 2019-04-03 09:31:53 -07:00
Deniz Kusefoglu d641fe03d8 Fix test and linting errors 2019-04-02 23:24:02 -07:00
Deniz Kusefoglu 11e2001d03 Add tokens to former org view 2019-04-02 23:00:25 -07:00
Deniz Kusefoglu 110679d079 Remove profile subtab in nav 2019-04-02 21:16:17 -07:00
Deniz Kusefoglu 9ae386372a Cloud exclude orgs in mepage 2019-04-02 21:14:07 -07:00
Delmer 02d27a91e5
feat(ui/template/labels): show template labels (#13101) 2019-04-02 19:02:47 -04:00
Deniz Kusefoglu d83757f2ea
Merge pull request #13102 from influxdata/reconcile-buckets-and-vars
Reconcile buckets and vars
2019-04-02 15:05:10 -07:00
Deniz Kusefoglu 309b2b14e0 Fix the names of components 2019-04-02 14:51:43 -07:00
Deniz Kusefoglu 29cee083bf Remove config buckets port buckets out of orgview 2019-04-02 14:42:09 -07:00
Deniz Kusefoglu 627a21a8e2 Convert orgList buckets 2019-04-02 14:38:59 -07:00
Deniz Kusefoglu 939d709991 Bump client version 2019-04-02 14:38:59 -07:00
Alirie Gray d10d216a3f test(dashboards): create dashboard from template in dashboard index 2019-04-02 14:33:09 -07:00
Alirie Gray bceac1ab97 feat(dashboards): add overlay to create dashboard from template 2019-04-02 14:33:04 -07:00
Deniz Kusefoglu 2fd804c3b2
Merge pull request #13095 from influxdata/org-state
Add SetOrg intermediary component to set org
2019-04-02 13:54:06 -07:00
Deniz Kusefoglu 659649adcb Add SetOrg intermediary component to set org 2019-04-02 13:41:45 -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
Delmer bbab9a362c
fix(ui/variables): filter vars with prefix names (#13089) 2019-04-02 15:37:38 -04:00
Palak Bhojani 4bb1e54302 Update telegraf and dashboards for multiple labels to be added and removed 2019-04-01 15:22:48 -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 ab36064e1e Address review comments 2019-04-01 12:45:31 -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
Brandon Farmer 5626104abc
Merge pull request #13060 from influxdata/redirect-quartz-logout
Redirect to quartz logout in cloud
2019-04-01 12:13:07 -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
Brandon Farmer 916f74569a Redirect to quartz logout in cloud 2019-04-01 11:31:59 -07:00
Palak Bhojani c60276a779 Update onboarding notification on step 2 to be not chopped
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2019-04-01 11:20:45 -07:00
Palak Bhojani 2683651b8c Add the ability to edit token's description 2019-04-01 09:27:00 -07:00
Jorge Landivar e983809bb0
Merge pull request #12951 from influxdata/fix/task-options-flux-duration-parser
fix(tasks): make durations visibly show up nicely
2019-04-01 09:59:15 -05:00
Deniz Kusefoglu ddcef59f33 Use hooks to manage orgs state 2019-04-01 02:18:23 -07:00
Deniz Kusefoglu 8450ede9df Fix linter error 2019-04-01 01:30:37 -07:00
Deniz Kusefoglu ce5ed1b68b Replace getActiveOrg with org in redux state 2019-04-01 01:30:20 -07:00
Deniz Kusefoglu 90929f8da3 Add renderWithReduxAndRouter testing function 2019-04-01 01:05:51 -07:00
Deniz Kusefoglu 9e7858ae39 Fix routes and types throughout the app 2019-04-01 01:05:18 -07:00
Deniz Kusefoglu 3bd265bf13 Add in removed variables overlays 2019-04-01 00:23:54 -07:00
Deniz Kusefoglu 6f33f5038d Remove configuration page nest orgView under settings 2019-04-01 00:14:01 -07:00
Deniz Kusefoglu acc2b07783 Fix nav bar links 2019-04-01 00:11:48 -07:00
Deniz Kusefoglu 018e22664a Add org level routing to the app 2019-04-01 00:11:09 -07:00
Deniz Kusefoglu 57da575581 Add orgs load state to redux 2019-04-01 00:00:10 -07:00
Christopher Henn 0e7727543f Consume new @influxdata/vis library 2019-03-29 16:20:03 -07:00
Brandon Farmer 49fc20e2c5
Merge pull request #13021 from influxdata/cloud-links
Exclude links to non functioning areas in cloud
2019-03-29 14:24:29 -07:00
docmerlin (j. Emrys Landivar) 492d8406aa fix(tasks): make durations visibly show up nicely 2019-03-29 13:50:26 -05:00
Brandon Farmer edac06aafc Exclude links to non functioning areas in cloud 2019-03-29 10:54:35 -07:00
Brandon Farmer 8f9015c9b2 Update client to 0.2.54 and fix breaking changes 2019-03-29 09:46:08 -07:00
Iris Scholten b935242400
Merge pull request #13001 from influxdata/fix/empty-template-button
Templates empty state should only have import option
2019-03-28 20:11:56 -07:00
alexpaxton ef4c49525b
Fix runaway legend (#13005) 2019-03-28 17:49:02 -07:00
Brandon Farmer cc2c826be6 Exclude links that don't work in cloud 2019-03-28 16:54:06 -07:00
Iris Scholten 81b681bd57 Templates empty state should only have import option 2019-03-28 16:46:20 -07:00
Deniz Kusefoglu 0b1b566aac
Merge pull request #12995 from influxdata/system-template-with-vars
Add variable to system dashboard template and create at new org
2019-03-28 16:37:10 -07:00
Iris Scholten a4f7f18cb8
Merge pull request #12997 from influxdata/fix/variable-control-error
fix variables controll bar error
2019-03-28 16:30:20 -07:00
Iris Scholten ea4cd9e8eb fix variables controll bar error 2019-03-28 16:20:06 -07:00
Deniz Kusefoglu a651bcadb1 Add variable to system dashboard template and create at new org 2019-03-28 16:05:02 -07:00
Brandon Farmer 0da5abb660
Merge pull request #12993 from influxdata/fix-timerange-dropdown
Remove disable of time range dropdown when custom timerange selected
2019-03-28 15:48:15 -07:00
Delmer 47d52f890f
fix(exportVariables/test): wrap in test (#12992) 2019-03-28 18:08:06 -04:00
alexpaxton 133b131617
Introduce DapperScrollbars (#12961)
* Install new scrollbars library

* First pass at new wrapper for scrollbars

* Replace FancyScrollbars with DapperScrollbars in Page components

* Polish DapperScrollbars

* Update dropdown component to use DapperScrollbars

* Update a couple dropdowns to conform to new constraints

* Update legend to use Dapper Scrollbars

* Fix linting error

* Implement DapperScrollbars in overlays

* Ensure proper functionality in page contents

* Use fixed sizing for overlay scrollbars

* Updoot
2019-03-28 15:05:26 -07:00
Brandon Farmer a4304ee64f Remove disable of time range dropdown when custom timerange selected 2019-03-28 14:56:10 -07:00
Delmer f9c3086af2
Feat/12939 (#12981) 2019-03-28 17:28:47 -04:00
Iris Scholten b8272155e3
Merge pull request #12975 from influxdata/fix/org-dashboards-disappearing
fix(ui): Ensure dashboard cards generates sort order from correct dashboards
2019-03-28 14:15:50 -07:00
Iris Scholten 29c712b91c fix(ui): Consolidate dashboards state
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2019-03-28 13:39:32 -07:00
Palakp41 1d62d3e056
Merge pull request #12957 from influxdata/fix/tasks-runs-list-20
Update tasks runs list to display 20 latest runs
2019-03-28 12:02:05 -07:00
Palak Bhojani 6fe547b0cb Update tasks runs list to display 20 latest runs 2019-03-28 11:48:55 -07:00
Alirie Gray 0db6e02725
Merge pull request #12922 from influxdata/variables/style-polish
Variables/style polish
2019-03-28 11:33:53 -07:00
Alirie Gray c84a21c4b3 polish(variables): fix margin and padding on VariablesControlBar 2019-03-28 11:22:46 -07:00
Andrew Watkins b9c933a429
chore(ui): remove Partial<Props> (#12956)
* chore(ui): add default props to ThresholdItem

* chore(ui): remove Partial<Props> pattern

* chore(ui): remove Partial<Props> pattern from Dygraphs

* chore(ui): remove DefaultProp interface

* test: update snapshots
2019-03-27 17:12:54 -07:00
Iris Scholten d7780e107e
Merge pull request #12958 from influxdata/feat/import-variables
feat(ui): Create import overlay to import variables
2019-03-27 15:23:06 -07:00
Christopher Henn 9252677b89 Fix routing loop (#12959) 2019-03-27 15:22:48 -07:00
Iris Scholten d4b3de6a83 feat(ui): Create import overlay to import variables 2019-03-27 15:05:56 -07:00
Delmer 80038f3d3b
feat(ui/org/vars): export var as template (#12930) 2019-03-27 14:52:00 -04:00
Alirie Gray 358b065f0c feat(templates): add ability to update template name inline 2019-03-27 11:20:58 -07:00
Andrew Watkins bb12fe012e
chore(ui/account): remove token link (#12931) 2019-03-27 11:17:05 -07:00
Christopher Henn 18759421dc Fix stale render flash upon opening VEO 2019-03-27 10:49:47 -07:00
Brandon Farmer df8a0d0ddd
Merge pull request #12923 from influxdata/clear-query-bucket-change
Clear query when new bucket selected
2019-03-27 09:10:23 -07:00
Brandon Farmer 7bd7ec0975 Redirect to logout page in cloud 2019-03-26 17:04:36 -07:00
Daniel Campbell 89b38cd212
Clockface 0.0.8 (#12921)
* update clockface version, resolve conflicts

* update snapshots

* remove unused import

* remove unused variables, lint
2019-03-26 16:59:57 -07:00
Brandon Farmer 86df792421 Clear query when new bucket selected
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-03-26 16:32:32 -07:00
Palakp41 e2271920dc
Merge pull request #12910 from influxdata/feat/templates-clone
Add the ability to clone a template
2019-03-26 16:12:31 -07:00
Palak Bhojani aa79a26a71 Add the ability to clone a template 2019-03-26 15:32:20 -07:00
Palak Bhojani 2de46aabd1 Display notifications when variables are updated or deleted 2019-03-26 14:41:56 -07:00
Iris Scholten 773dedf010
Merge pull request #12901 from influxdata/feat/persist-variables-visibility
feat(ui): Persist variables control bar preferences
2019-03-26 14:31:40 -07:00
Andrew Watkins bbe2fe4a9a
refactor(dashboards): sorting
* wip: sort via selectors

* wip: selector sort

* feat: store sort order locally

* chore: remove empty test

* fix: type error

* fix(clockface): have resource body return empty state when children are false

* chore: add type for list
2019-03-26 14:11:14 -07:00
Iris Scholten 30a704f406 feat(ui): Persist variables control bar preferences 2019-03-26 13:57:47 -07:00
Andrew Watkins 872092d9c0
chore(ui/lint): no unnecessary curly braces for string props (#12909) 2019-03-26 13:55:58 -07:00
Delmer 36f2de831a
chore(ui/templates/api): add create task from template (#12899) 2019-03-26 15:50:01 -04:00
Andrew Watkins 5a014dcb09
chore(ui): organize ts types (#12900) 2019-03-26 11:35:39 -07:00
Palakp41 6c6247efb3
Merge pull request #12888 from influxdata/feat/templates-delete
Add the ability to delete a template
2019-03-26 10:07:42 -07:00
Palak Bhojani 1e1f57dfdb Add the ability to delete a template
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2019-03-26 09:43:20 -07:00
Brandon Farmer 29490572ff Add cloud navigation 2019-03-26 09:23:02 -07:00
Deniz Kusefoglu ed9cad3ef4
Merge pull request #12837 from influxdata/dashboard-from-template-to-ui
Create included variables when creating dashboards from template
2019-03-25 18:40:29 -07:00
Deniz Kusefoglu dcc7f93edb Port dashboard from template function to ui from client 2019-03-25 18:22:02 -07:00
Palak Bhojani 49a3adaef1 Update variables to use the same component for create button 2019-03-25 17:19:59 -07:00
Alirie Gray 85e44b2ce3 feat(dashboard): add ability to change order of variable dropdowns 2019-03-25 12:40:46 -07:00
Palak Bhojani 1f8cb6eee8 Add the ability to enable or disable a token 2019-03-25 11:29:56 -07:00
Christopher Henn 7d7d366684 Surface errors appearing within Flux tables 2019-03-25 10:20:28 -07:00
Christopher Henn 4565d6b57c Display copyable error message when queries fail
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-03-25 10:20:28 -07:00
Iris Scholten 665cda5f17
Merge pull request #12849 from influxdata/feat/template-import-only
Remove the option to create a template
2019-03-25 10:05:28 -07:00
Iris Scholten eab7205eef fix(ui): Prevent full page reload when clicking a dashboard 2019-03-22 16:43:39 -07:00
Iris Scholten 433f99f994 ensure editor is focused when editing/creating note 2019-03-22 15:00:59 -07:00
Iris Scholten bd6fdc403d Remove the option to create a template 2019-03-22 14:15:40 -07:00
Iris Scholten 95b005e8a2 Add copy button to export overlays 2019-03-22 13:26:49 -07:00
Iris Scholten 8196a0091f
Merge pull request #12836 from influxdata/fix/veo-loaded
Ensure view loaded before rendering veo
2019-03-22 09:52:41 -07:00
Christopher Henn 3615f84454 Fix Raw Data view screen tearing bug 2019-03-22 09:35:34 -07:00
Iris Scholten 0e33ac6bd2 Ensure view loaded before rendering veo
Co-authored-by: Chris Henn <chris@chrishenn.net>
2019-03-22 09:34:32 -07:00
Delmer f2999c35fc
feat(ui/telegrafs): add inline labels to telegraf rows (#12835) 2019-03-22 11:40:31 -04:00
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