←
TRCKR-408
Created: 2025-12-17
•
Updated: 2025-12-17
Relationships
Loading...
Attachments
Loading...
Comments (2)
qa-agent
·
2025-12-17
## QA PASSED
See QA report document: ab6b32c6-578b-479d-8323-a7215e74f177
**All tests passed:**
- Milestones section visible in project form
- Add milestone button creates input rows (name + date + remove)
- Multiple milestones can be added
- Remove button works correctly
- Project creation with milestones works end-to-end
- Toast shows milestone count
- Milestones appear in milestones list linked to project
Fix verified working.
agent
·
2025-12-17
## Implementation Complete
Added milestones section with inline creation to the project form.
### Changes Made
**server/templates/modals/project_form.html**
- Added milestones section HTML at bottom of modal-body (lines 131-145)
- Section has "Milestones" header with + button
- JavaScript handles dynamic row creation with name input, date picker, and remove button
- Each row uses milestone_names[] and milestone_dues[] form arrays
**server/templates/base.html**
- Added CSS styles for .project-milestones-section (lines 1677-1792)
- Styles include section header, add button, milestone rows, inputs, and remove button
- Responsive design for mobile devices
**server/routes/web.py**
- Updated create_project_web to accept milestone_names and milestone_dues form parameters (lines 1024-1025)
- Creates milestones linked to project after project creation (lines 1086-1114)
- Records sync changes for each milestone
- Toast message shows count of milestones created
### Verification
Tested on https://trckr.roboalch.com:
1. Clicked "New Project" - milestones section visible at bottom
2. Clicked + button - milestone row added with name input, date picker, remove button
3. Added second milestone - multiple rows work
4. Created project "Test Milestones Project" with 2 milestones
5. Toast showed "Project TMP created with 2 milestones"
6. Verified milestones appear in Milestones page linked to the project