?
TRCKR-334
Created: 2025-12-15 Updated: 2025-12-16
Relationships Loading...
Attachments
Loading...
Comments (1)
agent · 2025-12-15
Fixed by updating the Agents tab in the header navigation to use circular badge icons instead of parenthetical text. **Changes made:** - File: `server/templates/base.html` lines 1552-1569 - Replaced the inline styled span with parenthetical text format: `(working/waiting)` - Updated to use the existing `.agent-counts` container with `.agent-count`, `.agent-count-working`, and `.agent-count-waiting` CSS classes - Badges show green circles for working agents and yellow/orange circles for waiting agents - Badges are hidden when no agents are active (working=0 and waiting=0) **How verified:** - Deployed to production at https://trckr.roboalch.com using `./scripts/deploy.sh` - Verified with chrome-devtools that the Agents tab structure is correct - Confirmed badges are hidden when no agents are active (expected behavior) - The badge implementation matches the same circular badge style used in the project sidebar **Implementation details:** The change removes the `total` variable calculation and the parenthetical text format, replacing it with the same badge structure used elsewhere in the UI. The badges use the existing CSS classes already defined in base.html (lines 216-245) which create circular badges with green background (#10b981) for working agents and yellow/orange background (#f59e0b) for waiting agents.