Commit Graph

23 Commits (d05a79d13d939d36281cb0c53a3873e908eb6884)

Author SHA1 Message Date
alexpaxton ebf41ec351
feat(ui): new load data page (#19351)
* Revert "Revert "feat(ui): redesign load data page (#19246)" (#19336)"

This reverts commit 0111f024d5.

* fix: guard against no tokens or buckets

* fix: typo

* refactor: name sources page titles properly

* fix: avoid referencing image asset inline
2020-08-18 11:17:36 -07:00
alexpaxton 0111f024d5
Revert "feat(ui): redesign load data page (#19246)" (#19336)
This reverts commit 67857f25ae.
2020-08-14 17:27:56 -07:00
alexpaxton 67857f25ae
feat(ui): redesign load data page (#19246)
* refactor: rename client libraries from overlay to page

* refactor: remove client libraries from load data nav

* refactor: remove client libraries from main nav

* refactor: convert client library overlays to pages

* feat: create Write Data and related sub-pages

* fix: assing proper component to route

* refactor: separate sections of write data page into own files

* refactor: implement telegraf plugins pages

* refactor: rename components to match filenames

* refactor: organize client libraries within writeData folder

* fix: cleanup loose ends from moving files around

* refactor: move client lib graphics into write data section

* fix: correct import path

* fix: import path

* feat: enable importing of markdown files

* feat: use markdown source for example telegraf plugin

* feat: convert Arduino page to use markdown

* fix: properly type svg and markdown imports

* feat: replace react component images with regular images

* feat: add placeholder image for items without images

* fix: cleanup

* feat: start standardizing pages for write data views

* refactor: use params instead making a component for each page

* refactor: make client libraries pages all markdown and use template

* refactor: cleanup

* refactor: move templates out of folder

* refactor: style details view

* feat(ui): add activemq, aerospike, and bcache

* feat(writeData): load up all the telegraf inputs

* feat: add telegraf explainer to telegraf plugins pages

* refactor: make card grid more compact

* refactor: polish

* feat(write): adding logos

* fix(writeData): more logos

* refactor: make CopyButton more customizable

* refactor: add real content to telegraf plugin explainer

* refactor: polish thumbnail appearance

* refactor: make index views scrollable

* feat(write): alphabetize & more logos

* refactor: increase width of token overlay

* refactor: add description to telegraf section

* feat: wrap each section in feature flags

* refactor: WIP helper widgets for details pages

* feat(writeData): add more logos

* feat(writeData): update Plugin names, readmes, add logos

* feat(write): final batch of logos

* feat(write): readme updates

* feat(write): adding proxmox

* refactor: add tabbed navigation back to browse page

* refactor: make code snippets templatized

* fix: replace untemplatized URL key in arduino markdown

* refactor: cleanup

* refactor: rename "browse" to "sources"

* refactor: rename feature flags to match page names

* refactor: make sort case insensitive

* refactor: make code sample helper only appear in client libraries pages

* fix: remove image padding from client library logos

* fix: select first user bucket instead of first any bucket

* fix: make less legible logos more legible

* refactor: make search field autofocus

* fix: linter error

* fix: case sensitive file import

* fix: remove empty prop definitions

* fix: more case sensitive imports

* refactor: remove use of lodash

* fix(writeData): update kapa & tele logos; rename internal plugin

* fix: repair broken explorer test

* fix: rework client libs e2e tests to match new design

* refactor: rename e2e test appropriately

* refactor: rewrite data sources e2e to assert proper rendering of the details views

* feat: add GA tracking of code snippet copy event

* chore: changelog update

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-08-14 14:00:01 -07:00
alexpaxton 139aa40988
feat(notebooks): add empty state (#18256)
* feat: add empty pipe list component + graphic

* feat: display empty state when no pipes exist

* feat: display label text next to add cell buttons

* fix: use preferred import path

* feat: create and use webpack alias "assets" for loading images
2020-05-27 16:14:37 -07:00
Brandon Farmer 7dd2ea9b09 chore: update flux parser
- better error handling
- updated language specs
2020-05-14 13:28:22 -07:00
Brandon Farmer a5255b748c feat: add flux editor errors 2020-03-18 18:27:57 -07:00
Alex Boatwright 31cfbde380
feat: upgrading lsp to 0.3.0 (#17043) 2020-03-02 09:38:30 -08:00
Alex Boatwright 4eb64deff6
chore: cleaning (#16915) 2020-02-20 09:58:56 -08:00
Deniz Kusefoglu 38e014ee90
feat(lsp): Add lsp wasm and connect to monaco (#16842)
* feat(lsp): Add flux-lsp-browswer dependency

* feat(lsp): Change webpack settings to compile lsp wasm

* feat(lsp): Add monaco lsp client dep

* feat:lsp instantiate lsp server in monaco editor file

* feat(lsp): Update monaco loaders and load in webpack.common

* feat(lsp): Update flux-lsp-browser dependency

* feat(lsp): Connect monaco to lsp server

* feat(lsp): Add trigger characters

* feat(lsp): Dispose of completion item provider

* feat(lsp): Remove javascript and go as monaco languages

* feat(lsp): Fix type errors in tests

* feat(lsp): Define constants file for fluxlangid

* feat(lsp): Remove console

* feat(lsp): Fix variable and function insertion

* feat(lsp): Fix script entering in DE

* feat(lsp): FIx task tests

* feat(lsp): Add monaco as global

* feat(lsp): Add monaco to window type
2020-02-14 09:59:05 -08:00
Alex Boatwright b6d1cc6dd0
feat: remove vendor from prod builds (#16807) 2020-02-11 07:58:29 -08:00
Ariel Salem b62f29431f
fix(ui): updated webpack to account for different wasm files (#16194)
fix(ui): updated webpack to account for different wasm files
2019-12-11 08:57:22 -08:00
Alex Boatwright 7e8c8004ae
feat(ui): monaco syntax (#16003) 2019-11-22 10:13:52 -08:00
Alex Boatwright 0dbaf4af43
feat(ui): lazy load monaco in runtime (#15978) 2019-11-21 15:28:02 -08:00
Alex Boatwright a1cecbf56a
fix(ui): make a more deterministic build (#15820) 2019-11-11 14:05:48 -08:00
Deniz Kusefoglu da5f157a63
Add monaco editor and react wrapper (#15751)
* Add initial react-monaco-editor

* Add flux language options to monaco

* feat: only including vendor libraries when the module is used

* chore: clean up after thineself
2019-11-05 10:38:25 -07:00
Bucky Schwarz 2498011387 fix(ui): add fixed TextArea from clockface 2019-10-29 13:57:11 -07:00
Alex Boatwright 997331d77b
feat(ui): adding a basepath (#15461)
allowing better webpack configuration freedom to better match infrastructure
2019-10-24 13:57:25 -07:00
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