* feat(ui): Add a cloud feature flag and prevent scrapers from showing up in cloud
* fix(ui): Update constant to be more readable
Co-Authored-By: ischolten <ischolten.is@gmail.com>
It is possible a StreamReader (gRPC) may return an empty response. This
change adds retry and bail-out support. When a bail-out occurs,
reads.ErrStreamNoData is returned.
StorageReadClient adapts a gRPC Storage_ReadClient to provide
cursors.CursorStats by reading the trailer after receiving the final
message from the stream.
* refactor: make get labels generic
* wip: list all buckets on configuration page
* feat: get buckets from redux
* feat: add create buckets to configuration page
* feat(ui/buckets): add update to config page
* feat(buckets/ui): delete buckets from config page
* fix: tsc error
* chore: update snapshots
* First pass at component family for handling inline label editing
* Simplify util for checking if a label has a unique name
* Update new components to use Label type from client
* Add return type to helper function
* Remove excess camel casing
* Incorporate create label overlay into inline labels component
* Simplify reducer
* Use common OverlayState instead of local
* Guard against missing arg in label name validation
Removes the unused `type` and `sourceID` fields from a `DashboardQuery`.
Derives the `manuallyEdited` bool for the active time machine query from
existing state rather than explicitly tracking it.
Removes vestigial support for editing queries as InfluxQL.
Removes the unused `LogViewer` view type.
Closes#12266
Co-authored-by: Mark Rushakoff <mark@influxdata.com>
Tasks instantiates the query service but does not know the token
it will use ahead of time. This allows the token to be optionally
set on contex.
Fixes an issue where the Data Explorer would issue an empty (invalid)
query upon first load.
Adds a test to catch similar regressions in the future, and refactors
e2e tests to use a `testID` for asserting that empty graph messages
exist.
Closes#12326
The previous "." argument with "-ignore go" accidentally matched
README.md and Makefile too, neither of which we care to actually include
as assets.
Now we just explicitly include swagger.yml. It's simple enough to add
another file to the go:generate line if and when we need it.
In the platform adapter, we ask the URM for a list of tasks the user
owns, and then we look up each task individually.
The task service tests uncovered a legitimate bug where FindTasks would
return a "task not found" error, originating from looking up a task that
was present when we interrogated the URM but was deleted before we could
find it in the task store.
This change also removes duplicated URM logic from the HTTP handler
which has since been pushed down into the platform adapter.
* Remove child type validation from context menu
* Guard against missing optional props
* Increase size of search widget
* Change tasks display to use Resource Cards
* Extend resource card to support optional toggle slot and disabled styles
* Add enabled toggle to task cards
* Ensure task save button returns user to proper location
* Fix broken test
* Update tests
* Make test wait
* Fix task renaming and update tests
* Ensure all e2e tasks tests are able to run
* Ensure disabled styles for nested cards
* Specify default functions for optional render props
* Oops