## Source

`TODO`: "Manage storage on an ESP32 and view sensors readouts from it"

## Current state

The Ports panel already reads input channels and drives output channels on the active device. Firmware has a storage module (`crates/sb-esp/src/storage.rs`) and the protocol can list stored programs, but there is no UI for storage usage or managing stored programs.

## Acceptance

- [x] Decision: the storage view manages **programs, user files and logs**. It does not expose a format/erase-device action.
- [ ] Add a device-storage view: used/free space, the stored programs, files and logs the device reports, and a refresh action.
- [ ] Deleting a stored item asks for confirmation, reports failures inline, and refreshes the list only after the device confirms.
- [ ] The protocol/client surfaces typed errors for an unsupported firmware, a full device and a disconnected device.
- [ ] Live sensor readouts are verified on real hardware, including stale/unknown values and the disconnected state.
- [ ] Console output from the same real device is verified end to end: ordering, errors and reconnect.
- [ ] The UI uses the existing component/port vocabulary rather than exposing GPIO pins directly.
- [ ] Add an e2e or hardware journey for the storage list and one destructive action.


<sub>Generated on _MrBeast_ using _opencode/deepseek-v4.1-flash_ in _ses_e8326e581ffeJviTmSkomwnKES_</sub>



