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