Skip to content

Update monitor and billing docs for the Data usage tab - #5446

Merged
Eliza Farley (elizafarley) merged 2 commits into
mainfrom
claude/update-data-usage-billing-tab
Oct 21, 2026
Merged

Eliza Farley (elizafarley) merged 2 commits into
mainfrom
claude/update-data-usage-billing-tab

Conversation

@shannonbradshaw

Copy link
Copy Markdown
Collaborator

The fleet Machines page no longer shows how much data the fleet synced: the 48-hour upload totals and sync charts moved to a new Data usage tab on the billing page. This PR corrects monitor.md, which still pointed at the Machines page, and documents the new tab on billing.md.

Source changes

  • viamrobotics/app#14052: "Move data usage from the Machines page to a Payment & Billing tab". The Data usage expandable on /fleet/machines is removed. Its components moved unchanged to /organization/{id}/billing/data-usage, a second tab ("Overview", "Data usage") on the billing page, behind the same org-write permission as the rest of billing. The app deploys continuously, so this is live.

Documents: no ticket key found (the PR title and body carry none).

Docs changes

  • docs/monitor/monitor.md: the "Check fleet status" section said you can see the fleet's 48-hour synced data "from this dashboard". It now sends organization owners to the billing page's Data usage tab.
  • docs/organization/billing.md:
    • New "Check data usage" section naming the two summary cards (Binary Upload - 48hr, Tabular Upload - 48hr) and the two hourly charts (Binary data sync - 48 hours, Tabular data sync - 48 hours), and that the statistics update hourly. Labels come from data-aggregation-section.svelte and hourly-data-chart.svelte.
    • Intro says the page has Overview and Data usage tabs (billing/+layout.svelte).
    • In the same sentence, the menu item is Payment & Billing, as org-menu.svelte and settings-tabs.ts render it, not "Payment and billing".

How I found these

  • Xref lookup: none (UI change; flows.md has no data-usage flow).
  • Grep matches: data usage, 48 hours, 48-hour, synced in the last, hourly, Payment and billing, Payment & Billing, billing page across docs/, static/, data/, layouts/, assets/. Only monitor.md described the old location. rbac.md's "See billing page" row (owners only) already matches the tab's permission gate.

Checks

prettier (repo-local 3.2.5), markdownlint, vale, frontmatter_rules.py and make build-prod pass.


Generated by daily docs change agent


Generated by Claude Code

app#14052 moves the 48-hour binary and tabular upload totals and sync charts
from an expandable section on the fleet Machines page to a Data usage tab
under Organization settings > Payment & Billing.
@netlify

netlify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit c11cc22
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6ad8c80a6bd7f86ce5b65687
😎 Deploy Preview https://deploy-preview-5446--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 41 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Oct 21, 2026
@elizafarley

Copy link
Copy Markdown
Contributor

Docs review: Ready to merge

Fixes monitor.md, which still said fleet data-sync totals were on the Machines page, and adds a "Check data usage" section to billing.md for the new Data usage tab from viamrobotics/app#14052. I checked every UI label and the behavior claims against viamrobotics/app origin/main, and they all match.

CI: All required checks passing

Docs health: No regressions

Nits

  • docs/organization/billing.md:21: "Overview, which holds the usage, payment, and invoice sections described below" leaves out the billing-alerts footer (BillingFooter), which is also on the Overview tab. Fix: Either say "the sections described below, other than data usage" or add "and billing alerts".
Verified against source (7 claims)
  • Menu item reads Payment & Billing: viamrobotics/app ui/src/lib/layout/nav/org-menu.svelte:102, ui/src/routes/(auth-required)/organization/[org_id]/(settings)/settings-tabs.ts:16
  • Billing page has Overview and Data usage tabs: .../(settings)/billing/+layout.svelte:42-43
  • Overview holds usage, payment method, and invoices: .../(settings)/billing/+page.svelte:168-170 (MonthlyUsage/NextInvoice/PaymentMethod cards, CurrentMonthBreakdown, Invoices)
  • Binary Upload - 48hr / Tabular Upload - 48hr cards, in MB: .../billing/data-usage/data-aggregation-section.svelte:31-39
  • Binary data sync - 48 hours / Tabular data sync - 48 hours hourly charts: .../billing/data-usage/hourly-data-chart.svelte:13-21 (capitalize(...) + " - 48 hours"), confirmed by __tests__/hourly-data-chart.spec.ts:28,38
  • Statistics update every hour: .../billing/data-usage/data-aggregation-section.svelte:27
  • Data usage tab gated to owners (org write permission), matching the monitor.md wording: .../billing/data-usage/+page.svelte Permissions request={writeOrgPermsRequest}; data-usage section removed from fleet/machines/+page.svelte in app commit 071b31c

Automated review by Claude. Rerunning the review updates this comment.

Address review: the Overview tab also has billing alerts and the free credits banner.

Copy link
Copy Markdown
Collaborator Author

Fixed the Overview nit in c11cc22. The intro now says Overview "holds every section on this page except data usage", which covers billing alerts and the free credits banner.


Generated by Claude Code

@elizafarley
Eliza Farley (elizafarley) merged commit ba3d8d8 into main Oct 21, 2026
13 checks passed
@elizafarley
Eliza Farley (elizafarley) deleted the claude/update-data-usage-billing-tab branch October 21, 2026 14:49
@github-actions

Copy link
Copy Markdown

🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs'

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.

4 participants