Skip to content

Add Delete data page; reduce overview entry to summary#5027

Open
shannonbradshaw wants to merge 1 commit intoviamrobotics:mainfrom
shannonbradshaw:shannonbradshaw/delete-data-page
Open

Add Delete data page; reduce overview entry to summary#5027
shannonbradshaw wants to merge 1 commit intoviamrobotics:mainfrom
shannonbradshaw:shannonbradshaw/delete-data-page

Conversation

@shannonbradshaw
Copy link
Copy Markdown
Collaborator

Summary

  • Hoists the "Delete data" how-to out of /data/overview/ into a dedicated page at /data/delete-data/ (weight 27, between Tag data and Filter at the edge).
  • Uses the flat Viam app / CLI / Python / Go tabs pattern, matching api-keys.md and the new tag-data.md (PR Add Tag data page #5025).
  • Reduces the overview's Delete section to a 2-sentence summary plus a link, matching the page's other sections (Query, Export, Annotate, etc.).
  • Adds Python and Go code samples for delete_tabular_data, delete_binary_data_by_filter, and delete_binary_data_by_ids — the SDK story was prose-only before.
  • Aliases /data/overview/#delete-data so existing deep-links still resolve.

Why

The overview's Delete section was the only H2 on the page that went full how-to with code blocks; every other section (Query, Pipeline, Export, Annotate, Monitor) is a short summary that links to its dedicated page. Pulling Delete out aligns the overview with itself and gives Delete a findable, dedicated page.

Verification

  • Python methods: viam-python-sdk/src/viam/app/data_client.pydelete_tabular_data, delete_binary_data_by_filter, delete_binary_data_by_ids.
  • Go methods: rdk/app/data_client.go:765-802DeleteTabularData, DeleteBinaryDataByFilter, DeleteBinaryDataByIDs.
  • CLI flags: rdk/cli/app.go:1410-1479 (viam data delete binary filter set; --tags is not supported, so the page does not claim it).

Test plan

  • /data/delete-data/ renders with the four-tab block and the alias /data/overview/#delete-data redirects.
  • /data/overview/ "Delete data" section is a summary, in line with the page's other sections.
  • Sidebar order in Manage data places Delete data after Tag data (weight 27) and before Filter at the edge (weight 31).

Hoists the "Delete data" how-to out of the data overview into its own
page (/data/delete-data/) using the flat Viam app / CLI / Python / Go
tabs pattern. The overview page reverts to survey-style: a short summary
plus a link, matching the rest of the page's sections.

Adds Python and Go code samples for delete_tabular_data,
delete_binary_data_by_filter, and delete_binary_data_by_ids that the
prose-only SDK section did not have.

The new page aliases /data/overview/#delete-data so existing deep-links
still work.
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 27, 2026

Deploy Preview for viam-docs failed. Why did it fail? →

Name Link
🔨 Latest commit 68d82d9
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/69efd94b3b751400084e3419

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to build This pull request is marked safe to build from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants