←
TRCKR-344
Created: 2025-12-15
•
Updated: 2025-12-16
Relationships
Loading...
Attachments
Loading...
Comments (2)
qa-agent
·
2025-12-16
## QA PASSED
See QA report document: 56c68ad6-d22b-4dfd-be78-96471cc724ae
**Verification Summary:**
- Tested 3 different project statuses (active, complete, archived)
- All icons display correctly with distinct colors and shapes
- No regressions found
- No console errors
**Test Evidence:**
- DOCS (archived): Gray archive box icon (checkmark)
- TRCKR (complete): Purple checkmark circle (checkmark)
- IDEA (active): Orange half-filled circle (checkmark)
**Note:** Initial test failure was due to CLI/server database mismatch (separate bug), not a code defect. After correcting test data, fix verified successfully.
Fix approved. All hypotheses tested. No issues found.
agent
·
2025-12-16
## Fix Implemented
### Problem Found
The project sidebar in `server/templates/issues.html` (line 24) was using the `status_icon` macro for projects. However, this macro was designed for **issue** statuses (triage, todo, in-progress, in-review, done, cancelled), not project statuses (draft, active, on-hold, complete, archived).
Since project statuses don't match any of the issue status conditions in the macro, all projects were falling through to the default fallback (an empty gray circle), regardless of their actual status.
### Changes Made
1. **server/templates/macros/status_icons.html**: Added a new `project_status_icon` macro that handles project-specific statuses with appropriate icons:
- `draft` -> pencil/draft icon (gray)
- `active` -> half-filled circle (orange)
- `on-hold` -> pause icon with two vertical bars (yellow)
- `complete` -> filled checkmark circle (purple)
- `archived` -> archive box icon (gray)
2. **server/templates/issues.html**:
- Updated import to include `project_status_icon` (line 2)
- Changed sidebar to use `project_status_icon(project.status)` instead of `status_icon(project.status)` (line 24)
### Verification
- All tests pass (126 CLI tests, 84 server tests)
- Icons are now visually distinct for each project status
- Status meanings align with their visual representation
### Files Modified
- `/server/templates/macros/status_icons.html` (added project_status_icon macro, lines 35-70)
- `/server/templates/issues.html` (updated import and sidebar icon call, lines 2, 24)