* refactor(ui): extend url activator to check on deeper URLs
* refactor(ui): create load data nav and page components
* refactor(ui): update telegrafs, scrapers, and buckets to use load data nav
* refactor(ui): update side nav and router to expose load data tab
* chore(ui): update changelog
* refactor(ui): update link to telegrafs page from status page
* refactor(ui): fix broken routes
* refactor(ui): make settings page tabs consistent with load data tabs
* refactor(ui): appease the linter gods
* refactor(ui): attempt to fix e2e tests
* refactor(ui): replace instances of local confirmation button with clockface
* refactor(ui): delete local confirmation button
* refactor(ui): fix affected e2e tokens test
* refactor(resource-list): replace local labels resource list with Clockface resource list
* refactor(resource-list): replace local variables resource list with Clockface resource list
* refactor(resource-list): replace local collectors resource list with Clockface resource list
* refactor(resource-list): replace local scrapers resource list with Clockface resource list
* refactor(resource-list): replace local templates resource list with Clockface resource list
* refactor(resource-list): replace local static templates resource list with Clockface resource list
* refactor(resource-list): replace local members resource list with Clockface resource list
* refactor(resource-list): replace local buckets resource list with Clockface resource list
* refactor(resource-list): replace local tasks resource list with Clockface resource list
* refactor(resource-list): replace local dashboards resource list with Clockface resource list
* refactor(resource-list): replace local notification rule & check resource lists with Clockface resource lists
* Delete local resource list components
* test: update affected snapshot tests
* test(e2e): fix labels integration tests
* refactor: use router.push() instead of window.location.assign()
* 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
* # This is a combination of 2 commits.
# The first commit's message is:
added writeData command
# The 2nd commit message will be skipped:
# delinting
* added writeData command
* better junit reporting
removed chainable .only.
* starting onboarding test
* complete onboarding to quick start
* additional onboarding tests
* adding field requirements test
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
refactor add last data-testid replacements onb test
improving assert
* passing in additional data-testid values
troubleshoot tokens test
WIP tokens test - clean up after troubleshoot
WIP - tokens tests
updating testID in tokens test
* re-enable all current tokens tests
* starting labels test
* labels tests
* minor fix
minor fix
* cy.writeData chunked
* resynching onboarding.test.ts
* Move and rename components
* Break overlay into subcomponents
* Create empty state with link when no templates exist
* Break down template overlay components further
* Enable scrolling in overlay
Use custom UI instead of responsive grid
* Updoot changelog
* Fix e2e test
* Improve readability of code
* Import types from src/types instead of directly from client
* Import type from src/types instead of directly from client
* Do not display version of template in details panel
* WIP import types from src/types instead of directly from client
* Fix template types
* Update dashboards page to show dashboards from current org
* Remove org info from dashboard cards and table
* Remove unused action
* Update create labels to always create a label in the current org
* Fix closing veo route
* Stop skipping create and add label to dash test
* Allow nav menu items to be configurable
* Move highlighting logic outside of navbar component into container
* Refactor nav sub items to follow new pattern
* Update tests
* Fix e2e test
* Add className prop to all nav components
* Make nav menu items into PureComponents
* Make all nav defaultProps required
* Treat className & testID uniformly on both types of nav items
* Move nav activation getter to utils folder
* Fine tune keyboard shortcuts during inline label flow
* Update changelog
* Update label type in mocks
* WIP Add unit tests for inline label editing components
* WIP Add unit tests for inline interactions
* Write slightly more integrated test
* Just a couple more unit tests
* Add missing key to element in map
* Fix e2e tests
* Use client generated Label in dashboard actions
* Fetch labels when dashboards index loads
* Add styles for "colorless" labels
* Implement inline label editing from dashboard cards
* Fine tune label deletion
* Create createLabelAJAX function
Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>
* Make inline label creation work in dashboards index
Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>
* WIP use ILabel as the defacto label type
* Ensure a label can be updated without having to change the name
* Ensure all fields in a Label can be changed in the overlay
* WIP write e2e tests for inline labelling
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* wip: dashboard brittle
* wip dashboards
* Position inline labels popover such that it doesn't collide with the navbar
* chore: run all dashboard tests 25 times
* Ensure that there is a dashboard with a name that matches the search test query
* Appease the lint gods with mortal sacrifice
* Remove unit test in favor of e2e test
Everything the unit test is testing is also tested by the e2e test
Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>
* Remove for loop and fix search name assertion
Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Fix affected task test
Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Fix incorrectly named reference in e2e test
Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Undo go file change
* Add guard back in
* Undo changes to go file
* test(e2e/orgs): experimenting with org delete
* test(e2e/task): try delete test 1000 times
* reduce tests to 200
* test(task/e2e): wait for create and /org/delete
* test: visit tasks
* test(e2e/task): wait on task delete and get
* test(orgs/e2e): wait on get all orgs
* test(e2e): increase default command timeout to 10s
* visit tasks after create
* test(e2e/orgs): unskipping create and delete
* unskipping update org
* update org 200 times
Fixes an issue where the Data Explorer would issue an empty (invalid)
query upon first load.
Adds a test to catch similar regressions in the future, and refactors
e2e tests to use a `testID` for asserting that empty graph messages
exist.
Closes#12326
* Remove child type validation from context menu
* Guard against missing optional props
* Increase size of search widget
* Change tasks display to use Resource Cards
* Extend resource card to support optional toggle slot and disabled styles
* Add enabled toggle to task cards
* Ensure task save button returns user to proper location
* Fix broken test
* Update tests
* Make test wait
* Fix task renaming and update tests
* Ensure all e2e tasks tests are able to run
* Ensure disabled styles for nested cards
* Specify default functions for optional render props
* Oops
* test(e2e/de): shows an error if a syntactically incorrect query is submitted
* chore(task/e2e): remove .only call in task tests
* test(e2e/de): remove dynamic testid
* refactor(e2e): remove the need to create a source before signing in
* refactor(e2e): move setup user into signin function
* fix(orgs): make assertions after org creation
* chore: package.lock
* WIP Introduce Resource List component family
* Shrink padding of resource cards a bit
* Swap positions of meta information and labels in resource cards
* Introduce resource name component
* Polish resource name editing
* Remove child type validation from context component
* Styles for context menus inside resource cards
* Make resource name + meta line responsive
* Polish appearance of responsive resource description
* Replace dashboards list with dashboards cards
* Update e2e tests and add testID props to a bunch of components
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Make testID props consistent
Make all cypress tests have .test extension
Update E2E tests for dashboards index
Split off test for dashboards view
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Move cell test to dashboards view test
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Remove cells test from dashboards index test
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Fix dashboard view - cells e2e test
* Refactor meta1 and meta2 props into a single metadata prop that returns an array of elements
* Cleanup
* Fix and refactor e2e test to be less brittle
TSLint has been deprecated by its maintainers in favor of eslint.
This commit adds ESLint to our project with a config that is comparable
to our previous TSLint config.
ESLint provides a much more extensive set of linting rules; we may wish
to investigate enabling more of these rules in the future.
* feat(kv:inmem:bolt): implement user service in a kv
* refactor(kv): use consistent func receiver name
* feat(kv): add initial basic auth service
* refactor(passwords): move auth interface into own file
* refactor(passwords): rename basic auth files to passwords
* refactor(passwords): rename from BasicAuth to Passwords
* refactor(kv): copy bolt user test into kv
Co-authored-by: Michael Desa <mjdesa@gmail.com>
* feat(kv): add inmem testing to kv store
* fix(kv): remove extra user index initialization
* feat(kv): attempt at making errors nice
* fix(http): return not found error if filter is invalid
* fix(http): s/platform/influxdb/ for user service
* fix(http): s/platform/influxdb/ for user service
* feat(kv): initial port of telegraf configs to kv
* feat(kv): first pass at migrating bolt org service to kv
* feat(kv): first pass at bucket service
* feat(kv): first pass at migrating kvlog to kv package
* feat(kv): add resource op logs
* feat(kv): first pass at user resource mapping migration
* feat(kv): add urm usage to bucket and org services
* feat(kv): first pass at kv authz service
* feat(kv): add cascading auth delete for users
* feat(kv): first pass d authorizer.OrganizationService in kv
* feat(cmd/influxd/launcher): user kv services where appropriate
* fix(kv): initialize authorizations
* fix(influxdb): use same buckets while slowly migrating stuff
* fix(kv): make staticcheck pass
* feat(kv): add dashboards to kv
review: make suggestions from pr review
fix: use common bucket names for bolt/kv stores
* test(kv): add complete password test coverage
* chore(kv): fixes for staticcheck
* feat(kv): implement labels generically on kv
* feat(kv): implement macro service
* feat(kv): add source service
* feat(kv): add session service
* feat(kv): add kv secret service
* refactor(kv): update telegraf and urm with error messages
* feat(kv): add lookup service
* feat(kv): add kv onboarding service
* refactor(kv): update telegraf to avoid repetition
* feat(cmd/influxd): use kv lookup service
* feat(kv): add telegraf to lookup service
* feat(cmd/influxd): use kv telegraf service
* feat(kv): initial port of scrapers in bolt to kv
* feat(kv): update scraper error messaging
* feat(cmd/influxd): add kv scraper
* feat(kv): add inmem backend tests
* refactor(kv): copy paste errors
* refactor(kv): add code to password errors
* fix(testing): update error messages for incorrect passwords
* feat(kv:inmem:bolt): implement user service in a kv
* refactor(kv): use consistent func receiver name
* refactor(kv): copy bolt user test into kv
Co-authored-by: Michael Desa <mjdesa@gmail.com>
* feat(kv): add inmem testing to kv store
* fix(kv): remove extra user index initialization
* feat(kv): attempt at making errors nice
* fix(http): return not found error if filter is invalid
* fix(http): s/platform/influxdb/ for user service
* feat(kv): first pass at migrating bolt org service to kv
* feat(kv): first pass at bucket service
* feat(kv): first pass at migrating kvlog to kv package
* feat(kv): add resource op logs
* feat(kv): first pass at user resource mapping migration
* feat(kv): add urm usage to bucket and org services
* feat(kv): first pass at kv authz service
* feat(kv): add cascading auth delete for users
* feat(kv): first pass d authorizer.OrganizationService in kv
* feat(cmd/influxd/launcher): user kv services where appropriate
* feat(kv): add initial basic auth service
* refactor(passwords): move auth interface into own file
* refactor(passwords): rename basic auth files to passwords
* fix(http): s/platform/influxdb/ for user service
* fix(kv): initialize authorizations
* fix(influxdb): use same buckets while slowly migrating stuff
* fix(kv): make staticcheck pass
* feat(kv): add dashboards to kv
review: make suggestions from pr review
fix: use common bucket names for bolt/kv stores
* feat(kv): implement labels generically on kv
* refactor(passwords): rename from BasicAuth to Passwords
* test(kv): add complete password test coverage
* chore(kv): fixes for staticcheck
* feat(kv): implement macro service
* feat(kv): add source service
* feat(kv): add session service
* feat(kv): initial port of telegraf configs to kv
* feat(kv): initial port of scrapers in bolt to kv
* feat(kv): add kv secret service
* refactor(kv): update telegraf and urm with error messages
* feat(kv): add lookup service
* feat(kv): add kv onboarding service
* refactor(kv): update telegraf to avoid repetition
* feat(cmd/influxd): use kv lookup service
* feat(kv): add telegraf to lookup service
* feat(cmd/influxd): use kv telegraf service
* feat(kv): update scraper error messaging
* feat(cmd/influxd): add kv scraper
* feat(kv): add inmem backend tests
* refactor(kv): copy paste errors
* refactor(kv): add code to password errors
* fix(testing): update error messages for incorrect passwords
* feat(http): initial support for flushing all key/values from kv store
* feat(kv): rename macro to variable
* feat(cmd/influxd/launcher): user kv services where appropriate
* refactor(passwords): rename from BasicAuth to Passwords
* feat(kv): implement macro service
* test(ui): introduce cypress
* test(ui): introduce first typescript test
* test(ui/e2e): add ci job
* chore: update gitignore to ignore test outputs
* feat(inmem): in memory influxdb
* test(e2e): adding pinger that checks if influxdb is alive
* hackathon
* hack
* hack
* hack
* hack
* Revert "feat(inmem): in memory influxdb"
This reverts commit 30ddf032003e704643b07ce80df61c3299ea7295.
* hack
* hack
* hack
* hack
* hack
* hack
* hack
* hack
* hack
* hack
* hack
* hack
* hack
* chore: lint ignore node_modules
* hack
* hack
* hack
* add user and flush
* hack
* remove unused vars
* hack
* hack
* ci(circle): prefix e2e artifacts
* change test to testid
* update cypress
* moar testid
* fix npm warnings
* remove absolte path
* chore(ci): remove /home/circleci proto mkdir hack
* wip: crud resources e2e
* fix(inmem): use inmem kv store services
* test(dashboard): add first dashboard crud tests
* hack
* undo hack
* fix: use response from setup for orgID
* chore: wip
* add convenience getByTitle function
* test(e2e): ui can create orgs
* test(e2e): add test for org deletion and update
* test(e2e): introduce task creation test
* test(e2e): create and update of buckets on org view
* chore: move types to declaration file
* chore: use route fixture in dashboard tests
* chore(ci): hack back
* test(ui): update snapshots
* chore: package-lock
* chore: remove macros
* fix: launcher rebase issues
* fix: compile errors
* fix: compile errors
* feat(cmd/influxdb): add explicit testing, asset-path, and store flags
Co-authored-by: Andrew Watkins <watts@influxdb.com>
* fix(cmd/influxd): set default HTTP handler and flags
Co-authored-by: Andrew Watkins <watts@influxdb.com>
* build(Makefile): add run-e2e and PHONY
* feat(kv:inmem:bolt): implement user service in a kv
* refactor(kv): use consistent func receiver name
* feat(kv): add initial basic auth service
* refactor(passwords): move auth interface into own file
* refactor(passwords): rename basic auth files to passwords
* refactor(passwords): rename from BasicAuth to Passwords
* refactor(kv): copy bolt user test into kv
Co-authored-by: Michael Desa <mjdesa@gmail.com>
* feat(kv): add inmem testing to kv store
* fix(kv): remove extra user index initialization
* feat(kv): attempt at making errors nice
* fix(http): return not found error if filter is invalid
* fix(http): s/platform/influxdb/ for user service
* fix(http): s/platform/influxdb/ for user service
* feat(kv): initial port of telegraf configs to kv
* feat(kv): initial port of scrapers in bolt to kv
* feat(kv): first pass at migrating bolt org service to kv
* feat(kv): first pass at bucket service
* feat(kv): first pass at migrating kvlog to kv package
* feat(kv): add resource op logs
* feat(kv): first pass at user resource mapping migration
* feat(kv): add urm usage to bucket and org services
* feat(kv): first pass at kv authz service
* feat(kv): add cascading auth delete for users
* feat(kv): first pass d authorizer.OrganizationService in kv
* feat(cmd/influxd/launcher): user kv services where appropriate
* fix(kv): initialize authorizations
* fix(influxdb): use same buckets while slowly migrating stuff
* fix(kv): make staticcheck pass
* feat(kv): add dashboards to kv
review: make suggestions from pr review
fix: use common bucket names for bolt/kv stores
* test(kv): add complete password test coverage
* chore(kv): fixes for staticcheck
* feat(kv): implement labels generically on kv
* feat(kv): implement macro service
* feat(kv): add source service
* feat(kv): add session service
* feat(kv): add kv secret service
* refactor(kv): update telegraf and urm with error messages
* feat(kv): add lookup service
* feat(kv): add kv onboarding service
* refactor(kv): update telegraf to avoid repetition
* feat(cmd/influxd): use kv lookup service
* feat(kv): add telegraf to lookup service
* feat(cmd/influxd): use kv telegraf service
* feat(kv): update scraper error messaging
* feat(cmd/influxd): add kv scraper
* feat(kv): add inmem backend tests
* refactor(kv): copy paste errors
* refactor(kv): add code to password errors
* fix(testing): update error messages for incorrect passwords
* feat(kv): rename macro to variable
* refactor(kv): auth/bucket/org/user unique checks return errors now
* feat(inmem): add way to get all bucket names from store
* feat(inmem): Buckets to return slice of bytes rather than strings
* feat(inmem): add locks around Buckets to avoid races
* feat(cmd/influx): check for unauthorized error in wrapCheckSetup
* chore(e2e): add video and screenshot artifcats to gitignore
* docs(ci): add build instructions for e2e tests
* feat(kv): add id lookup for authorized resources