> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Project dashboards

> Ask Inlay to build a Monitor tab with the readouts, plots, logs, and device controls your project needs.

A dashboard is a tab in the Monitor built for one project task, such as board bring-up, a test fixture, or an experiment you repeat. Inlay writes it into your project, opens it in the Monitor, and changes it when you ask. When you ask Inlay to plot or chart signals, it builds a dashboard.

## Describe the task

Start with the signals and decisions the view should support:

```text theme={"theme":"css-variables"}
Create a motor bring-up dashboard. Show target and measured speed, drive
health, and recent faults. Use the existing serial channel names and leave
hardware controls disabled until we verify the command protocol.
```

A dashboard can include:

| Need | Components |
| - | - |
| Current values and health | Readouts, status indicators, gauges, progress bars, and sparklines |
| Trends and relationships | Time-series, XY, scatter, logic, spectrum, histogram, heatmap, bar, state-timeline, and tolerance-band plots |
| Records | Tables, event logs, and a compact copy of the serial monitor |
| Controls | Buttons, toggles, sliders, dropdowns, and multi-selects |
| Anything else | Custom drawings |

For a view that combines observation, diagnosis, and control, Inlay can split it into tabs such as **Telemetry**, **Faults**, and **Controls**.

## Connect the signals first

A dashboard reads serial output, including [Teleplot lines](/docs/core-concepts/plot.md#send-values-from-firmware), and measurements published by [hardware scripts](/docs/debug-mode/hardware-scripts.md). Script data needs no firmware change, so a dashboard can show instrument readings such as Joulescope current.

Confirm that the serial port or script is producing values before you ask for a dashboard. Give Inlay sample output if channel names or units are unclear.

The dashboard header shows whether data is arriving: **Live · now**, **Stale** with the seconds since the last sample, **Waiting**, **Disconnected**, or **Error**. Ask Inlay to show a missing reading differently from a real zero.

## Open and adjust the dashboard

Inlay opens the dashboard when it finishes. To reopen it later, select **+** in the Monitor and choose it under **Dashboards**.

On a plot, drag to zoom, use the scroll wheel to scale at the cursor, hover for a per-series readout, and double-click to resume following live data. Once you've zoomed in, use the scrollbar under the plot to pan. Drag cards by their headers to rearrange them, or use the arrow keys on a focused header. **Reset layout** restores the original order.

Ask for changes in terms of the task:

```text theme={"theme":"css-variables"}
Put voltage and current together, show the last 60 seconds, and highlight
voltage below 3.0 V. Keep the fault log visible while I adjust the time window.
```

Dashboards live in the project:

```text theme={"theme":"css-variables"}
.inlay/dashboards/motor-bringup/
  manifest.json
  dashboard.js
  dashboard.css
```

The stylesheet is optional. Keep the files together, for example by committing the folder, to share the dashboard with teammates. When the files change, an open dashboard reloads.

To delete a dashboard, select **×** next to it under **Dashboards** in a new Monitor tab, then confirm **Delete**. This removes its folder from `.inlay/dashboards` and can't be undone.

## Add device controls

Name the target, command, allowed range, and expected response before adding a control:

```text theme={"theme":"css-variables"}
Add a target-speed control from 0 to 1000 RPM using the documented serial
command. Require confirmation before sending and show the device's response.
```

Device controls send commands through a connected serial tab in the Monitor. A dashboard can't choose the port itself. It uses whichever serial tab is connected, so connect only the port the commands should reach.

The first time a dashboard sends a command, Inlay asks **Allow "Motor bring-up" to control connected hardware?** (with your dashboard's name). Select **Allow** to continue. The approval is stored on your machine and carries over edits Inlay makes; changes made outside Inlay need approval again. Teammates approve a shared dashboard on their own machines.

> [!WARNING]
>
> Review what each command does before you approve hardware control, especially for outputs that move or power equipment.

Controls are disabled while another hardware task, such as an agent run or a hardware script, is using the target.

A control that reports a choice to Inlay queues it for the next chat turn; it doesn't start a turn. Ask for a direct device control when the action must send a command immediately.

## Use a dashboard in a browser

The browser viewer previews a dashboard's layout and static content. Live serial and plot data, device requests, and hardware controls need the Monitor, in VS Code or opened with `/monitor` in the terminal UI.

From the project directory, run:

```bash theme={"theme":"css-variables"}
inlay dashboard
```

Open the local address printed after **Dashboards on**. The viewer is available only on your machine. To open one dashboard directly, run `inlay dashboard motor-bringup`. Press `Ctrl+C` to stop the viewer.

## Check the result

Verify displayed values against the source output, test the empty and disconnected states, and confirm each control on the intended board. Keep a [live plot](/docs/core-concepts/plot.md) or raw serial view available when you diagnose an unexpected value.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.