influxdb/ui
alexpaxton d2bd4b76d9
Inline Label Editing from Dashboards Index (#12384)
* 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
2019-03-08 09:11:30 -08:00
..
assets/images Update final onboarding step to offer next step options to the user (#11145) 2019-01-16 12:16:56 -08:00
cypress Inline Label Editing from Dashboards Index (#12384) 2019-03-08 09:11:30 -08:00
mocks fix(tasks): replace organization on tasks with org name string 2019-03-05 14:43:50 -08:00
src Inline Label Editing from Dashboards Index (#12384) 2019-03-08 09:11:30 -08:00
.browserslistrc chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
.eslintrc.json Migrate from TSLint to ESLint 2019-02-20 18:15:09 -08:00
.npmrc Make npm less noisy 2019-02-20 18:15:09 -08:00
.prettierrc.json Migrate from TSLint to ESLint 2019-02-20 18:15:09 -08:00
Makefile feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
README.md Remove yarn in favor of just npm 2018-11-30 17:02:31 -08:00
cypress.json test(e2e/orgs): strengthen org delete test 2019-03-06 16:35:30 -08:00
index.d.ts chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
jestSetup.ts test(ui): component integration testing w/ mock redux store (#11577) 2019-01-25 14:08:57 -08:00
package-lock.json fix(ui): Update client library dependency to fix duplicating labels on task import 2019-03-07 16:39:00 -08:00
package.json fix(ui): Update client library dependency to fix duplicating labels on task import 2019-03-07 16:39:00 -08:00
testSetup.ts chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
tsconfig.json feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00

README.md

Packages

Adding new packages

To add a new package, run

npm i packageName

Adding devDependency

npm i packageName -D

Updating a package

First, run

npm outdated

... to determine which packages may need upgrading.

We really should not upgrade all packages at once, but, one at a time and make darn sure to test.

To upgrade a single package named packageName:

npm upgrade packageName

Testing

Tests can be run via command line with npm test, from within the /ui directory. For more detailed reporting, use yarn test -- --reporters=verbose.