Scott Anderson
8dc597bdbe
removed unnecessary newline in functions.ts
2019-07-25 16:27:52 -06:00
Scott Anderson
c442ca198c
Added exponentialMovingAverage documentation
2019-07-25 16:26:26 -06:00
Scott Anderson
c4b8737b96
added newlins to functions.ts to pass tests
2019-07-25 16:07:33 -06:00
Scott Anderson
6ca72e45cc
Added documentation for new Flux functions
2019-07-25 15:55:49 -06:00
Andrew Watkins
b856c31aae
style(clockface): upgrade to 0.0.18 ( #14458 )
...
* Update dependency
* Fix appearance of signin form
* Fix appearance of inline label editor
* Update implementation of dropdown
* Remove comment
* Fix appearance of auto refresh dropdown
* Update implementation of time range dropdown
* Update implementation of time zone dropdown
* Update implementation of window selector
* Fix missing button text in window selector
Oooooops
* Update implementation of time format dropdown
* Update implementation of column selector
* Update implementation of geometry dropdown
* Ensure line graphs have a default color palette
* Update implementation of color scheme dropdown
* Update implementation of heat map color selector
* Update dropdown implementations in histogram options
* Update implementation of Variable Builder dropdowns
* Update implementation of buckets dropdown
* Tweak color of slide toggle in token row to be green
* Update implementation of Generate Token dropdown
* Update snapshot tests
* Update bucket dropdown tests
* Fix query builder test
* Update onboarding buttons test
* Fix some e2e tests
* Fix tokens e2e tests
* Fix variables e2e tests
* Update implemenation of view type dropdown
Also removing the empty view type from existence
Co-Authored-By: Christopher Henn <chnn@users.noreply.github.com>
* Fix query builder add card button
Made it less prone to breakage
* Fix appearance of VEO
* Update styles of renamable page title
* Update styles using button or icon or input
* Ensure time range dropdown is not blank initially
* Update implementation of variable tooltip dropdown
* Update implementation of dropdowns in Add Members form
* Update implementation of Color dropdown
* Update implementation of dropdowns in scatter plot options
* Upddate implementation of precision dropdown
* Update implementation of sort by table option dropdown
* Update implementation of dashboards dropdown in save as menu
* Update implementations of dropdowns in task form
* Update Variable control bar dropdowns
* Delete unused component
* Remove unused imports
* Update bucket dropdown implementation in delete data form
* Update searchable dropdown to use new clockface components
* Delete local dropdown components
* Fix failing unit tests
* blerp
* Coerce type in view type dropdown
* Fix onboarding styles
* Fix e2e tests
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Fix last e2e test
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* build(e2e): allow cypress to run with webpack dev server
2019-07-25 12:13:51 -07:00
Christopher Henn
a4b44a7e18
fix(ui): upgrade giraffe to 0.16.1
...
Closes #14436
2019-07-25 10:17:05 -07:00
Christopher Henn
9f6e27460a
fix(ui): upgrade templates to 0.5.0
2019-07-24 15:21:00 -07:00
Christopher Henn
f646bdd3dc
fix(ui): upgrade templates
2019-07-24 12:50:53 -07:00
Delmer
e7a92f57cc
fix(ui/dashboards): prevent default on anchor tag ( #14434 )
...
fix(ui/editable_name): update anchor to Link tag
2019-07-24 15:15:47 -04:00
Deniz Kusefoglu
613aef698f
Add alerting cards ( #14429 )
...
* bump to client 0.5.3
* export Query type from client and create alerting mock
* Bump client to 0.5.5
* Merge all status enums to one type
* Fix threshold visualization types
* Add extra underscore to notification rules
* Use check view type from client
* Add description field to checks, notificationrules and endpoints
* Add init check cards
* Add check card actions
* Correct component name
* Add check card context and toggle
* Add id to notification rule base
* Add notification rule cards
* add checks reducer tests
* user immer for checks reducer
* add tests and immer to notification rule reducer
2019-07-24 00:34:42 -07:00
Andrew Watkins
d2933cc184
build(webpack): parcel to webpack ( #14410 )
...
* build(ts): add ts webpack dependencies and config
* wip(webpack.dev): css and js compiling
* wip(webpack): building assets with watch
* fix(webpack): fix page reloads not serving assets
* build(webpack): fork typechecking
* chore(webpack): rename dev config
* build(webpack): add production config
* build(webpack): add process vendor in separate build
* build(webpack): change dev source map
* build(webpack): dont lint in prod builds
* build(webpack): move reduce redundancy for GIT_SHA
* docs(ui): update README
* build(webpack): add hash to production build
2019-07-23 14:10:34 -07:00
Christopher Henn
c0253d868e
refactor(ui): rename WrappedCancelablePromise to CancelBox
2019-07-23 11:16:53 -07:00
Christopher Henn
5f015bf013
fix(ui): catch cancellation errors more reliably
2019-07-23 11:16:53 -07:00
Christopher Henn
bbf80ac5a9
fix(ui): avoid single stat crash
...
Changes the `latestValues` logic to ignore null/empty Flux rows. This
prevents a single stat/gauge crash.
Also wraps the time machine `Vis` in a error boundary, to mitigate the
results of a crash.
Closes #14422
2019-07-23 10:53:15 -07:00
Delmer Reed
c316edfdfe
fix(ui/style): fix chronograf style
2019-07-23 09:35:42 -07:00
Delmer Reed
384f057c29
fix(ui/asset-alert): fix asset-alert clipping dashboard contents
2019-07-23 09:35:42 -07:00
Jonathan A. Sternberg
6ca9064c7b
chore(ui): upgrade influxdb-templates to v0.3.0 ( #14419 )
2019-07-23 11:00:13 -05:00
Russ Savage
3dafbc6c62
Fixed task manual run notification type ( #14412 )
...
* Fixed task manual run notification type
* updating changelog
* fixing trailing whitespace in stale.yml config
2019-07-22 17:08:23 -07:00
Deniz Kusefoglu
6c700628fa
Add alerts page ( #14406 )
...
* Add columns for checks, nr's and endpoints
* Add checks getters and redux store
* Add notification rules Store and fetching
* Connect ChecksColumn to redux and add checkcards
* specify const types in action creators
2019-07-22 15:19:02 -07:00
Christopher Henn
491b2067b2
feat(ui): add delete with predicate overlays
2019-07-22 15:02:34 -07:00
Delmer Reed
5deeebca4c
fix(ui/cloud): wrap limited assets in components
2019-07-19 18:03:32 -04:00
Delmer Reed
5ed0535ba0
fix(ui/cloud): display alerts for read or write rates
2019-07-19 17:45:59 -04:00
Iris Scholten
6ddac5b3c6
feat(ui): Add link to documentation when uploading line protocol ( #14385 )
2019-07-18 16:51:59 -07:00
Andrew Watkins
fa79779489
fix(ui/flux): correct map example ( #14379 )
2019-07-18 15:07:22 -07:00
Andrew Watkins
8fe429a8f2
fix(templates): import static templates for creating dashboards ( #14378 )
2019-07-18 12:13:22 -07:00
Deniz Kusefoglu
403e97c460
Consume types from client 1.5 ( #14372 )
...
* Bump js client version
* Fix types after client version
2019-07-18 10:19:08 -07:00
Delmer Reed
93e0ea2d4e
fix(ui/checkout_btn): onClick go to billing instead of checkout
2019-07-17 17:05:25 -04:00
Christopher Henn
20ab1daa24
refactor(ui): rename plot components
2019-07-16 09:32:40 -07:00
Christopher Henn
98e8dc9ad8
feat(ui): add initial alert threshold visualization
2019-07-16 09:32:40 -07:00
Deniz Kusefoglu
5e2a097953
Add initial alerting routes and containers ( #14318 )
...
* Add initial alerting routes and containers
* Feature flag alerts nav
2019-07-12 10:57:56 -07:00
Scott Anderson
d30f504b91
updated functions list for flux 0.35.1
2019-07-11 11:50:32 -06:00
Deniz Kusefoglu
ebe13e2a57
Remove feature flags from vis types and options ( #14303 )
...
* Remove feature flags from vis types and options
* Remove vis type specific parameters from cloud and oss flags
2019-07-10 17:02:46 -07:00
Deniz Kusefoglu
00f27230a9
Fix filtering bug in tokens ( #14301 )
2019-07-10 15:04:07 -07:00
Christopher Henn
8f9fcfd883
feat(ui): add time zone setting
2019-07-08 15:18:22 -07:00
Delmer
77c3d95289
feat(ui/cloud): add cloud checkout button ( #14259 )
2019-07-03 16:27:30 -04:00
Christopher Henn
c85a0f8b68
fix(ui): improve threshold settings validation
...
Closes #14175
Closes #14190
2019-06-28 12:56:27 -07:00
Palak Bhojani
adc108c53e
Update getting tokens to have helper functions
2019-06-27 14:50:02 -07:00
Palak Bhojani
272868d087
Update flux script to get correct bucket name
2019-06-27 14:50:02 -07:00
Palak Bhojani
4062475010
Display relevant tokens based on permissions in token dropdown
2019-06-27 14:50:02 -07:00
Scott Anderson
836c1d84b0
updated flux function json to be prettier
2019-06-27 12:23:25 -06:00
Scott Anderson
86686b9f0e
updated flux function json to be prettier
2019-06-27 12:16:28 -06:00
Scott Anderson
666f8cf1c1
added new functions to Flux functions list
2019-06-27 12:06:44 -06:00
Palak Bhojani
d375f4bfcc
Add the ability to update a task token
2019-06-25 11:30:05 -07:00
Christopher Henn
530ceb9cbd
fix(ui): clamp gauge needle position to gauge domain
2019-06-24 17:46:03 -07:00
Christopher Henn
123b99cac5
fix(ui): draw gauges correctly on HiDPI screens
2019-06-24 17:46:03 -07:00
Palak Bhojani
875efabc68
Update changelog for token selection
2019-06-24 14:21:12 -07:00
Palak Bhojani
2a5517c0df
Create token dropdown to be a separate component
2019-06-24 13:31:03 -07:00
Palak Bhojani
715e587c0d
Add dropdown to select token when creating a new task
2019-06-24 13:31:03 -07:00
Christopher Henn
1d7521ebb7
fix(ui): enable selecting more columns in line visualizations
...
Closes #14153
2019-06-24 13:18:56 -07:00
Christopher Henn
9b78a66cd2
chore(ui): upgrade dependencies
...
Upgrades giraffe and influxdb-client-js dependencies.
Makes a few source tweaks to accomdate changes in the new client
version.
2019-06-24 11:22:30 -07:00
Andrew Watkins
d457865704
build: remove npm replace with yarn ( #14176 )
...
* build: remove npm
* build(yarn): only build silently on prod
* build(yarn): replace npm with yarn in makes and docs
* build: remove mentions of npm
* build: add yarn.lock
* build(yarn): lower minor version requirement
* chore: remove package-lock.json
* chore: add package-lock.json to gitignore
* build(node): allow newer node
* docs: update README.md
2019-06-21 16:19:42 -07:00
Iris Scholten
ea27736eaf
fix(ui/cloudNav): Update cloud subnav feature flag to use env var ( #14171 )
...
Subnav should be visible in acceptance but feature flagged in production
2019-06-21 13:17:57 -07:00
Andrew Watkins
5dfba47d15
fix: cell errors ( #14168 )
...
* fix: add tooltip for error message
* wip: styles for error
* chore: christmas time
* feat: introduce error formatting
* style(veo): scrollable errors
* style(cell): error tooltip
* chore: remove comment
* style: put styles on children
2019-06-21 10:25:09 -07:00
Delmer
03a1c86e55
feat(ui/cloud_nav): adds and feature flags billing/usage sub navs ( #14170 )
...
Adds a feature flag for the billing and usage sub navs in cloud.
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-06-20 19:12:05 -04:00
Christopher Henn
2225b6a33f
fix(ui): upgrade influxdb-client-js and influxdb-templates
...
Upgrades influxdb-client-js to latest dev tip, which includes a fix for
issue #14086 .
I also ran into an issue where the templates UI was crashing. It was
fixed by running
npm update @influxdata/influxdb-templates
To avoid having to run this not-obvious fix in the future, I [added a
release process][0] to influxdb-templates, released a version, and
pinned influxdb to that version.
Closes #14086
[0]: 401ec1687a
2019-06-20 14:34:42 -07:00
Christopher Henn
097867bfb8
fix(ui): prevent variable dropdown from clipping
...
Closes #14075
2019-06-19 15:39:40 -07:00
Andrew Watkins
54fba2ebb2
fix: only click save once to save cell ( #14164 )
2019-06-19 15:13:23 -07:00
Christopher Henn
4bd7320f7c
fix(ui): update client version to resolve query bottleneck
...
Closes #14084
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2019-06-19 11:02:13 -07:00
Daniel Campbell
2c9f57d037
Add type metadata to User Templates ( #14154 )
...
* Add type metadata to User Templates
* Add default values
2019-06-18 16:25:13 -07:00
Andrew Watkins
e25a8fa181
fix: sorting label by description ( #14148 )
...
* chore: labels test cleanup
* fix: throwing error when value is empty string
2019-06-18 08:47:57 -07:00
Daniel Campbell
ddf99f99f6
Add User Template Descriptions ( #14140 )
2019-06-14 11:25:47 -07:00
Christopher Henn
14d63be349
fix(ui): upgrade giraffe to 0.12.1
...
Closes #14133
2019-06-13 16:01:39 -07:00
Daniel Campbell
fd458cb33e
Add tabs and descriptions to Templates Page ( #14105 )
...
* Add tabs and descriptions to Templates Page
* Fixes tests broken by axios upgrade
* Add type metadata
* add no description placeholder
2019-06-13 11:45:24 -07:00
Brandon Farmer
5240d5d558
Initial static templates list
2019-06-13 11:45:24 -07:00
Christopher Henn
fe3869d60e
feat(ui): add option to shade area below line graphs
2019-06-13 11:36:08 -07:00
Deniz Kusefoglu
90cf07bb5b
Create task import overlay ( #14126 )
2019-06-13 10:26:25 -07:00
Andrew Watkins
f3c516729c
perf(dashboard): cell fetching
...
* wip: cleanup
* perf(dashboards): dont fetch each views' data when opening veo
* chore: fix types
* chore: fix types
* perf: stop rerendering of all views when variables change
* chore: cleanup
2019-06-12 14:19:02 -07:00
Deniz Kusefoglu
5089854c72
Add type to template meta created from resources ( #14118 )
...
* Add type to template meta created from resources
* filter templates that are available to be instantiated as dashboard
2019-06-12 11:52:16 -07:00
Deniz Kusefoglu
f35e9caf7e
Accept all date formats that are supported by flux in date picker ( #14117 )
2019-06-12 10:05:47 -07:00
Christopher Henn
7403a181e1
fix(ui): size gauges using cell dimensions
...
Closes #13600
2019-06-12 09:33:34 -07:00
Christopher Henn
f8d8f85b62
fix(ui): prevent variable dropdown from crashing when empty
...
Closes #14076
2019-06-12 09:32:33 -07:00
Christopher Henn
9f7300b3c1
fix(ui): populate "Save As Variable" modal with current query
...
Closes #14074
2019-06-12 09:32:33 -07:00
Christopher Henn
8bcd761b21
fix(ui): tighten error boundary around variable dropdowns
...
Wraps each dropdown in the variable control bar in a error boundary of
its own, using a new `ErrorBoundary` component.
The `ErrorBoundary` component can wrap both class and non-class
components alike (unlike the existing `ErrorHandling` class decorator).
Also removed the redudant logging from the `ErrorHandling` HOC; an error
caught by an error boundary will log once now, rather than twice.
2019-06-12 09:32:33 -07:00
Christopher Henn
ea94f4f0a8
fix(ui): avoid unnecessary FluxTable[] parsing
...
Also consolidates the `VisSwitcher` and `RefreshingViewSwitcher`
components into a single `ViewSwitcher` component.
Closes #13852
2019-06-11 14:07:24 -07:00
Deniz Kusefoglu
073b697c0e
Separate input element from date-picker ( #14087 )
...
* Separate input element from date-picker
* Add error message padding to DatePicker input
Co-authored-by: alexpaxton <thealexpaxton@gmail.com>
* Prevent time selection vertical jitter and polish styles
Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>
* Use Form component from @influxdata/clockface
2019-06-10 15:35:48 -07:00
Christopher Henn
23e6c7bf26
fix(ui): prevent visualization crash in DE
2019-06-10 10:39:51 -07:00
Christopher Henn
49c243186b
fix(ui): use '_value' as default histogram column selection
2019-06-07 16:06:11 -07:00
Christopher Henn
eee4416809
feat(ui): upgrade giraffe dependency
2019-06-07 16:06:11 -07:00
Andrew Watkins
02c12a0374
perf: dashboard cell and view rendering ( #14078 )
...
* chore: package.lock
* chore: remove unused logic
* perf: only render views in view :)
* chore: cleanup
* chore: remove cruft
2019-06-06 15:15:26 -07:00
Deniz Kusefoglu
9edf9bd6ee
Add x and y column pickers to graph types ( #14052 )
...
* Add x and y column picker to line graph
* Use column selector in heatmap options
* Add column selector to histogram
* Add column selector to scatter plot
* Fix tests
* Add xColumn and yColumn to data structure in line graph tests
* Move scatter container defaults to visSwitcher
* Add fillcolumn validity checking to histogram
* regularize XYcontainer and render it and lineplussingle stat in visSwitcher
* Initialize all views with null columns
* Place Line and Scatter Options x-y column selector behind cloud feature flag
* Rename getGroupableColumnSelection
* Add defaults to x/y column selections in line graphs
* Add defaults to x/y column selections in scatter
2019-06-04 18:07:53 -07:00
Christopher Henn
f2d198c169
feat(ui): enable formatting line graph y ticks with binary prefix
2019-06-04 17:37:31 -07:00
Kelvin Wang
7a40d92375
fix(ui): update ui telegraf orgID
2019-06-03 19:40:33 -04:00
Giacomo Tirabassi
fd4d593e21
updated vault dependencies to own module ( #14045 )
2019-06-03 15:41:02 +02:00
Deniz Kusefoglu
6c28938201
Correctly check if columnKeys include xColumn in heatmap ( #14031 )
2019-05-30 15:47:34 -07:00
Brandon Farmer
d6ececfb11
Add scripts for Docker builds
2019-05-30 13:09:28 -07:00
Deniz Kusefoglu
3db2039339
initialize new scatter plots with all fill columns selected ( #14021 )
2019-05-30 11:39:08 -07:00
Deniz Kusefoglu
8856312dde
Bump vis to 0.9.0 ( #14017 )
...
* Change table getters implementation
* ingest fluxGroupKeyUnion as array
* Bump vis to 0.9.0
* Fix behavior of latestValues in tests
2019-05-29 16:20:06 -07:00
Andrew Watkins
6e2b4b3c58
feat: add "none" selection to query builder function selector aggreation ( #14010 )
...
* package-lock.json
* feat: none query builder
* test: update query builder test
* chore: use constant for none
2019-05-29 13:24:08 -07:00
karel-rehor
f790799981
test(e2e/ui): labels tests and post rebase ( #13987 )
...
* # This is a combination of 2 commits.
# The first commit's message is:
added writeData command
# The 2nd commit message will be skipped:
# delinting
* added writeData command
* better junit reporting
removed chainable .only.
* starting onboarding test
* complete onboarding to quick start
* additional onboarding tests
* adding field requirements test
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
refactor add last data-testid replacements onb test
improving assert
* passing in additional data-testid values
troubleshoot tokens test
WIP tokens test - clean up after troubleshoot
WIP - tokens tests
updating testID in tokens test
* re-enable all current tokens tests
* starting labels test
* labels tests
* minor fix
minor fix
* cy.writeData chunked
* resynching onboarding.test.ts
2019-05-29 10:04:07 -07:00
Jade McGough
4e0d1199c8
fix(ui): run prettier ( #14006 )
2019-05-28 14:56:31 -07:00
Jade McGough
89f44da409
fix(ui): use correct templates for support links ( #13990 )
2019-05-28 14:25:54 -07:00
Deniz Kusefoglu
192998d1e5
Add scatter ( #13974 )
...
* Add scatter to visualization types dropdown
* Add initial scatter options
* Add scatter visualization to view switcher
* Add scatter to VEO
* Add scatter type to graph types
* Expand scatter options
* Update changelog
* Change scatter color type to strings
* Assume fluxgroupkey is set
* Regularize scatter options
* Place scatter behind feature flag
2019-05-28 13:15:29 -07:00
Daniel Campbell
59d19ad36b
add heatmap icon ( #13979 )
2019-05-21 09:52:25 -07:00
Brandon Farmer
09d7c3c80f
Fix influxdb-templates dependency
2019-05-20 09:11:29 -07:00
Brandon Farmer
68905bdb39
Merge pull request #13964 from influxdata/add-honeybadger-to-cloud
...
Add honeybadger overrides for cloud
2019-05-17 16:30:14 -07:00
Brandon Farmer
d72aca1c99
Add honeybadger overrides for cloud
2019-05-17 16:19:54 -07:00
Alirie Gray
d6a542e21b
Merge pull request #13946 from influxdata/fix/swagger-for-task-runs
...
fix(swagger): add log property to task runs endpoint docs
2019-05-17 14:18:01 -07:00
Alirie Gray
576da8f9d2
fix(swagger): add log property to task runs endpoint docs
2019-05-17 14:08:10 -07:00
Christopher Henn
9ef08fdc17
feat(ui): expose smooth interpolation option for line graphs
...
Closes #13762
2019-05-17 13:45:03 -07:00
Christopher Henn
1a59fbc174
fix(ui): fix crash in time machine when opening vis settings
...
Closes #13813
2019-05-17 12:15:14 -07:00
Christopher Henn
9b73097a9f
feat(ui): add heatmap vis type
2019-05-17 12:15:14 -07:00
Iris Scholten
d31be2a6f5
chore(ui): remove unused component ( #13614 )
2019-05-16 11:32:42 -07:00
karel-rehor
e9ccde1d78
test(e2e): Bonitoo cypress tokens ( #13895 )
...
* 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
* starting tokens test
* troubleshoot tokens test
* WIP tokens test - clean up after troubleshoot
* WIP - tokens tests
* synching tokens test with clockface changes
* updating testID in tokens test
* re-enable all current tokens tests
* linted tokens.test.ts
* stablize beforeEach in tokens.test
2019-05-16 10:48:20 -07:00
Christopher Henn
35701a1646
Upgrade vis library to 0.7.0
2019-05-15 16:41:53 -07:00
Brandon Farmer
09600b1094
Extract template to external module
2019-05-15 14:08:07 -07:00
Iris Scholten
8e76d8f6de
Merge pull request #13925 from influxdata/fix/download-names
...
feat(ui): Export and download resource with formatted resource name
2019-05-15 09:25:19 -07:00
Iris Scholten
9cb2b339cf
feat(ui): Export and download resource with formatted resource name
2019-05-14 16:34:38 -07:00
Palak Bhojani
a05f7fec34
Update buckets token overlay to use generic SelectorList component
2019-05-14 15:54:22 -07:00
Palak Bhojani
42d818e1d5
Update Labels list to use ResourceList instead of IndexList
2019-05-14 13:18:54 -07:00
Deniz Kusefoglu
7b55b10a65
Merge pull request #13900 from influxdata/nav-bar-org-swith
...
Reload page on switch org
2019-05-13 16:20:03 -07:00
Palakp41
494767e2a4
Merge pull request #13901 from influxdata/fix-variables-resource-list
...
Update Variables tab to use ResourceList instead of IndexList
2019-05-13 15:33:06 -07:00
Deniz Kusefoglu
9050582c5a
Use anchor tag instead of link for org switch
2019-05-13 15:30:54 -07:00
Palak Bhojani
bfad4d6581
Update Variables tab to use ResourceList instead of IndexLits
2019-05-13 15:22:50 -07:00
Andrew Watkins
d105fe18dc
feat(query-builder): set aggregate window ( #13882 )
...
* feat(query-builder): store aggregateWindow
* feat(query-builder): add ability to edit aggregateWidnow selection
* test: update and add aggregate window to tests
* test(querybuilder): add integration test
2019-05-13 15:14:05 -07:00
Iris Scholten
41e578a4c2
chore(ui): Use ResourceList component for Scrapers List
2019-05-13 10:30:56 -07:00
Palak Bhojani
49cfc08d2d
Update Buckets list to use ResourceList instead of IndexList
2019-05-10 16:17:20 -07:00
Palakp41
5d99b0b788
Merge pull request #13875 from influxdata/fix-members-resource-list
...
Update members to use ResourceList instead of IndexList
2019-05-10 15:10:38 -07:00
Palak Bhojani
4ae929b4fe
Update members to use ResourceList instead of IndexList
2019-05-10 14:54:58 -07:00
Deniz Kusefoglu
f21d4c9427
Merge pull request #13877 from influxdata/zero-maxAllowed-to-no-limits
...
Interpret a maxAllowed of zero as no limits on asset.
2019-05-10 12:44:39 -07:00
Christopher Henn
adfb6a9b46
fix(ui): improve single stat computation
...
The method we used to compute a single stat / gauge value previously did
account for missing data. If the latest value in a response was part of
a numeric column but was null/NaN/not defined, the single stat
computation would fail and a user would see an error message "Could not
display single stat because your values are non-numeric".
This commit updates the single stat computation to find the latest
*defined* numeric values.
If no latest valid numeric values are found, we will either:
- Display an error message if using the compuation within a single stat
visualization
- Display nothing if using the computation within a within a line +
single stat visualization (i.e. display the line vis only)
If multiple latest values are found, we make an arbitrary selection
(same as previous behavior). The goal is to eventually expose UI
elements to the user so they can make this selection themselves.
This commit also updates the single stat computation to use the
@influxdata/vis `Table` format as an intermediate/parsed representation
of a Flux CSV response. This unlocks the possibility for performance
gains in our CSV parsing. See #13852 .
Closes #13824
2019-05-10 07:29:24 -07:00
Deniz Kusefoglu
8ef957fc20
Interpret a maxAllowed of zero as no limits on asset.
2019-05-09 17:48:41 -07:00
Brandon Farmer
4fd6eb4f63
Extract and update templates
2019-05-09 15:58:55 -07:00
Palak Bhojani
3b6cf6234f
Update read/write generate token to have option to create all buckets token
2019-05-09 15:08:30 -07:00
alexpaxton
c1ad0f03de
Fix jumbled labels on card select cards ( #13856 )
...
* Fix jumbled labels on card select cards
* Updoot
2019-05-08 15:41:26 -07:00
alexpaxton
0bfe0d4b91
Remove Local Clockface Components ( #13851 )
...
* Remove local input and textarea, update references
* Delete local Label component and update references
* Delete local DraggableResizer and update references
* Delete local Overlay components and update references
2019-05-08 14:31:03 -07:00
Palak Bhojani
fee9e83f12
Display notifications when token is deleted or updated
2019-05-08 10:31:41 -07:00
Andrew Watkins
d3d88f7c99
fix: alphabetize template import list
...
* chore: package lock
* fix(ui/templates): sort alphabetically
2019-05-08 10:13:59 -07:00
Palak Bhojani
d31910551f
Update line protocol to write data only once
2019-05-08 09:44:38 -07:00
alexpaxton
47d9cb7d27
Cleanup CSS Imports ( #13840 )
...
* Remove all imports of modules into individual stylesheets
* Ensure all stylesheets are imported somewhere
* Remove style imports from component files
2019-05-07 18:09:10 -07:00
alexpaxton
c32f2dfc81
Polish/query builder checkboxes ( #13835 )
...
* Add optional multiselect styling to query builder lists
* Style buckets list to be single select
* Style function list to be multi-select
* Style tag selector to be multi-select
* Updoot
* Appease the linter gods
* Fix scrollbars in selector list
2019-05-07 15:48:45 -07:00
alexpaxton
ae96d2ddcb
Polish Variable Dropdowns ( #13823 )
...
* Make variables toggle button themed to match variables
* Make dropdowns only be draggable from the hamburger
* Polish styles of variable dropdown
* Updoot
2019-05-07 13:54:34 -07:00
Deniz Kusefoglu
b4f243c937
Merge pull request #13828 from influxdata/extract-retry-from-headers
...
Extract "retry after" from query limit error response headers and reveal to user in notifications
2019-05-07 12:56:18 -07:00
Deniz Kusefoglu
55cf96a826
Reveal retry-after times to user in query limit notifications
2019-05-07 11:59:22 -07:00
Deniz Kusefoglu
dc116293f7
Add rate limits in addition to query limit notification
2019-05-07 11:52:23 -07:00
Deniz Kusefoglu
c7c1510fe6
Remove excessive notifications for asset limits
2019-05-07 11:49:28 -07:00
Christopher Henn
0945dd75bb
Bump client version
2019-05-07 10:59:02 -07:00
Andrew Watkins
231bb0967a
feat: make buckets a list instead of a dropdown ( #13808 )
...
* feat: make buckets a list instead of a dropdown
* test: update query builder test
* test(e2e): update selectors
2019-05-07 10:35:10 -07:00
Palak Bhojani
f22cf32a1b
Update account and org header for cloud specific
2019-05-07 10:11:16 -07:00
Palak Bhojani
6626e50a68
Update buckets notifications to display error from backend
2019-05-06 18:26:07 -07:00
Brandon Farmer
3749e64744
Merge pull request #13622 from influxdata/use-streaming-query
...
Use streaming interface from client library
2019-05-06 16:54:13 -07:00
Andrew Watkins
56fcf761f3
chore(ui/buckets): change update rp copy ( #13802 )
2019-05-06 15:57:42 -07:00
Palak Bhojani
c44d8a6173
Update max buckets to be greater than the number
2019-05-06 15:38:31 -07:00
Brandon Farmer
adf9c9ffd9
Remove unused url parameter
2019-05-06 15:37:38 -07:00
Brandon Farmer
94bb9c84d8
Properly set didTruncate
2019-05-06 15:37:38 -07:00
Brandon Farmer
9f88f892e7
Use streaming interface from client library
2019-05-06 15:37:38 -07:00
Christopher Henn
afd4c6b902
fix(ui): expand tab key presses to 2 spaces in the Flux editor
2019-05-06 14:48:28 -07:00
Christopher Henn
e029a95ad3
fix(ui): generate more idiomatic Flux in query builder
2019-05-06 14:39:13 -07:00
Deniz Kusefoglu
e2c1f8b704
Merge pull request #13801 from influxdata/fix-dropdown-disabling-in-limits
...
Fix dropdowns in limited status
2019-05-06 14:24:07 -07:00
Brandon Farmer
5c4be1b52a
Merge pull request #13804 from influxdata/remove-billing-link
...
Remove delete user from cloud
2019-05-06 14:17:47 -07:00
Deniz Kusefoglu
3ebc2fd453
Add test-ids to create resource dropdown items
2019-05-06 14:11:28 -07:00
Iris Scholten
4b7c10a956
Merge pull request #13783 from influxdata/fix/map-var
...
fix(ui): ensure map type variables can get selected key
2019-05-06 14:00:48 -07:00
Brandon Farmer
cc34595758
Remove delete user from cloud
2019-05-06 13:53:48 -07:00
Iris Scholten
20dcbafb2f
fix(ui): ensure map type variables can get selected key
2019-05-06 12:58:32 -07:00
Deniz Kusefoglu
3579b02f80
Remove title text from dashboards index and tasks index
2019-05-06 12:29:33 -07:00
Deniz Kusefoglu
99d020b0c1
Import dropdown from clockface library
2019-05-06 12:28:32 -07:00
Brandon Farmer
68924dbf4d
Remove billing link
2019-05-06 10:31:48 -07:00
Palak Bhojani
80cd9b74d7
Update variable rename overlay and argument type
2019-05-06 09:39:37 -07:00
alexpaxton
063d487c4e
Prevent single stat numbers from being clipped by cell titles ( #13772 )
2019-05-03 18:59:24 -07:00
Christopher Henn
fbe644a2d1
Integrate @influxdata/vis line plots
2019-05-03 14:22:34 -07:00
Palak Bhojani
aa7a65d81e
Update task run to not display NaN seconds
2019-05-03 10:59:35 -07:00
Deniz Kusefoglu
9fc73cc060
Make limits errors less verbose and limited duration
2019-05-02 17:09:00 -07:00
Deniz Kusefoglu
dbd36b7a2e
Differentiate between asset limit errors and rate limit errors
2019-05-02 14:56:36 -07:00
Deniz Kusefoglu
f33f63185a
Fix reference to redux state in get
2019-05-02 12:38:22 -07:00
alexpaxton
62f8a654a6
Upgrade to Clockface 0.0.13 ( #13686 )
...
* Upgrade!
* Replace "customClass" with "className"
* Upgrade to 0.0.12
* Replace square shaped buttons with SquareButton
* Appease linter gods
* Polish panel in org profile
* Update snapshots
* Upgrade to Clockface 0.0.13
* Fix button refs bug
* Fix failing unit test
* Fix onboarding e2e tests
2019-05-02 09:22:25 -07:00
Russ Savage
82eb9099a6
remove telegraf bucket name from getting started with flux template ( #13753 )
...
* remove telegraf bucket name
2019-05-02 08:56:50 -07:00
Russ Savage
954ba9601d
update the system time function ( #13742 )
...
* update the system time function
2019-05-01 13:17:36 -07:00
Deniz Kusefoglu
c068e2eaee
Pin client version to 0.3.3
2019-05-01 12:52:31 -07:00
Deniz Kusefoglu
79f4e2b57e
Merge pull request #13734 from influxdata/remove-builderConfig
...
Sanitize query builderConfigs before exporting dashboards
2019-05-01 12:33:24 -07:00
Russ Savage
1f63aba1a9
fix a typo in the range example ( #13738 )
...
fix a typo in the range example
2019-05-01 12:26:15 -07:00
Deniz Kusefoglu
e9c551723e
Sanitize query builderConfigs before exporting dashboards
2019-05-01 12:16:32 -07:00
Christopher Henn
ea9a231f43
fix(ui): fix issue saving histograms via the Data Explorer
...
Closes #13733
2019-05-01 11:23:16 -07:00
Russ Savage
9a7840aae0
fixing window example ( #13732 )
2019-05-01 10:38:18 -07:00
Deniz Kusefoglu
506ddb4f4f
Remove builderConfigs from templates
2019-04-30 17:37:20 -07:00
Russ Savage
90f42df107
Fixing templates to address float != int error ( #13718 )
...
Fixing system template to address float != int error in flux
2019-04-30 14:13:23 -07:00
Andrew Watkins
c3d823e545
fix: notes covered by adjacent cells ( #13717 )
...
* fix(dashboards): notes being hiddent by adjascent cells
* chore(portals): be the change
2019-04-30 12:41:39 -07:00
Russ Savage
3e6ac0cc1e
adding local metrics dashboard for quickstart ( #13715 )
...
Adding local metrics dashboard for quickstart
2019-04-30 12:31:39 -07:00
Deniz Kusefoglu
3314563439
Create token with select all buckets should not create token with all access permissions
2019-04-30 09:54:37 -07:00
Andrew Watkins
f2fd7d6728
feat(ui/explorer): add imports to flux scripts ( #13711 )
...
* fix(ui) Update flux function docs and examples
* add package property to FluxToolbarFunction
* added package property to built-in flux functions
* added package propert to the toFloat function
* prettified fluxFunction.ts
* updated columns parameter on derivative function
* added newline after derivative desc for prettier fluxFunction.ts
* chore(e2e): updsate cypress to 2.0
* feat(query-builder): add import statements
* wip
* feat(ui/builder): simplify import addition logic
* test: remove only
* chore: linting
* test: string organization
2019-04-29 21:56:36 -07:00
Delmer
556e030f7b
fix(ui/var/dropdown): display map key names in dropdown ( #13659 )
...
fix(ui/var/dropdown): display map key names in dropdown
2019-04-29 13:53:25 +02:00
Palakp41
8adfabab84
Merge pull request #13674 from influxdata/fix/scraper-create-submit
...
Update scraper create overlay to create scraper on enter
2019-04-26 15:21:31 -07:00
Deniz Kusefoglu
581a810a87
Merge pull request #13675 from influxdata/cell-errors
...
Display Limit Errors in cells and wrap error texts.
2019-04-26 15:03:32 -07:00
Palak Bhojani
468b9978c8
Update scraper create overlay to create scraper on enter
2019-04-26 15:02:54 -07:00
Deniz Kusefoglu
af02e4db41
Merge pull request #13679 from influxdata/fix-notifications-in-tests
...
Import NotificationStyle enum directly from notification types
2019-04-26 15:01:21 -07:00
Andrew Watkins
e9deac45d6
fix(ui): task update ( #13663 )
...
* fix(ui): task update
* chore: lock
2019-04-26 14:27:43 -07:00
Christopher Henn
4378456257
Update query builder metaqueries
...
Currently, slight changes in the form of a Flux metaquery can have
drastic performance implications. To solve this issue, the Flux language
provides helper metaquery functions such as `v1.tagKeys` and
`v1.tagValues` which are guaranteed to be as fast as possible.
In #12791 , we switched away from using the `v1.tagKeys` and
`v1.tagValues` functions in the query builder to their underlying Flux
implementations in order to implement a UI feature. While the new
metaqueries used in the query builder were still optimized at the time,
the Flux language has since changed and this is no longer the case.
In addition, the metaqueries in the UI no longer hit the same code-path
in Flux which has exposed a logic bug in the queries. So when executed,
the metaqueries return the following error:
schema collision detected: column ""_value"" is both of type float and int
This PR updates the metaqueries used in the query builder to their
[currently optimized form][0]. The long term solution is to address
[this][1] issue and then switch back to using the safer `v1.tagKeys` and
`v1.tagValues` functions directly.
[0]: https://github.com/influxdata/flux/blob/master/stdlib/influxdata/influxdb/v1/v1.flux
[1]: https://github.com/influxdata/flux/issues/1071
Closes https://github.com/influxdata/influxdb/issues/13660
2019-04-26 14:26:30 -07:00
Deniz Kusefoglu
d72fe46510
Import NotificationStyle enum directly from notification types instead of from src types
2019-04-26 14:16:36 -07:00
Deniz Kusefoglu
4707ce26ce
Text wrap error messages that appear in cells.
2019-04-26 13:45:58 -07:00
Deniz Kusefoglu
6bd1518fd0
Pass errorMessages directly from TimeSeries, and change if limit error
2019-04-26 13:44:13 -07:00
Deniz Kusefoglu
2551aadd79
move rate limit error constant to cloud constants
2019-04-26 13:41:46 -07:00
Andrew Watkins
707cfc1146
fix(ui): duplicate logout buttons ( #13670 )
2019-04-26 12:30:44 -07:00
Deniz Kusefoglu
45ad90e949
Check that notification is unique by type before publishing
2019-04-25 19:19:57 -07:00
Deniz Kusefoglu
30b6a4a23e
Convert notification type to style
2019-04-25 19:02:59 -07:00
Christopher Henn
cd1fcf6c1f
Detect more errors in JSON query responses
2019-04-25 18:41:35 -07:00
Deniz Kusefoglu
da2339ea24
Merge pull request #13638 from influxdata/fix-notifications
...
Clean up notifications
2019-04-25 16:40:23 -07:00
Deniz Kusefoglu
68fed64b7a
Fix failing notifications tests
2019-04-25 16:21:22 -07:00
Deniz Kusefoglu
ca17786924
import NotifyAction directly from types
2019-04-25 15:14:11 -07:00
Palak Bhojani
1a9441c86a
Fix permissions on view token overlay
2019-04-25 15:10:15 -07:00
Deniz Kusefoglu
27b00b293d
Remove ActionType on notifications
2019-04-25 15:00:28 -07:00
Deniz Kusefoglu
1cd0bf5807
Remove v2 notifications, and remove unused notifications
2019-04-25 14:14:11 -07:00
Deniz Kusefoglu
bbefc71f02
Use immer library in notifications reducer
2019-04-25 13:15:02 -07:00
Deniz Kusefoglu
c4f3580e0b
Move notifications action types back in to actions file
2019-04-25 12:39:42 -07:00
Palakp41
2a76243170
Merge pull request #13634 from influxdata/fix/scraper-create-bucket-change
...
Fix create scraper bucket dropdown
2019-04-25 12:17:02 -07:00
Palak Bhojani
5e46917dab
Fix create scraper bucket dropdown to use params orgID
2019-04-25 11:29:24 -07:00
Deniz Kusefoglu
98d443708d
Merge pull request #13613 from influxdata/buckets-tasks-limits
...
Buckets tasks limits
2019-04-25 10:46:52 -07:00
Deniz Kusefoglu
1efe9825b1
Add Asset limit alert component to buckets dashboards and tasks
2019-04-25 09:24:33 -07:00
Russ Savage
0983797b14
updated markdown link to a more useful site ( #13602 )
...
* updated markdown link to a more useful site
2019-04-24 17:03:46 -07:00
Palakp41
28dce8de4e
Merge pull request #13626 from influxdata/fix/telegraf-config-setup
...
Update telegraf config setup instructions to use Link
2019-04-24 16:24:41 -07:00
Deniz Kusefoglu
c8a345b35d
Improve error message copy for read, write, asset limits
2019-04-24 15:39:18 -07:00
Deniz Kusefoglu
268229d31c
Avoid runtime errors in case of limits missing in redux
2019-04-24 15:37:43 -07:00
Deniz Kusefoglu
f116adcfff
Remove unnecessary else statements and default props
2019-04-24 15:37:43 -07:00
Deniz Kusefoglu
13cc0ae547
Add missing prop to tasks test
2019-04-24 15:37:43 -07:00
Deniz Kusefoglu
5c9131e406
Add titleText to dashboard add resource dropdown
2019-04-24 15:37:43 -07:00
Deniz Kusefoglu
281b268cef
add limits to tasks
2019-04-24 15:37:43 -07:00
Deniz Kusefoglu
5e603974e7
Add optional titleText to AddResourceDropdown
2019-04-24 15:37:43 -07:00
Deniz Kusefoglu
a00b5f6257
remove unused props from dashboards index
2019-04-24 15:37:43 -07:00
Deniz Kusefoglu
6d6a194150
Add limits to buckets
2019-04-24 15:37:43 -07:00
Palak Bhojani
a27d4acb6a
Update telegraf config setup instructions to use Link
2019-04-24 15:20:49 -07:00
alexpaxton
843dbfe039
Polish Login Panel ( #13624 )
...
* Simplify version info styles
* Simplify splash page styles
Ensure classnames match component names
make more flexible
* Refactor signin page to use clockface panel
* Remove purgatory styles
* Simplify version info styles more
* Remove unused imports
2019-04-24 14:56:07 -07:00
Iris Scholten
cdb325d0e0
fix(ui): Display error message from writing line protocol
2019-04-24 14:26:41 -07:00
Palak Bhojani
68fdcd0ecd
Fix line protocol bugs with upload and styling
2019-04-24 13:50:43 -07:00
Palakp41
e5d6a81425
Merge pull request #13612 from influxdata/tasks-runs-sorting
...
Update task runs list to sort
2019-04-24 11:34:16 -07:00
Iris Scholten
ad0b0891de
Merge pull request #13601 from influxdata/feat/buckets-token
...
feat(ui): Add option to generate read / write token
2019-04-24 11:19:41 -07:00
Iris Scholten
62f2d632e5
feat(ui): Add option to generate read / write token
2019-04-24 11:09:12 -07:00
Palak Bhojani
15ba4b58cb
Update task runs list to sort using getSortedResources
2019-04-24 11:06:17 -07:00
Deniz Kusefoglu
b5fffc6aab
Merge pull request #13588 from influxdata/feat-rate-limiting
...
Add rate limiting to dashboard asset
2019-04-24 10:19:05 -07:00
Deniz Kusefoglu
0d78a296cc
use CLOUD var for detecting cloud env
2019-04-24 10:02:52 -07:00
Palak Bhojani
945505839f
Update add users dropdown with an empty state
2019-04-24 09:10:10 -07:00
Deniz Kusefoglu
49c8d3a0f7
Move create and clone dashboard functions to actions and handle limit errors
2019-04-23 18:18:51 -07:00
alexpaxton
191c16c474
Use DapperScrollbars in inline label editor ( #13584 )
...
* wip
* Minor tweaks
* Updoot
2019-04-23 14:56:01 -07:00
Deniz Kusefoglu
fbdc65b98d
Add asset limits getter to DashboardsIndex
2019-04-23 14:05:07 -07:00
Deniz Kusefoglu
20ac4f2357
Add cloud limits to redux state, and create asset getter component
2019-04-23 14:04:37 -07:00
alexpaxton
17caffe309
Fix Dropdown Overlapping Dot & Text ( #13585 )
...
* Only remove item padding when mode is action list and no selectedID is passed in
* Updoot
2019-04-23 12:10:28 -07:00
alexpaxton
e063e8f570
Generic Builder Card Components ( #13570 )
...
* Introduce BuilderCard component family for use in query builder
* Implement BuilderCard in data card component
* Implement BuilderCard in selector list
* Update function selector
* Implement BuilderCard in tag selector and remove unused styles
* Use AddCardButton and proper container classname
* Remove unused imports
2019-04-23 11:18:35 -07:00
Palak Bhojani
1e4acb3815
Update telegraf list to use ResourceList
2019-04-23 09:20:34 -07:00
Iris Scholten
0f01067f60
feat(ui): Add option to generate an all access token
2019-04-22 17:58:50 -07:00
Kelvin Wang
79093f1de3
fix(ui): remove orgName
...
Co-authored-by: Kelvin Wang <sherkrainwang@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
fix(buckets): fix linter errors
fix(telegrafs): get orgID to create dashboards for plugins
fix(telegrafs): fix linter errors
2019-04-22 18:39:07 -04:00
Deniz Kusefoglu
47047865d6
Fix typon in create dashboard notification
...
Notify on 429 errors on query in dashboard and DE
Notify on 429 error in line protocol write
Query for limitStatus on Dashboard and DE load
Remove React import in LimitChecker
Rename limits folder to cloud
Add strict comparison to status code checking
Prevent blow up if error doesn't contain status
convert readLimit writeLimit to boolean sounding vars
2019-04-22 15:13:22 -07:00
Delmer
cf8785dc76
feat(ui/variables/rename): add danger zone to rename ( #13555 )
2019-04-22 15:25:08 -04:00
alexpaxton
5b168f74b3
Remove profile link ( #13551 )
2019-04-22 10:39:43 -07:00
Palak Bhojani
b0253c92e2
Use memoizeOne function for sorting resources
2019-04-19 14:24:37 -07:00
Deniz Kusefoglu
3285009c11
Use memoize one instead of getDerivedStateFromProps for soring state
2019-04-19 14:24:36 -07:00
Palak Bhojani
eff0b3e21f
Resource List sorts from state instead of redux state
2019-04-19 14:24:36 -07:00
Palak Bhojani
732ec9b20a
Alphabetize all resource lists using same sorting
2019-04-19 14:24:36 -07:00
Delmer Reed
4684b9fac0
feat(ui/buckets): add buckets danger zone
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-04-19 17:02:45 -04:00
Delmer
956d1fd59b
fix(ui/var/rename): resolve naming when changing types ( #13518 )
2019-04-19 14:08:04 -04:00
Iris Scholten
5a55d4496a
Fix autorefresh icon always showing pause
2019-04-19 09:48:29 -07:00
Iris Scholten
24bd1850a6
feat(ui): Add orgname to dashboard page title
2019-04-18 12:57:29 -07:00
Nathaniel Cook
1c2fd2eedd
Merge pull request #13506 from influxdata/flux-staging
...
Update to Flux v0.26.0
2019-04-18 12:13:49 -06:00
Delmer
87121fba1f
feat(ui/variables/csv): add csv variable ( #13503 )
2019-04-18 13:37:00 -04:00
Nathaniel Cook
4c77e3598b
Merge branch 'master' into flux-staging
2019-04-18 11:01:22 -06:00