Commit Graph

853 Commits (2f9abd0e20511a58faa5fce8cf1ffb3205346720)

Author SHA1 Message Date
Palak Bhojani 2f9abd0e20 test(collectors) Test telegraf config creation on collectors tab 2019-02-28 13:27:58 -08:00
Palak Bhojani ae2336c8bf test(scrapers): update a scraper name 2019-02-28 10:44:14 -08:00
Deniz Kusefoglu 86278b653e Add backslash to org routes 2019-02-28 01:07:27 -08:00
Palakp41 9c33541275
Merge pull request #12237 from influxdata/tests/scrapers-creation
test(scrapers): add test for creating scrapers
2019-02-27 16:23:48 -08:00
Delmer 5d08857a06
fix(ui/types/v2/tasks): consolidate task types (#12240) 2019-02-27 19:20:41 -05:00
Palak Bhojani 3ee2599744 test(scrapers): add test for creating scrapers 2019-02-27 15:59:55 -08:00
Andrew Watkins 21aec22b5d
test(e2e/de): shows an error syntactically incorrect query is submitted (#12221)
* 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
2019-02-27 14:17:15 -08:00
Palakp41 a4355c817a
Merge pull request #12216 from influxdata/feat/tasks-runs-logs
Update logs to use api call instead of dummy data
2019-02-27 13:25:26 -08:00
Palakp41 b3cb157d56
Merge pull request #12222 from influxdata/chore/notification-telegrafs-org
Update telegraf to display notifications for update/delete
2019-02-27 13:11:14 -08:00
Palak Bhojani f200db59fb Update telegraf to display notifications for update/delete 2019-02-27 13:01:39 -08:00
Christopher Henn 5d16145b55 Centralize variables state in Redux store 2019-02-27 12:47:45 -08:00
Palak Bhojani 9de809b4ad Update logs to use api call instead of dummy data 2019-02-27 11:25:40 -08:00
Delmer 5a63037e76
feat(ui/labels/click): add searchTerm updating for label clicks (#12111) 2019-02-27 14:21:21 -05:00
Brandon Farmer e09253e461 Show confirmation modal only if script changed
In time machine only show a confirmation modal if the script is
different that the builder
2019-02-26 16:34:15 -08:00
Christopher Henn 2f0dd58737 Add e2e test for dis/enabled DE submit button
Closes #12191
2019-02-26 10:45:51 -08:00
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
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 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
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
Andrew Watkins c76fd8ffba fix(jest): improperly mocked client call 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
Delmer 263170dc45
fix(ui): add label from resource labels editor (#11973)
Add ResourceLabelForm to EditLabelsOverlay and RandomLabelColorButton

Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2019-02-21 08:09:21 -05:00
Christopher Henn 9f23a88ff6 Fix type errors from upgrading past TypeScript 3.2 2019-02-20 18:15:09 -08:00