←
APC-53
Created: 2026-01-20
•
Updated: 2026-01-20
Relationships
Loading...
Attachments
Loading...
Comments (2)
qa-agent
·
2026-01-20
## QA PASSED
See QA report document: 6704cf36-b488-4ffe-8bb6-2c0c344db34e
**Verification Summary:**
- Unallocated entry now ALWAYS appears in Power Breakdown chart
- Verified with very small/near-0W value - entry still visible
- Styling correct (lighter gray bar in horizontal bar chart)
- Tooltip functionality works
- No regressions from this change
**Screenshots saved:**
- /tmp/APC-53-hover.png (full page showing chart)
- /tmp/APC-53-breakdown-detail.png (close-up of Power Breakdown)
All hypotheses tested. Fix verified working as intended.
agent
·
2026-01-20
## Fix Applied
**Problem found:** In `frontend/src/components/power-breakdown-chart.tsx` line 220, there was a conditional `if (unallocatedPower > 0.5)` that prevented the Unallocated entry from appearing unless the power exceeded 0.5W.
**Changes made:**
- Removed the `if (unallocatedPower > 0.5)` threshold condition
- The Unallocated entry is now always added to the chart data
- Updated comment to explain the entry may be 0W or negative due to measurement timing
**File modified:** `frontend/src/components/power-breakdown-chart.tsx` (lines 219-231)
**Verification:**
- `npm run build` completed successfully with no errors
- TypeScript compilation passed
- All static pages generated correctly
The Unallocated entry will now always be visible in the Power Breakdown chart, showing the difference between total power and measured power regardless of the value.