Fleet dashboard
A full-page composition of library components: scope filters in a sidebar, fleet status
counts, a category switch, a server-style CwDataTable, and alert analytics. Every
panel reacts to the same filters and works in both themes and down to phone width.
All groups
196 devices in view
| Temp | Humidity | CO₂ | ||||
|---|---|---|---|---|---|---|
No devices match this combination of filters. | ||||||
Alerts
Top groups
DevicesActive alerts
Reported- Critical Humidity drift in propagation bay
- Critical CO₂ threshold breach
- Critical Freezer telemetry overdue
API
Usage and API reference
A full-page dashboard composed from library components. Use it as a reference for how cards, charts, status and tables fit together in a real CropWatch screen, in both themes.
How to think about it
- Start from the app shell CwHeader and CwSideNav frame the page; content goes in a scrolling main region.
- Group readings by location CwLocationCard wraps CwSensorCard entries; status rolls up by severity so the most urgent state shows on the group.
- Drill down with charts and tables Line charts and CwDataTable show history for the selected device.
Components used
| API | Type | Details |
|---|---|---|
CwLocationCard | component | Groups sensors under a location heading with a rolled-up status. |
CwSensorCard | component | Latest readings with freshness and stale state. |
CwLineChart | component | History for the selected sensor. |
CwDataTable | component | Sortable, searchable reading log. |