Commit Graph

140 Commits (972392f698e9d2c0d97260e94c616be53ac4dfa9)

Author SHA1 Message Date
Andrew Watkins 972392f698
chore(ui): upgrade clockface (#14578)
* chore: upgrade clockface and fix type errors

* fix(clockface): types for TextArea onChange callback
2019-08-06 10:23:29 -07:00
Andrew Watkins 841f22cbee
build(webpack): fix hashing and css hmr (#14552) 2019-08-03 11:36:58 -07:00
Christopher Henn 8ca1d75d6d chore(ui): use latest chrome for e2e tests 2019-08-02 13:50:22 -07:00
Christopher Henn 5104cc1f11 fix(ui): handle rate limited and error Flux responses 2019-08-02 13:50:22 -07:00
Christopher Henn e62fbe6242 refactor(ui): remove unused workers code 2019-08-02 13:50:22 -07:00
Christopher Henn 918ca3ec4f fix(ui): upgrade giraffe to 0.16.2
Closes #14504
2019-07-30 14:33:04 -07:00
Christopher Henn 1250be5f80 refactor(ui): inline API type generation
Part of #14482
2019-07-30 09:35:05 -07:00
Andrew Watkins d0913d227c
feat(ui): wasm flux parser (#14471)
* build(ui): add ability to bundle wasm

* refactor(ui/ast): remove cruft from async AST calls

* chore: add TODO

* test: mock @influxdata/flux-parser package

* oops: I will not hide my shame
2019-07-26 17:21:52 -07:00
Christopher Henn 42ecae8bb2 fix(ui): upgrade clockface to 0.0.19
Closes #13725
2019-07-26 13:40:55 -07: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
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
Jonathan A. Sternberg 6ca9064c7b
chore(ui): upgrade influxdb-templates to v0.3.0 (#14419) 2019-07-23 11:00:13 -05: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
Christopher Henn 98e8dc9ad8 feat(ui): add initial alert threshold visualization 2019-07-16 09:32:40 -07:00
Christopher Henn 8f9fcfd883 feat(ui): add time zone setting 2019-07-08 15:18:22 -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
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 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
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
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
Christopher Henn eee4416809 feat(ui): upgrade giraffe dependency 2019-06-07 16:06:11 -07:00
Kelvin Wang 7a40d92375 fix(ui): update ui telegraf orgID 2019-06-03 19:40:33 -04:00
Brandon Farmer d6ececfb11 Add scripts for Docker builds 2019-05-30 13:09:28 -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
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
Christopher Henn 9b73097a9f feat(ui): add heatmap vis type 2019-05-17 12:15:14 -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
Christopher Henn 0945dd75bb Bump client version 2019-05-07 10:59:02 -07:00
Christopher Henn fbe644a2d1 Integrate @influxdata/vis line plots 2019-05-03 14:22:34 -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
Deniz Kusefoglu c068e2eaee Pin client version to 0.3.3 2019-05-01 12:52:31 -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 875855c4bb
feat(ui/variables/map): add map type variables (#13466) 2019-04-18 09:23:07 -04: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
alexpaxton 64d05f2a02
Upgrade to Clockface 0.0.10 (#13267)
* Get latest version of Clockface

* Update test snapshot

* Update  use of radio button testID

* Fix incorrect prop

* Get latest version of Clockface

* Update test snapshot

* Update  use of radio button testID

* Fix incorrect prop

* fix(ui/snapshot): update radio button
2019-04-09 15:19:29 -07:00
Deniz Kusefoglu 02215e2ba0 Make templates org centric 2019-04-08 15:31:57 -07:00
Brandon Farmer 9b816248bc Move influx dependency to github branch 2019-04-04 17:08:46 -07:00
Brandon Farmer 46d12f7e53 Update client to now allow org ids 2019-04-04 16:36:43 -07:00
alexpaxton 455b7b768a Clockface 0.0.9 (#13163)
* Update to latest clockface version

* Make linter happy

Alignment, Stack, DropdownChild, and DropdownMenuColors are all either no longer exported or in a different shape than before

* Fix circular dependency

* Import correct type

* Remove unused component

* Update all instances of ComponentSpacer

* Remove local ComponentSpacer

* Update test snapshots

* Fix incorrect use of ComponentSpacer
2019-04-04 16:32:33 -07:00