Use blue indicator for sleeping miners#475
Conversation
🔐 Codex Security Review
Review SummaryOverall Risk: NONE FindingsNo findings. NotesThe scoped diff only changes ProtoFleet miner status indicator priority, the shared Validation performed: reviewed Generated by Codex Security Review | |
There was a problem hiding this comment.
Pull request overview
Updates the ProtoFleet miner list status indicator behavior so “sleeping” miners use the same blue dot styling as “waking”, while preserving a grey dot for offline miners.
Changes:
- Adjust
StatusCirclecolor mapping sosleepinguses the same intent-info (blue) class as pending/waking. - Update
MinerStatusindicator selection logic to differentiate sleeping (blue) vs offline (grey). - Add a unit test covering the sleeping indicator selection.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| client/src/shared/components/StatusCircle/StatusCircle.tsx | Maps sleeping to the blue intent-info fill class. |
| client/src/protoFleet/features/fleetManagement/components/MinerList/MinerStatus.tsx | Separates sleeping vs offline indicator statuses for the status dot. |
| client/src/protoFleet/features/fleetManagement/components/MinerList/MinerStatus.test.tsx | Adds a test asserting the sleeping dot uses data-status="sleeping". |
Summary
Test plan