Commit Graph

45 Commits (2710fac45f5b28461eb8dedd4161d5cede623122)

Author SHA1 Message Date
Russ Savage 8a5d0e6230
feat(templates): adding new templates, removing calls to create templates (#14631)
* adding new templates; removing calls to create templates

* fixing quickstart dashboard creation

* Type dashboard template

* bump templates repo version

* add templateID to template meta in swagger

* Add templateID to document meta type in UI

* add templateID to telegrafPlugin and telegrafplugin info types

* Instantiate templates from static templates

* Get tests to pass

* Fix type conflicts

* Bump templates version

* update changelog
2019-08-14 11:01:19 -07:00
Kelvin Wang 7a40d92375 fix(ui): update ui telegraf orgID 2019-06-03 19:40:33 -04:00
Palak Bhojani 1a9441c86a Fix permissions on view token overlay 2019-04-25 15:10:15 -07:00
Nathaniel Cook 8b918539db Merge branch 'master' into flux-staging 2019-04-17 12:26:10 -06: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
jlapacik f33722a1d5 refactor(ui): no more /api/v2/query/spec endpoint 2019-04-12 07:15:27 -07:00
Andrew Watkins 5a014dcb09
chore(ui): organize ts types (#12900) 2019-03-26 11:35:39 -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
Alirie Gray e4b3023748 fix(tasks): replace organization on tasks with org name string 2019-03-05 14:43:50 -08:00
Deniz Kusefoglu 6bc33d134e Place all Task typing in one place 2019-02-28 14:03:03 -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
Christopher Henn a499a8b0d9 Enable adding a description to a telegraf config 2019-02-21 14:06:04 -08:00
Alirie Gray 298c1adc92 Rename Macro to Variable in generated client imports 2019-02-14 14:54:43 -08:00
Alirie Gray 5f524eb92d Rename all occurences of Macro to Variable 2019-02-14 13:21:57 -08:00
Alirie Gray f809455b9d Add ability to delete a variable from organizations page 2019-02-14 12:06:24 -08:00
Palak Bhojani fe0ef331f9 Create tests for adminui tabs 2019-02-11 10:43:34 -08:00
Brandon Farmer 3992fa9d54 Remove typescript client generation
- All api calls are now through the client or raw XMLHTTPRequest
2019-02-05 17:13:57 -08:00
Iris Scholten fd974fb6b6 fix(ui/dataLoaders): Add swap to system bundle 2019-02-05 10:59:37 -08:00
Andrew Watkins 854b2a43eb
test(ui): component integration testing w/ mock redux store (#11577)
* wip: introduce connected async component test

* test(query-builder): mock findBuckets

* test(ui): add ability to pass arbitrary state to renderWithRedux

* test(ui/queryBuilder): click bucket and tag

* test(ui/queryBuilder): use regex matchers to query all

* test(ui/queryBuilder): it can click a tag value

* chore: change id to ID

* chore: move QueryBuilderFetcher

* test(ui/queryBuilder): try waiting for dropdown-items

* test(ui/queryBuilder): move initial state out of beforeEach

* test(ui/queryBuilder): get by bucket name

* wip

* test: put back to default

* test: remove await
2019-01-25 14:08:57 -08:00
Iris Scholten e85e54441b Fix empty dropdown bucket in collectors 2019-01-22 17:23:54 -08:00
Delmer f074315881
fix(ui): wiring for labels (#11404)
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2019-01-22 14:22:11 -08:00
Deniz Kusefoglu b249f82e6d Add organizationID to telegrafsRequest schema 2019-01-15 10:40:39 -08:00
Deniz Kusefoglu d8eb0d0a5d Replace organizationID with orgID everywhere 2019-01-14 18:34:12 -08:00
Iris Scholten dec48900d9 Update onboarding to be able to make telegraf configs
Co-authored-by: Chris Goller <goller@gmail.com>
2019-01-11 15:26:16 -08:00
Deniz Kusefoglu 88cb771aac Alter FE data types for cell and view to include parent IDs, use new nested view API 2019-01-10 10:05:58 -08:00
Iris Scholten 4f96333b52 feat(ui/labels): display labels in task row 2019-01-08 16:07:10 -08:00
alexpaxton 21c996383c
Display Labels in Dashboards Index (#2330)
* Update cur_swagger

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

* Display labels in dashboards list

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

* Add # to example label

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

* Write test for dashboard TableRow component

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

* Update snapshot and mock data

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

* Increase page gutter and max width of centered pages

* Show description in dashboards list

* Update snapshot

* Fix linting error

* Remove snapshot check from unit test
2019-01-08 14:56:48 -08:00
Palak Bhojani ae6c0957e3 Remove plugin bundles that don't match the protoboards 2019-01-07 11:55:06 -08:00
Brandon Farmer f06b258a13 Add verify step for line protocol onboarding 2019-01-03 09:57:39 -08:00
Andrew Watkins 3429e8d0c6
feat(auth): rewrite authorization service (#2157)
* feat(view-token-overlay): add view token overlay

* test(tokens): update tests

* chore(auths): rename mock data file

* feat(token-view): clicking on description opens token view modal

* feat(token-view): add ability to close overlay

* feat(token-view): display token permissions with updated permissions shape

* feat(token-view): wip update authorization and permission shapes

* feat(auth): wip refactor auth permissions

* fix(auth): generate permissions via functions

* fix(auth): make Id ID

* chore(types): update generated client

* feat(auth): wip add user and org names to auth

* fix(user): didnt save rebase

* feat(auth): WIP refactor auth

* feat(auth): check for user existence during auth creation

* feat(auth): org must exist during auth creation

* fix(auth): pluralize telegrafs resource type

* docs(http): update swagger definition for the Authorization

* test(auth): fix broken tests

* docs(swagger): update cur_swagger Authrorizations

* fix(api): remove trace from cur_swag

* test(ui/token): update components with new generated type definitions

* feat(http): add lookup service adding names for permissions

* fix(http): remove debugging panics

* chore: go tidy

* fix: unsaved rebase

* test(idpe): add ids to Authorizations for log tests
2018-12-28 15:02:19 -08:00
Iris Scholten 52b05fb5a3
Merge pull request #2010 from influxdata/dataLoaders/configure-next-back
fix(ui/dataLoaders): Update onboarding button labels and functionality
2018-12-18 11:26:05 -08:00
Iris Scholten 388265604b fix(ui/dataLoaders): Update the button labels and funcitonality in onboarding steps 2018-12-17 17:46:50 -08:00
Alirie Gray 0f825d4ea3 Match shape of get/authorizations to backend response 2018-12-17 16:17:10 -08:00
Alirie Gray 381565fe8c Handle setting step status when skipping a step 2018-12-13 16:42:37 -08:00
Alirie Gray 69b59fbcb4
Dataloader/update progress bar (#1851)
* Update step statuses in onboarding wizard
* Create reducer to set configuration state for telegraf plugins
2018-12-13 14:29:12 -08:00
Iris Scholten c9508d4ac9 Feat(ui/dataLoaders): Change individual plugin selection to bundle selection 2018-12-12 12:48:10 -08:00
Iris Scholten 97d397900e Fix(ui/dataLoaders): Update config field modifiers 2018-12-11 10:56:09 -08:00
Alirie Gray 07e178e59c feat(ui/dataLoaders): Create ui for adding a plugin config
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-12-10 16:18:16 -08:00
Iris Scholten 7d562f29d1 Update redux to store telegraf plugin arrays rather than dataSource
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-12-03 17:29:56 -08:00
Iris Scholten da20af2012 Move the listening/verify step into a separate step in the onboarding wizard
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-12-03 14:48:10 -08:00
Palak Bhojani 5b502ee827 Change structure of onboarding component files 2018-11-30 14:03:27 -08:00
Deniz Kusefoglu e2854a0a1c Add Onboaring Side Panel
Polish onboarding sidebar transitions and appearance of tabs
Flatten dataSources children for rendering
Add tests to SideBar components

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-29 18:40:24 -08:00
Brandon Farmer 70f9de4a81 Switch Dashboard UI to use generated client 2018-11-26 16:45:12 -08:00
Palak Bhojani bf10974283 Added sorting on all the columns on task page
Change sortingHat to sort by a single (last clicked) column
Change sortingHat to sort by a single (last clicked) column
Created tests for TasksList
Create dummyData.ts in src/tasks instead of using the mocks/dummyData
Added IndexList instead of using table header on  Dashbaord
Test snapshot

Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-20 14:53:22 -08:00
Michael Desa b9f70b7bec chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00