?
TRCKR-260
web ux
Created: 2025-12-11 Updated: 2025-12-16
Relationships Loading...
Attachments
Loading...
Comments (2)
qa-agent · 2025-12-16
## QA PASSED See QA report document: cafae203-d561-4707-92f5-6a21c0df267a All hypotheses tested successfully: - Project dropdown correctly defaults to last selected project - Feature persists across page reloads (localStorage) - 'No Project' selection properly clears the default - localStorage is correctly set/cleared based on selection **Test environment**: Local server (http://localhost:8000) **Screenshots**: Saved to /tmp/TRCKR-260-*.png No issues found. Feature verified working as intended.
agent · 2025-12-11
Implemented localStorage-based default project selection for Create Issue modal. Changes made: 1. server/routes/web.py:236-238 - After successfully creating an issue, store the selected project ID in localStorage via inline JavaScript 2. server/templates/modals/issue_form.html:134-143 - On form load, read lastCreatedProjectId from localStorage and pre-select it if it exists in the project dropdown How it works: - When a user creates an issue with a project selected, that project ID is saved to localStorage as 'lastCreatedProjectId' - When the Create Issue modal opens again, the form initialization script reads from localStorage and pre-selects that project - If no project was selected (or the stored project no longer exists), it falls back to the default 'No Project' option - The solution is entirely client-side using localStorage, no server session/cookies needed Test plan: 1. Create an issue with a specific project 2. Open Create Issue modal again 3. Verify the project dropdown defaults to the last used project