Commit Graph

157 Commits (36faf7268eeec8dc316e1aaa58528df7605e4cd5)

Author SHA1 Message Date
Alex Boatwright b91a856f59
chore(ui): relocate testing configuration (#15356)
while exploring containerization of the frontend, i decided to remove the
existing environment configuration from package.json and push them into
external files in an attempt to improve the caching strategies available
for local development. the CI pipeline should be watching the lock file,
but changes to the testing environment locally shouldn't cause a rebuild
of node_modules.
2019-10-08 15:39:33 -07:00
Deniz Kusefoglu 7d4c8491f0
feat: Add event markers (#15282)
* Add init event markers

* Add events to dashboard graphs

* Add level coloring and styling to event markers

* Window statuses by time and graph groups of events

* Put event markers behind feature flag

* init tooltip

* Upgrade giraffe library

* Add Tooltip

* Add status query to Time Machine

* Status rows return lowercase check level statuses

* rename events to statuses

* Radically improve tooltip style

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>

* Add time formatting

* Make status query more readable

* Clean up comments
2019-09-27 14:09:12 -07:00
Russ Savage 73ac9c5b5c
fix(templates): add jmeter template (#15168)
* fix(templates): add jmeter template

* fix(defaultTemplates): missing comma

* fix(package): update influxdb-template library

* fix(ui): updating yarn.lock

* fix(templates): add jmeter template

* fix(defaultTemplates): missing comma

* fix(package): update influxdb-template library

* fix(ui): updating yarn.lock

* Updated CHANGELOG
2019-09-26 12:21:12 -07:00
Deniz Kusefoglu ec803e22b6 Revert "chore(ui): upgrade Clockface to 0.0.32 (#15221)"
This reverts commit 0669c22bbd.
2019-09-23 11:56:05 -07:00
alexpaxton 0669c22bbd
chore(ui): upgrade Clockface to 0.0.32 (#15221)
* chore(ui): upgrade clockface dependency

* refactor(ui): update components affected by breaking changes

* refactor(ui): update test snapshots

* refactor(ui): remove obsolete component

* refactor(ui): remove reference to non-existant stylesheet

* refactor(ui): update selector in e2e collectors test

* refactor(ui): attempt to fix e2e test

* refactor(ui): appease linter

* refactor(ui): update implementation of client library cards
2019-09-23 10:06:42 -07:00
Christopher Henn fb57feefac feat(ui): upgrade influxdb-templates to v0.8.0 2019-09-09 11:03:02 -07:00
Christopher Henn 14d059ac4d
fix(ui): upgrade giraffe to 0.16.3
Closes #15017
2019-09-06 15:38:02 -07:00
Chris Goller af5996fe45
build(webpack): add source maps for @influxdata/giraffe prod builds (#14908)
* build(webpack): add source maps for @influxdata/giraffe prod builds

We were getting runtime errors in the prod builds via honeybadger.
They were unreadable because we did not have source maps for giraffe.

We were only able to get this working for prod builds but not dev
despite trying putting it in the webpack common file.  This is good
'nuff for our purpose now, but maybe we'll need further investigation.

Bonus commit... I added a new make target of influxd so I would not
need to type so much.

Co-authored-by: Andrew Watkins <watts@influxdb.com>

* build(webpack): add clockface source maps to production build

 Co-authored-by: Andrew Watkins <watts@influxdb.com>
2019-09-04 09:00:20 -05:00
Christopher Henn 7beed29551 chore(ui): upgrade oats to 0.4.0 2019-08-30 16:14:26 -07:00
alexpaxton 4629958d51
chore(ui): upgrade Clockface to 0.0.28 (#14891)
* chore(ui): upgrade clockface dependency to latest

* refactor(ui): update popovers affected by breaking change
2019-08-30 12:37:05 -07:00
Andrew Watkins 0e4df01ddd
feat(alerts): rule overlay endpoint dropdown (#14787)
* feat(alerts): rule overlay endpoint dropdown

* test: skip tests until ownerID gets sorted out

* chore: change back to using electron

* test(cypress): use chrome again

* test(cypress): downgrade cypress
2019-08-26 14:27:31 -07:00
alexpaxton 3b714995cf
chore(ui): upgrade Clockface dependency to 0.0.27 (#14736)
* chore(ui): upgrade Clockface dependency to latest

* chore(ui): address breaking FlexBoxChild changes

* chore(ui): address breaking PanelHeader changes

* chore(ui): update affected snapshots

* refactor(ui): attempt to fix e2e tests
2019-08-21 19:47:37 -07:00
alexpaxton 53f6806df1
chore(ui): upgrade Clockface dependency to 0.0.25 (#14677)
* chore(ui): upgrade clockface dependency to latest

* refactor(ui): replace references to "ComponentSpacer" with "FlexBox"

* refactor(ui): update snapshot tests

* refactor(ui): appease the linter

* refactor(ui): appease the linter, again

* refactor(ui): WIP improve flaky e2e test

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* test(e2e): refactor scraper tests
2019-08-15 17:04:06 -07:00
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
Christopher Henn 6d993a37c5 refactor(ui): migrate signin/signout to generated client 2019-08-09 16:11:04 -07:00
alexpaxton b5c8adfdaf
chore(ui): upgrade clockface to 0.0.24 (#14598) 2019-08-08 10:14:08 -07:00
Andrew Watkins 7d9ec64eec
build(client): generate client on each build (#14591)
* chore: add new types for NotiicationRules

* build(client): remove client and build each build

* chore: update gitignore to exclude generated client

* fix: allow client dir to be empty

* docs: add README to client dir

* fix(build): add autogen client to eslintignore

* build: gen client for ci js tests
2019-08-07 13:42:35 -07:00
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