Commit Graph

2956 Commits (262cdbaec2a79bf86c27da8006eb4ae8f89eedac)

Author SHA1 Message Date
Ariel Salem a03745e57d
feat(metric-selector): query builder for flows (#19396) 2020-08-25 08:06:48 -07:00
Bucky Schwarz 70b7287c9e chore(community-templates): remove github file restriction 2020-08-24 15:15:16 -07:00
Alex Boatwright 55f9c2bc2d
fix: update dashboard limits to 100 (#19417) 2020-08-24 12:02:14 -07:00
Timmy Luong a6dc8748d2 chore: update giraffe 2020-08-24 09:41:27 -07:00
vlastahajek 2da740a1c2 Merge branch 'master' into docs/update-go-client
# Conflicts:
#	ui/src/clientLibraries/constants/index.ts
2020-08-24 16:50:30 +02:00
Alirie Gray 9b4fef0f9a fix: add variable name validation for flux identifier 2020-08-21 10:28:18 -07:00
alexpaxton 95e270d550
fix: increase default height of raw data view in flux cells (#19401) 2020-08-20 12:41:29 -07:00
alexpaxton 9b02fa60e2
feat(flows): improve add cell button ux (#19400)
* refactor: WIP redesign add cell interaction

* feat: redesign add cell interaction
2020-08-20 12:41:18 -07:00
alexpaxton 45b1f86e20
feat: hide cell move buttons behind feature flag (#19350) 2020-08-20 12:09:10 -07:00
Timmy Luong 050aed013c chore: update giraffe 2020-08-19 12:44:18 -07:00
Timmy Luong bdd0055924 test: exclude Band Chart from e2e test because of feature flag 2020-08-19 12:44:18 -07:00
Deniz Kusefoglu 8ce6fe6a17 feat(bandChart): add feature flag and update options for Band Chart 2020-08-19 12:44:18 -07:00
Deniz Kusefoglu 894aa99d37 feat(bandChart): Add concept of bandChart 2020-08-19 12:44:18 -07:00
Deniz Kusefoglu 7832525c0a feat(bandChart): Bump giraffe version 2020-08-19 12:44:18 -07:00
alexpaxton 56f9be9ff3
fix(ui): catch errors from user not having tokens (#19366)
* fix: catch errors from user not having tokens

* fix: WIP write unit test

* refactor: make getting started page link to sources page

* feat: write unit test for tokens widget
2020-08-19 12:37:19 -07:00
alexpaxton 839fd6e01d
feat(ui): replace custom list with List component (#19217)
* feat: replace custom list with List component

* fix: use correct ref type

* fix: use proper testID props

* refactor: Make inline add buckets button consistent with others

* fix: repair query builder e2e test

* fix: tokens e2e test
2020-08-18 13:37:29 -07:00
Bucky Schwarz 176fdc86ca fix: in non cloud environments, show actual errors, rather than hb nonsense 2020-08-18 12:14:33 -07:00
alexpaxton ebf41ec351
feat(ui): new load data page (#19351)
* Revert "Revert "feat(ui): redesign load data page (#19246)" (#19336)"

This reverts commit 0111f024d5.

* fix: guard against no tokens or buckets

* fix: typo

* refactor: name sources page titles properly

* fix: avoid referencing image asset inline
2020-08-18 11:17:36 -07:00
vlastahajek d0c81d4b2b docs(clientLibs): Update Go code templates to be compatible with the latest Go client release 2020-08-18 11:36:06 +02:00
alexpaxton 26cf6af07a
chore(ui): upgrade clockface dependency to 2.3.4 (#19352)
* chore: upgrade clockface dependency

* fix: ensure e2e tests are passing
2020-08-17 15:47:46 -07:00
Ariel Salem 223b7fcf49
fix(system-vars-mapping): updated variable mapping for system variabes to register changes in system variables (#19348) 2020-08-17 12:13:41 -07:00
alexpaxton 0111f024d5
Revert "feat(ui): redesign load data page (#19246)" (#19336)
This reverts commit 67857f25ae.
2020-08-14 17:27:56 -07:00
alexpaxton 67857f25ae
feat(ui): redesign load data page (#19246)
* refactor: rename client libraries from overlay to page

* refactor: remove client libraries from load data nav

* refactor: remove client libraries from main nav

* refactor: convert client library overlays to pages

* feat: create Write Data and related sub-pages

* fix: assing proper component to route

* refactor: separate sections of write data page into own files

* refactor: implement telegraf plugins pages

* refactor: rename components to match filenames

* refactor: organize client libraries within writeData folder

* fix: cleanup loose ends from moving files around

* refactor: move client lib graphics into write data section

* fix: correct import path

* fix: import path

* feat: enable importing of markdown files

* feat: use markdown source for example telegraf plugin

* feat: convert Arduino page to use markdown

* fix: properly type svg and markdown imports

* feat: replace react component images with regular images

* feat: add placeholder image for items without images

* fix: cleanup

* feat: start standardizing pages for write data views

* refactor: use params instead making a component for each page

* refactor: make client libraries pages all markdown and use template

* refactor: cleanup

* refactor: move templates out of folder

* refactor: style details view

* feat(ui): add activemq, aerospike, and bcache

* feat(writeData): load up all the telegraf inputs

* feat: add telegraf explainer to telegraf plugins pages

* refactor: make card grid more compact

* refactor: polish

* feat(write): adding logos

* fix(writeData): more logos

* refactor: make CopyButton more customizable

* refactor: add real content to telegraf plugin explainer

* refactor: polish thumbnail appearance

* refactor: make index views scrollable

* feat(write): alphabetize & more logos

* refactor: increase width of token overlay

* refactor: add description to telegraf section

* feat: wrap each section in feature flags

* refactor: WIP helper widgets for details pages

* feat(writeData): add more logos

* feat(writeData): update Plugin names, readmes, add logos

* feat(write): final batch of logos

* feat(write): readme updates

* feat(write): adding proxmox

* refactor: add tabbed navigation back to browse page

* refactor: make code snippets templatized

* fix: replace untemplatized URL key in arduino markdown

* refactor: cleanup

* refactor: rename "browse" to "sources"

* refactor: rename feature flags to match page names

* refactor: make sort case insensitive

* refactor: make code sample helper only appear in client libraries pages

* fix: remove image padding from client library logos

* fix: select first user bucket instead of first any bucket

* fix: make less legible logos more legible

* refactor: make search field autofocus

* fix: linter error

* fix: case sensitive file import

* fix: remove empty prop definitions

* fix: more case sensitive imports

* refactor: remove use of lodash

* fix(writeData): update kapa & tele logos; rename internal plugin

* fix: repair broken explorer test

* fix: rework client libs e2e tests to match new design

* refactor: rename e2e test appropriately

* refactor: rewrite data sources e2e to assert proper rendering of the details views

* feat: add GA tracking of code snippet copy event

* chore: changelog update

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-08-14 14:00:01 -07:00
Zoe Steinkamp c7dc87e26c
feat: Eventing and metrics adding to the community templates (#19295)
* chore: deal with merge commits

* chore: add back eventing to clicks

* chore: remove unused variables

* test: e2e test failing

* feat: change community template resourceType

* test: fix e2e test

* fix: prettier

* test: unskip test with some good ole stubbin

Co-authored-by: Bucky Schwarz <d.w.schwarz@gmail.com>
2020-08-14 13:57:34 -06:00
Bucky Schwarz ce443f832e feat: Add mosaic plot type to front end behind flag
Co-authored-by: Rashi Bose rashibose@gmail.com
Co-authored-by: Rose Parker reparker837@gmail.com
2020-08-13 15:03:14 -07:00
Andrew Watkins 5d63ebb4fc
fix: increase notification rule limit (#19322)
* fix: increase notification rule limit

* chore: separate resource limits
2020-08-13 13:20:24 -07:00
alexpaxton 3980f7706d refactor(community templates): clean up UI interactions 2020-08-13 11:43:58 -07:00
Bucky Schwarz 648ce11df3 chore: fix yarn.lock 2020-08-13 08:20:36 -07:00
Scott Anderson 8b51618a21
chore(flux): update fluxFunctions.ts for Flux 0.80.0 (#19313)
* chore(flux): update fluxFunctions.ts for Flux 0.80.0

* fix(fluxFunctions): fix aggregate.rate

Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
2020-08-12 15:27:13 -06:00
Andrew Watkins f0afdb2ac7
fix: file upload (#19258)
* test(wip): upload data from file

* test(wip): add file upload status

* chore(wip): move line protocol out of redux

* feat(wip): pull out getters into components

* chore: update cypress

* refactor: move line protocol out of redux and into buckets

* test: remove useless tests

* chore: remove yarn lock

* fix: prettier

* fix: lint

* fix: explicitly return to the load data page

* chore: manually create WritePrecision enum

* test: remove big data file
2020-08-12 11:11:07 -07:00
Pavel Zavora 039d730a1c chore: apply review comments 2020-08-12 13:07:37 +02:00
Pavel Zavora aa6bc94888 chore(ui): prettier 2020-08-12 11:28:02 +02:00
Pavel Zavora cece18d270 feat(notification/telegram): control UI visibility by notification-endpoint-telegram flag 2020-08-12 11:28:02 +02:00
Pavel Zavora 6d086f7495 feat(notification/telegram): take back telegram notification after being reverted in #19088
This reverts commit f67c3a14e0.
2020-08-12 11:28:02 +02:00
Andrew Watkins d0a42098a0
perf: calculate and event dashboard visit => dashboard mount times (#19291)
* perf: calculate and emit dashboard and variable render times

* fix: name of action
2020-08-11 16:36:06 -07:00
rbose22 a245d38ca2
chore(mosaic graph): update giraffe version in influxdb (#19292)
Closes # 203

Changed the giraffe version to the new release

Co-authored-by: Rose Parker reparker837@gmail.com
2020-08-11 16:10:21 -07:00
Bucky Schwarz a3d98bd126 refactor: change communityTemplateToInstall => stagedCommunityTemplate 2020-08-11 13:56:47 -07:00
Bucky Schwarz 0eb12d8232 refactor: CommunityTemplateName => CommunityTemplateInstallInstructions 2020-08-11 13:56:47 -07:00
Bucky Schwarz f3981d7996 refactor: rename CommunityTemplateInstallerOverlay => CommunityTemplateOverlay 2020-08-11 13:56:47 -07:00
Bucky Schwarz a517197fe6 refactor: remove references to CommunityTemplatesImportOverlay in TemplatesIndex 2020-08-11 13:56:47 -07:00
Bucky Schwarz 45821caca8 refactor: rename CommunityTemplateContents => CommunityTemplateOverlayContents 2020-08-11 13:56:47 -07:00
Zoe Steinkamp cc75132525
test: add suite of community template e2e tests (#19271) 2020-08-11 11:31:03 -06:00
Ariel Salem c933e3c631
fix(dedup-window-vars): added condition and tests for ensuring windowVars don't get passed an extern more than once (#19248) 2020-08-07 08:06:48 -07:00
Alex Boatwright 65d9b2c088
revert: revert "chore(limit): increasing limit to 200 (#19238)" (#19244) 2020-08-06 13:21:38 -07:00
Russ Savage 104da32b10
chore(limit): increasing limit to 200 (#19238) 2020-08-06 12:47:32 -07:00
Deniz Kusefoglu bb8f776fed
feat(defaultAggregate): Apply default aggregate functions in query Bu… (#19130)
* feat(defaultAggregate): Apply default aggregate functions in query Builder

* feat(autoAggregate): Flip the relationship between createEmpty and fillValues

* feat(autoAgg): keep check fillValues as false with no need to change

* feat(autoAgg): Add fillValues defaults to check queries

* feat(autoAgg): Refrain from blowing away queryBuilder state if no changes in script editor

* feat(autoAgg): Update tests

* feat(autoAgg): replace first with last

* feat(autoAgg): fix slight logic errors

* feat(autoAgg): remove linter error

* feat(autoAgg): change to last in test
2020-08-06 09:06:45 -07:00
Ariel Salem 26fdb792ff
fix(reduce-dashboard-dispatches): wrapped getDashboards loop in one time out and created a custom set views and cells action to call once the iteratation cycle has completed to reduce the number of dispatches and rerenders (#19232) 2020-08-06 05:05:30 -07:00
Deniz Kusefoglu bc6237ba8c feat(autoAgg): change to last in test 2020-08-05 23:43:46 -07:00
Bucky Schwarz 6eed5e7c49 feat: add tab index to alerts page 2020-08-05 17:03:22 -07:00
Bucky Schwarz 17060ce138 chore: remove rum poc 2020-08-05 16:53:50 -07:00
Deniz Kusefoglu b7afd8da1c feat(autoAgg): remove linter error 2020-08-05 13:07:03 -07:00
Deniz Kusefoglu e59c6d2ba5 feat(autoAgg): fix slight logic errors 2020-08-05 13:07:03 -07:00
Deniz Kusefoglu 01c92de2fe feat(autoAgg): replace first with last 2020-08-05 13:07:03 -07:00
Deniz Kusefoglu ef529d5399 feat(autoAgg): Update tests 2020-08-05 13:07:03 -07:00
Deniz Kusefoglu 975c7ff8ce feat(autoAgg): Refrain from blowing away queryBuilder state if no changes in script editor 2020-08-05 13:07:03 -07:00
Deniz Kusefoglu b4d118f045 feat(autoAgg): Add fillValues defaults to check queries 2020-08-05 13:07:03 -07:00
Deniz Kusefoglu 97141c933f feat(autoAgg): keep check fillValues as false with no need to change 2020-08-05 13:07:03 -07:00
Deniz Kusefoglu 1596b3bd1f feat(autoAggregate): Flip the relationship between createEmpty and fillValues 2020-08-05 13:07:03 -07:00
Deniz Kusefoglu f97d1bdf54 feat(defaultAggregate): Apply default aggregate functions in query Builder 2020-08-05 13:07:03 -07:00
alexpaxton fe5e57934e
feat(flows): use global time range instead of bucket time (#19215)
* feat: replace bucket time selector with global time range

* refactor: replace custom list with List component
2020-08-05 09:24:17 -07:00
Ariel Salem 2397f7f5a0
fix(dashboard-timezone-selection): toggling timezone should update queries timerange to respect timezone selection (#19146) 2020-08-05 08:14:34 -07:00
Ariel Salem 3882b39152
fix(flashing-cells): prevent flashing cells by setting all the cell data when the dashboard is loaded (#19212) 2020-08-05 04:52:30 -07:00
Ariel Salem 8a3abfbe85
chore(clone-cell-test): added an e2e test for cloning cells (#19207) 2020-08-04 11:19:15 -07:00
Andrew Watkins 500bd1e532
perf: event cells when TimeSeries renders (#19197)
* perf: new render id when dashboard refreshes

* perf: record vis time properly for scrolled cells

* fix: correct props
2020-08-04 09:46:00 -07:00
Ariel Salem fdea2c6597
feat(feature-flagged-query-cache): Added a feature flagged query cache (#19072) 2020-08-04 06:56:02 -07:00
Andrew Watkins 37ecb9299b
fix: revert cell disappear pr (#19194) 2020-08-03 16:53:16 -07:00
Ariel Salem 5553049c0e
fix(cell-queries-error): created mutex hashmap to resolve queries independently of one another (#19188) 2020-08-03 14:31:32 -07:00
alexpaxton b8797a251e
feat(ui): add SVG graphics for pending Map and Mosaic type views (#19161)
* feat: add SVG graphics for pending Map and Mosaic type views

* fix: appease linter
2020-08-03 14:30:07 -07:00
Andrew Watkins 54709c3137
perf: calculate and emit event for cell mount => cell visualized (#19186)
* perf: calc cell visualization time on the frontend

* fix: dont emit event without all ids

* fix: auto import
2020-08-03 13:50:21 -07:00
Ariel Salem 4a41055911
fix(cells-disappearing): setting cells in getDashboard. (#19166) 2020-08-03 10:18:04 -07:00
Scott Anderson a0ec9f9a4d
chore(Flux): fix typo in aggregate.range description (#19139) 2020-08-03 10:56:31 -06:00
Zoe Steinkamp f59c313650
feat: add not for additional scripts (#19172) 2020-07-31 15:59:58 -06:00
Zoe Steinkamp 471ccfd50f
feat: Community template polishing (#19171)
* feat: Community template polishing
2020-07-31 15:59:46 -06:00
Alex Boatwright a89040bfa7
fix: decoupling remounting from onboarding state (#19124) 2020-07-31 13:42:26 -07:00
Alex Boatwright 337bc7c2ea
fix: apply feedback from default sort order (#19165) 2020-07-31 12:20:33 -07:00
Andrew Watkins a3b000bb4c
perf: dashboard rendering events (#19163)
* fix: useRef DnD context error spam

* perf: only fire events for initiall viewable cells

* fix: drag types

* fix: import

* fix: unused imports

* chore: add TODO

* fix: remove unused ref

* fix: import

* fix: import observer polyfill

* chore: move event

* chore: mountID to renderID

* feat: change renderID from tag to field

* chore: remove redundant orgID
2020-07-31 11:56:40 -07:00
Zoe Steinkamp 11d1823841
feat: Template link to resource (#19154)
* feat: Template link to resource

* chore(community-templates): consolidate community template links

Co-authored-by: Bucky Schwarz <d.w.schwarz@gmail.com>
2020-07-30 16:36:01 -06:00
Daniel Campbell bc4c19dfd8
feat(ui): Enhance resource creation experience when limits are reached (#19103)
* feat(ui): add AssetLimitOverlay

* feat(ui): enable create bucket button

* feat(ui): enable create dashboard and task buttons

* feat(ui): add reusable AssetLimitButton

* feat(ui): change alerts limit experience

* feat(ui): update changelog

* feat(ui): address review comments
2020-07-30 09:14:21 -07:00
Will Cooke d510884e48 chore: Update orgID location and Token location for Arduino client library boilerplate. 2020-07-30 13:10:52 +01:00
Zoe Steinkamp c4972715c6
feat: Add Error Reporting to community templates (#19140)
* feat: Add Error Reporting to community templates

* Update ui/src/templates/components/CommunityTemplateImportOverlay.tsx

Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>

* Update ui/src/templates/containers/CommunityTemplatesIndex.tsx

Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>

* feat: Add Error Reporting to community templates

fix prettier

Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
2020-07-29 15:36:01 -06:00
Alex Boatwright 1444df8557
revert: "feat: consolidate application state fetching (#19020)" (#19138)
This reverts commit 6d8083e97d.
2020-07-29 09:57:32 -07:00
Bucky Schwarz 382ff3a5dc feat(community-templates): show full path to github source 2020-07-29 09:39:37 -07:00
Bucky Schwarz 03eeb3184f feat(community-templates-ui): name templates based on the directory and the template name 2020-07-29 09:39:37 -07:00
Alex Boatwright 6d8083e97d
feat: consolidate application state fetching (#19020) 2020-07-29 09:24:19 -07:00
Zoe Steinkamp 0cc0d2ece5
feat: community template error message (#19117) 2020-07-28 16:43:29 -06:00
Alex Boatwright e729cdae02
fix: removing default sorting of table view (#19118) 2020-07-28 14:58:32 -07:00
Bucky Schwarz 902cdebb66 fix: handle ui and file installed templates 2020-07-28 11:15:39 -07:00
Bucky Schwarz 573cdbb322 fix: loosen restrictions on what files we accept 2020-07-28 11:15:39 -07:00
Bucky Schwarz 443c599b0f chore: rename templates activity log to installed list 2020-07-28 11:15:39 -07:00
Ariel Salem 0595fe43f2
chore(reporting-version): added version reporting to events (#19093) 2020-07-27 12:55:25 -07:00
Alex Boatwright efabb57d46
fix: remove type errors from tooling update (#19090) 2020-07-27 11:20:02 -07:00
Bucky Schwarz b14d376e29 fix: show template name in ui 2020-07-27 11:04:16 -07:00
Bucky Schwarz 717cf29b24 fix: community templates UI should accept a single template file now 2020-07-27 11:04:16 -07:00
Bucky Schwarz 1124283e7d fix: only show install button if there are > 0 selected resources 2020-07-27 11:04:16 -07:00
Michael Desa f67c3a14e0
Revert "feat(notification/telegram): add telegram notification" (#19088) 2020-07-27 08:31:18 -07:00
Pavel Zavora 078bd8db09 feat(notification/telegram): specify channel as a telegram endpoint property 2020-07-25 11:59:04 +02:00
Pavel Zavora 3f2ccfa9e1 feat(notification/telegram): avoid markdown errors in default template 2020-07-25 11:59:04 +02:00
Pavel Zavora 690dd7fcd3 feat(notification/telegram): add endpoint and rule UI 2020-07-25 11:59:04 +02:00
Pavel Zavora 735b2da179 feat(notification/telegram): update UI to changed swagger 2020-07-25 11:59:04 +02:00
Bucky Schwarz 82c4fa61b5 test: add unit test to default x and y column functions
Co-authored-by: Zoe Steinkamp <zoe.steinkamp@gmail.com>
2020-07-24 16:21:06 -07:00