←
TRCKR-268
Created: 2025-12-11
•
Updated: 2025-12-16
Relationships
Loading...
Attachments
Loading...
Comments (1)
agent
·
2025-12-11
Successfully implemented sidebar project selection as default for new issues.
Implementation Details:
Modified server/templates/issues.html (lines 13, 20):
- Added onclick handlers to sidebar project links that set localStorage
- setSidebarProjectSelection(projectId) - stores selected project
- clearSidebarProjectSelection() - clears selection for 'All Projects'
Modified server/templates/modals/issue_form.html (lines 137-153):
- Updated default project logic with priority order:
1. Sidebar selection (selectedSidebarProject from localStorage) - highest priority
2. Last created project (lastCreatedProjectId from localStorage)
3. System settings defaults
Verification:
- Deployed to production (trckr.roboalch.com)
- Verified with Chrome DevTools:
- Clicking TRCKR project sets localStorage.selectedSidebarProject correctly
- Opening issue creation modal shows TRCKR as default project
- Confirmed selectedProjectInForm matches localStorage value
- Screenshot saved: /tmp/trckr-268-verification.png
Test Results:
All 1165 tests pass (39 skipped)
The sidebar selection now correctly overrides system settings when creating new issues.