Commit Graph

887 Commits (30759b110fe1faf045a034836d08267a0e794956)

Author SHA1 Message Date
Brandon Farmer 30759b110f Remove CreateOrUpdateConfig 2019-02-26 09:54:32 -08:00
Brandon Farmer 5bf2b04849 Create telegraf config on create step 2019-02-26 09:25:04 -08:00
Palakp41 5982a075c3
Merge pull request #12169 from influxdata/fix/scraper-filtering
Add filtering to scrapers tab on org
2019-02-26 09:20:19 -08:00
Christopher Henn 0d774cecb0 Let Plot components size themselves 2019-02-26 09:07:40 -08:00
alexpaxton 6e1ee40f45
Introduce ResourceList components and implement on Dashboards index (#12166)
* 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
2019-02-25 17:41:18 -08:00
Palak Bhojani 2d701d25ef Add filtering to scrapers tab on org 2019-02-25 16:06:57 -08:00
Andrew Watkins 169a798081
chore: remove sources from ui (#12164)
* chore: remove sources from TimeSeries component

* chore: remove sources from ui
2019-02-25 15:35:30 -08:00
Palak Bhojani 0be45c1a13 Update the loading state to redux 2019-02-25 13:45:16 -08:00
Palak Bhojani 274f79f401 Update tasks runs to use the api instead of dummy data 2019-02-25 13:45:16 -08:00
Lorenzo Affetti cf81141689
fix(e2e-tests): make task use default bucket from user fixture (#12139)
* fix(e2e-tests): make task use default bucket from user fixture

* fix(query_test): update pre-auth test now that from is bucket aware
2019-02-25 12:38:04 +01:00
alexpaxton 29a4ab0d27
Misc. UI Polish (#12115)
* Increase size of download button in config overlay

* Make button copy match overlay title

* Open overlay on name click instead of button

* Add missing blank header cell

* Fix highlighting of buckets tab

* Cleanup tasks header

* Fix org creation overlay

Also having fun with randomized error messages

* Fix empty state of variables page

* Remove unused functions

* Cleanup

* Update snapshot
2019-02-22 16:48:08 -08:00
Christopher Henn e1e1433386 Add UI for setting histogram x axis label 2019-02-22 16:45:56 -08:00
Christopher Henn 27da16305e Add support for axis labels in plots 2019-02-22 16:45:56 -08:00
Christopher Henn b073c84b7e Fix issue rendering undefined points in Histogram 2019-02-22 16:45:56 -08:00
Alirie Gray 2aef8e8eef
Merge pull request #12129 from influxdata/tests(variables)/e2e-testing-creation
test(variables): add tests for creation
2019-02-22 15:52:56 -08:00
Alirie Gray 874f484ced test(variables): add tests for creation 2019-02-22 15:47:22 -08:00
Daniel Campbell 351a718980 date picker styles (#12126)
* date picker styles

* get lint
2019-02-22 15:47:22 -08:00
Christopher Henn b3f6669184 Refactor vis table shape and types 2019-02-22 15:47:22 -08:00
Christopher Henn dff331667e Rename layer "aesthetics" to "mappings" 2019-02-22 15:47:22 -08:00
Alirie Gray 385c0ae4d1 Add menu for Variables to Time Machine script editor 2019-02-22 15:47:22 -08:00
Iris Scholten 916d17a273 feat(ui): Clone a task's labels when cloning the task
Move task cloning logic to external client library
2019-02-22 15:47:22 -08:00
Daniel Campbell 9bad05e017
date picker styles (#12126)
* date picker styles

* get lint
2019-02-22 15:23:17 -08:00
Christopher Henn 5d8b217f66 Refactor vis table shape and types 2019-02-22 15:02:06 -08:00
Christopher Henn e92ec5d3f1 Rename layer "aesthetics" to "mappings" 2019-02-22 15:02:06 -08:00
Alirie Gray a8a99e276f
Merge pull request #12088 from influxdata/feat(variables)/display-variables-in-script-editor
Add menu for Variables to Time Machine script editor
2019-02-22 13:45:59 -08:00
Alirie Gray 3ed16ebe83 Add menu for Variables to Time Machine script editor 2019-02-22 13:37:27 -08:00
Iris Scholten ed39dc5e46 feat(ui): Clone a task's labels when cloning the task
Move task cloning logic to external client library
2019-02-22 09:53:36 -08:00
Andrew Watkins a36df9e54e chore: add test prefix to task test 2019-02-21 17:38:57 -08:00
Andrew Watkins 3ce1078e04 chore(task): unskip task e2e 2019-02-21 17:38:11 -08:00
Andrew Watkins cc60a4df1d test(tasks): skip e2e 2019-02-21 17:33:58 -08:00
Andrew Watkins 08d092dafd chore: change cypress npm run script 2019-02-21 17:33:58 -08:00
Andrew Watkins ee518c5520 chore: lint fix 2019-02-21 17:33:58 -08:00
Andrew Watkins 6e2a9b14d4 test(ts): update snapshots 2019-02-21 17:33:58 -08:00
Alirie Gray e81a7bf5d8 test(tasks): add test for deleting a task 2019-02-21 17:33:58 -08:00
Alirie Gray 7fc8ca928d test(tasks): add test for task without valid script 2019-02-21 17:33:58 -08:00
Alirie Gray ef86778bce test(buckets): rename buckets test file 2019-02-21 17:33:58 -08:00
Alirie Gray 771a7969de test(buckets): use aliases for bucket object 2019-02-21 17:33:58 -08:00
Andrew Watkins c76fd8ffba fix(jest): improperly mocked client call 2019-02-21 17:33:58 -08:00
Andrew Watkins cb3f2e7644 chore(jest): fix deprecations warning 2019-02-21 17:33:58 -08:00
Andrew Watkins df1a5e9450 test(e2e): use alisas instead of variables 2019-02-21 17:33:58 -08:00
alexpaxton 80ebf933aa
Polish Inline Label Creation (#12070)
* Condense appearance of inline create label form

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Fine tune copy and click outside behavior

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Show label color error color when invalid hex

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Shrink width of random label color button

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Add full color palette to list of random label colors

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* fix(ui/prettier-errors): fix ui prettier errors

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-02-21 15:29:06 -08:00
Christopher Henn c664e8e0d8 Fix query bug resulting from missing org ID
The `/api/v2/query` endpoint requires an organization or organizationID
query parameter.

Previously, there existed a bug in the API where if the organization
parameters were left off, the API would use the first organization
created in the backend, rather than returning a 400 error.

We built the entire UI on top of this bug, but it has now been fixed. So
in every location where we use the `/api/v2/query` endpoint, we need to
supply an organization.

This commit updates all such locations to use the first organization
present in our Redux store as the organization parameter, thus roughly
reproducing the behavior of the load bearing bug.

This is just a quick fix. Long term, we will want to think about what
organization queries should run under and build an appropriate UI around
that design.
2019-02-21 15:22:24 -08:00
Iris Scholten 86147c2808 update to use org name to create task 2019-02-21 14:52:26 -08:00
Christopher Henn a499a8b0d9 Enable adding a description to a telegraf config 2019-02-21 14:06:04 -08:00
Palakp41 4407be10a6
Merge pull request #12072 from influxdata/fix/admin-step-notify
Update admin to show error if password is not 8 characters
2019-02-21 13:40:42 -08:00
Palak Bhojani a893e7fe1b Update admin to show error if password is not 8 characters 2019-02-21 13:30:54 -08:00
Deniz Kusefoglu 6135498c46 Place imports and exports behind feature flag 2019-02-21 13:00:24 -08:00
Delmer a8bdc9c9ab fix(ui/resourceLabelForm): fix ResourceLabelForm invalid default form state (#12057) 2019-02-21 10:48:16 -08:00
alexpaxton 09b5e24e63
Cleanup (#12061) 2019-02-21 10:38:50 -08:00
Delmer 50e9ca6a54
fix(ui/FilterList): add filtering on labels (#12018)
fix(ui/FilterList): add tests for FilterList and support for inexact searchKeys

Co-authored-by: Andrew Watkins <watts@influxdb.com>
2019-02-21 08:12:43 -05:00