Commit Graph

119 Commits (b58daa3b802d595925e09796d4bed32a009294f2)

Author SHA1 Message Date
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
alexpaxton cb70b8eacb
Make Fancy Scrollbars Fancier (#11661)
* WIP

* Goodbye yarn

* Use latest scrollbar package

* Use default colors

* Expose custom thumb color props

* Use latest package

* Remove unused package

* Update test snapshots

* Organize exernal styles into separate section
2019-02-04 13:01:32 -08:00
Christopher Henn 759891e37f Add ability to create notes on a dashboard 2018-11-29 16:41:40 -08:00
Christopher Henn 7991dcfd55 Delete unused code and reorganize modules
Deletes unused and outdated code, including and AST walker for Flux
queries and various Flux metaquery utilites.

Also moves the remaining modules in `src/flux` to somewhere under
`src/shared`. The `src/flux` directory was a vestige of a time when the
Flux related portions of Chronograf were contained to a single page, but
now these modules are used everywhere.
2018-11-06 16:36:02 -08:00
Michael Desa b9f70b7bec chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00