Commit Graph

6 Commits (23dbffd7e3320b7420c710e5eb6f9920d027f600)

Author SHA1 Message Date
Alex Boatwright f08152c77c
chore(ui): allow deployment configuration (#15383)
hopefully this commit doesnt do anything, but it opens up the ability to
change the static folder of the project through the environment variable
STATIC_FOLDER so that we can cache static files and not cache the index
file (allowing more passive deployment strategies), and allows the user
to change the base path of the project with the BASE_PATH variable,
opening up the ability to run an instance behind an nginx proxy,
though that change is pending an update to the @influxdata/oats package
before we can turn it on
2019-10-11 12:17:49 -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
Andrew Watkins 841f22cbee
build(webpack): fix hashing and css hmr (#14552) 2019-08-03 11:36:58 -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
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
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