Skip to content

Commit

Permalink
DOCS-2182: Update filtering UI (#2855)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Apr 30, 2024
1 parent 7088735 commit 72dd243
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/data/dataset.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To manage your data you can use labels and datasets.

To label data, go to the [**DATA** tab](https://app.viam.com/data/view) in the Viam app.

On the **Images** subtab, you can filter available images, using the **Filtering** menu and select the attributes that match where, how, and when the data was collected.
On the **Images** subtab, you can filter available images, using the **Filters** menu and select the attributes that match where, how, and when the data was collected.

{{< alert title="Info" color="info" >}}
Filtered datasets are views and not materialized.
Expand Down Expand Up @@ -53,7 +53,7 @@ If you want to expand the image, click on the expand side menu arrow in the corn
{{<gif webm_src="/data/label-dog-big.webm" mp4_src="/data/label-dog-big.mp4" alt="Add a bounding box around the dog in an image in a big menu">}}

Repeat this with all images in your dataset.
To see all the images that have bounding boxes, you can filter your dataset by selecting the label from the **Bounding box labels** dropdown in the **Filtering** menu.
To see all the images that have bounding boxes, you can filter your dataset by selecting the label from the **Bounding box labels** dropdown in the **Filters** menu.

To delete a bounding box, click the cross next to the corresponding label.

Expand Down
2 changes: 1 addition & 1 deletion docs/data/export.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To export your synced data using the Viam CLI, first [install the Viam CLI](/fle
Then, to export data from the data management service in the cloud:

1. Navigate to the [**DATA** page in the Viam app](https://app.viam.com/data/view).
2. Below the **SEARCH** button in the **Filtering** panel, click **Copy Export Command** to copy the export command to the clipboard.
2. Below the **SEARCH** button in the **Filters** panel, click **Copy Export Command** to copy the export command to the clipboard.

![The 'copy export command' button from the Viam app.](/data/copy_command.png)

Expand Down
4 changes: 2 additions & 2 deletions docs/data/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ If you click on an image or a file, a **Details** panel appears on the right wit

## Filter data

On the [**DATA** page in the Viam app](https://app.viam.com/data/view), you can filter data in the left **Filtering** panel.
On the [**DATA** page in the Viam app](https://app.viam.com/data/view), you can filter data in the left **Filters** panel.
You can filter by several categories including machine name, location, or timestamp range.

For example, if you specify `Rover Rental` for location and click **SEARCH**, you can see all data captured on machines that belong to your `Rover Rental` location.
For example, if you specify `Rover Rental` for location and click **Apply**, you can see all data captured on machines that belong to your `Rover Rental` location.

{{< alert title="Tip" color="tip" >}}

Expand Down
4 changes: 2 additions & 2 deletions docs/fleet/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ viam data dataset add filter --dataset-id=abc --org-ids=123 --start=2023-01-01T0
To find the dataset id of a given dataset, go to the [**Datasets** subtab](https://app.viam.com/data/datasets) under the **Data** tab on the Viam app and select a dataset.
The dataset id can be found in the URL of the Viam app window when viewing a given dataset, following the `?id=` portion of the URL, resembling `abcdef1234567890abcdef12`.

You can also have the filter parameters generated for you using the **Filtering** pane of the **Data** tab.
Navigate to the [**Data** tab in the Viam app](https://app.viam.com/data/view), make your selections from the search parameters under the **Filtering** pane (such as robot name, start and end time, or tags), and click the **Copy export command** button.
You can also have the filter parameters generated for you using the **Filters** pane of the **Data** tab.
Navigate to the [**Data** tab in the Viam app](https://app.viam.com/data/view), make your selections from the search parameters under the **Filters** pane (such as robot name, start and end time, or tags), and click the **Copy export command** button.
A `viam data export` command string will be copied to your clipboard that includes the search parameters you selected.
You can use the same filter parameters (such as `--start`, `--end`, etc) with your `viam data database add filter` or `viam data database remove filter` commands, except you would exclude the `--data-type` and `--destination` flags, which are specific to `viam data export`.

Expand Down
2 changes: 1 addition & 1 deletion docs/use-cases/image-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Once you have synced images, you can [view those images in the Viam app](/data/v
{{<imgproc src="/ml/configure.svg" class="fill alignleft" style="max-width: 150px" declaredimensions=true alt="Train models">}}
**5. Filter data by common search criteria**

You can [filter synced images in the Viam app](/data/view/#filter-data) using the **Filtering** menu under the **Data** tab in the Viam app, using search criteria such as machine name, location, date range, or component name.
You can [filter synced images in the Viam app](/data/view/#filter-data) using the **Filters** menu under the **Data** tab in the Viam app, using search criteria such as machine name, location, date range, or component name.

{{< /tablestep >}}
{{< tablestep >}}
Expand Down

0 comments on commit 72dd243

Please sign in to comment.