Skip to content

Update fleet monitoring docs: group the Machines table by location or status - #5577

Merged
Jeremy Rose (jeremyrose-viam) merged 2 commits into
mainfrom
claude/update-machines-table-group-by
Nov 23, 2026
Merged

Jeremy Rose (jeremyrose-viam) merged 2 commits into
mainfrom
claude/update-machines-table-group-by

Conversation

@shannonbradshaw

Copy link
Copy Markdown
Collaborator

Source changes

  • viamrobotics/app#13874: adds a Group by control (None, Location, Status) to the fleet Machines table.
  • viamrobotics/app#13900, viamrobotics/app#14000: follow-ups (group headings, links, back navigation, sorting and search fixes).
  • Documents: no ticket key found (the app PRs carry no APP key, so there was no DOCS ticket to look up).
  • Docs gap: fleet-machines-table-group-by

Docs changes

  • docs/monitor/monitor.md "Check fleet status": adds a paragraph on Group by. Location gives one table per location. Status gives one table each for Online, Partially online, Offline and Awaiting setup, and the paragraph defines Partially online (some parts online, some not). The grouping is kept in the URL's group parameter, so a link shares the grouped view. A visit without table parameters gets back the grouping and filters last used for that organization, stored in the browser's localStorage. None returns to a single table.

Labels and behavior come from ui/src/routes/(auth-required)/fleet/machines/machines-group-by-dropdown.svelte, machine-row-groups.ts, machines-table.svelte, machines-table-state.ts and lib/components/select-resource/online-status.ts at app 8f809da12. The search term isn't among the restored parameters (MACHINES_TABLE_PARAMS is group, locations, machines, fragments, parts), so the docs don't claim it is.

How I found these

  • Backfill gap from the checker's gap audit (2026-11-22). Grep of the docs repo for Group by, group by, Partially online and ?group= found no page describing the control.
  • app is continuously deployed and the control isn't behind a feature flag, so the feature is live.

Checks: prettier 3.2.5, markdownlint, vale 3.12.0, scripts/frontmatter_rules.py and make build-prod all pass.


Generated by daily docs change agent


Generated by Claude Code

… app#14000)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nja2XpQhjeqNcXC2RWZCf3
@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Nov 23, 2026
@netlify

netlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 0d03a98
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6b04c10b407e7ac433e10404
😎 Deploy Preview https://deploy-preview-5577--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: 36 (🟢 up 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (🟢 up 8 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.

@jeremyrose-viam

Copy link
Copy Markdown
Member

Docs review: Ready to merge

Adds a paragraph to "Check fleet status" on the Group by control for the fleet Machines table. Every claim matches the app source at the current production deploy, and all three source PRs are live.

CI: All required checks passing

Docs health: No regressions

Released: All documented changes are live (viamrobotics/app production deploy 8f809da12, 2026-11-23)

Nits

  • docs/monitor/monitor.md:27: "one table each for Online, Partially online, Offline, and Awaiting setup" reads as if all four tables always appear, but a status with no machines gets no table (groupByStatus returns only non-empty groups; location grouping works the same way). Fix: for example, "one table for each status that has machines: ...".
Verified against source (8 claims)
  • Group by control sits in the filter bar above the table: viamrobotics/app ui/src/routes/(auth-required)/fleet/machines/machines-table.svelte:257
  • Options are None, Location, Status: machine-row-groups.ts:23
  • Location grouping gives one table per location: machine-row-groups.ts:84
  • Status group labels and order (Online, Partially online, Offline, Awaiting setup): machine-row-groups.ts:52
  • Partially online means some parts online and some not: ui/src/lib/components/select-resource/online-status.ts:9
  • Grouping is kept in the URL's group parameter: machines-table.svelte:187
  • A visit with no table parameters restores the last grouping and filters for that org from localStorage: machines-table-state.ts:19, machines-table-state.ts:53, machines-table.svelte:58
  • None shows all machines in one table: machine-row-groups.ts:146, machines-group-by-dropdown.svelte:21

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

Copy link
Copy Markdown
Collaborator Author

Thanks for the review. The nit is correct: groupByStatus in machine-row-groups.ts only returns a group for statuses that have machines (rows ? [...] : []), so a status with no machines gets no table. Since it's marked as a nit, I haven't pushed for it, which would rerun CI. If you want it in before merge, say so and I'll change the line to "one table for each status that has machines: Online, Partially online, Offline, or Awaiting setup".


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeremyrose-viam
Jeremy Rose (jeremyrose-viam) merged commit 8ec09cf into main Nov 23, 2026
14 checks passed
@jeremyrose-viam
Jeremy Rose (jeremyrose-viam) deleted the claude/update-machines-table-group-by branch November 23, 2026 22:43
@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