Devices
Repair device tracking and impact measurement
9 stories across 4 personas | Coverage: 9/9 (100%)
Overview
Devices
Devices represent items brought to repair events. Each device record captures what was brought, its category, brand, repair status (fixed, repairable, end-of-life), and the environmental impact prevented. This data powers the platform's impact statistics -- waste diverted and CO2 emissions prevented.
What Restarters can do
Restarters who attended an event can log device repairs, update existing records, upload photos of devices they worked on, and delete their uploaded photos. They can also browse all devices and view global repair impact data on the Fixometer page.
What Hosts can do
Hosts can delete device records from their events and perform any device action that Restarters can for events belonging to their group.
What Guests can do
Guests can view device details and browse suggested item types via the public API.
What ThirdParties can do
External organisations can retrieve device repair data via the public API for analysis or display on their own platforms.
Browse & search devices
| Persona | Story | Method | Tests |
|---|---|---|---|
| Guest | As a Guest, I can view suggested item types for device records | ItemController::listItemsv2 | ✅ Covered |
| Restarter | As a Restarter, I can browse all devices and view global repair impact data | DeviceController::index | ✅ Covered |
Delete devices
| Persona | Story | Method | Tests |
|---|---|---|---|
| Host | As a Host, I can delete a device record from my event | DeviceController::deleteDevicev2 | ✅ Covered |
Device photos
| Persona | Story | Method | Tests |
|---|---|---|---|
| Restarter | As a Restarter, I can delete device photos I've uploaded | DeviceController::deleteImage | ✅ Covered |
| Restarter | As a Restarter, I can upload photos of devices I've worked on | DeviceController::imageUpload | ✅ Covered |
Get device details
| Persona | Story | Method | Tests |
|---|---|---|---|
| Guest | As a Guest, I can view device details via the API | DeviceController::getDevicev2 | ✅ Covered |
| ThirdParty | As a ThirdParty, I can retrieve device repair data via the API | DeviceController::getDevicev2 | ✅ Covered |
Log & edit repairs
| Persona | Story | Method | Tests |
|---|---|---|---|
| Restarter | As a Restarter, I can log a device repair at an event I attended | DeviceController::createDevicev2 | ✅ Covered |
| Restarter | As a Restarter, I can update a device repair record at an event I attended | DeviceController::updateDevicev2 | ✅ Covered |