Commit Graph

28794 Commits (29a4ab0d27df40b0d4c1634291de35b0e30621fc)

Author SHA1 Message Date
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
Mark Rushakoff 6c96643883 fix(task): pass task's authorization to query system, if using sessions
The query system specifically expects an Authorization. When a request
comes in using a Session, use the target task's Authorization, if we are
allowed to read it, when executing a query against the system bucket.
2019-02-22 15:47:22 -08:00
Michael Desa 5433b1462a feat(kv): make user owner of org/dashboard on create 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
Nathaniel Cook e3f430f463 fix(http): separate InfluxQL and Flux services
Previously the APIBackend understood only a ProxyQueryService,
but it needs to understand that there are two implementations of the
ProxyQueryService one for handling InfluxQL queries and one for handling
Flux queries. The names of the fields have been updated to make this
clear. As well as the FluxBackend is now initialized using the
FluxService explicitly.
2019-02-22 15:47:22 -08:00
Mark Rushakoff 609b1d32b6 fix(task): create authorizations for tasks, which can read their task
Also set the generated token's description while we're here.

This enables us to use task's Authorization when we need to query the
system bucket to get run logs, etc. but we only have a Session.
2019-02-22 15:47:22 -08:00
Lyon Hill 8d4827cae7 Allow tasks to skip catchup (#12068) 2019-02-22 15:47:22 -08:00
Mark Rushakoff 380cc2285c fix(swagger): quote keys named "y"
The YAML parser used by the go-openapi libraries treats an unquoted y as
a boolean key, which will lead to a difficult-to-understand parser
error:

types don't match expect map key string or int got: bool

See also https://yaml.org/type/bool.html.
2019-02-22 15:47:22 -08:00
Julius Volz 83ba3e9c22 Check error when writing token file during setup
Signed-off-by: Julius Volz <julius.volz@gmail.com>
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
Mark Rushakoff f79d9cba4f fix(task): pass task's authorization to query system, if using sessions
The query system specifically expects an Authorization. When a request
comes in using a Session, use the target task's Authorization, if we are
allowed to read it, when executing a query against the system bucket.
2019-02-22 12:50:55 -08:00
Michael Desa 17e318fd6d
Merge pull request #12116 from influxdata/feat/owner-on-create
Make user owner of org/dashboard on create
2019-02-22 14:27:33 -05:00
Michael Desa 65be548a58
feat(kv): make user owner of org/dashboard on create 2019-02-22 14:04:01 -05:00
Iris Scholten b9d5a7bec2
Merge pull request #12096 from influxdata/feat/clone-task-labels
feat(ui): Clone a task's labels when cloning the task
2019-02-22 10:14:10 -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
Nathaniel Cook a75adf6c4b fix(http): separate InfluxQL and Flux services
Previously the APIBackend understood only a ProxyQueryService,
but it needs to understand that there are two implementations of the
ProxyQueryService one for handling InfluxQL queries and one for handling
Flux queries. The names of the fields have been updated to make this
clear. As well as the FluxBackend is now initialized using the
FluxService explicitly.
2019-02-22 10:31:20 -07:00
Mark Rushakoff 12a604172f fix(task): create authorizations for tasks, which can read their task
Also set the generated token's description while we're here.

This enables us to use task's Authorization when we need to query the
system bucket to get run logs, etc. but we only have a Session.
2019-02-22 09:15:25 -08:00
Lyon Hill c78477314a
Allow tasks to skip catchup (#12068) 2019-02-22 09:47:04 -07:00
Mark Rushakoff 6fdcaf83b4 fix(swagger): quote keys named "y"
The YAML parser used by the go-openapi libraries treats an unquoted y as
a boolean key, which will lead to a difficult-to-understand parser
error:

types don't match expect map key string or int got: bool

See also https://yaml.org/type/bool.html.
2019-02-22 08:20:07 -08:00
Julius Volz e7a27243be Check error when writing token file during setup
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2019-02-22 09:08:41 -07: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
Russ Savage 8016599605
Updating changelog for alpha 4 2019-02-21 16:43:31 -08:00
Mark Rushakoff ecb37d7cc4 fix(task): restore functionality for creating task with org name
This is a partial rollback of changes #12004. Issue to track adding a
test: #12089.
2019-02-21 16:30:52 -08:00
Delmer bf34b35fb4
fix(ui/changelog): add labels changes to changelog v2.0.0-alpha.4 (#12084) 2019-02-21 18:39:56 -05: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