* 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
* 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
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.
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.
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.
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.