takeone/TODO_affiliations.md

29 lines
1.3 KiB
Markdown

# TODO: Implement Affiliations Tab
## Backend Implementation
- [x] Create ClubAffiliation model and migration
- [x] Create SkillAcquisition model and migration
- [x] Create AffiliationMedia model and migration
- [x] Update User model with clubAffiliations relationship
- [x] Update FamilyController::profile() to fetch affiliations data and summary stats
- [x] Add club_affiliation_id to TournamentEvent model and migration
## Frontend Implementation
- [x] Update show.blade.php affiliations tab content
- [x] Implement horizontal timeline with clickable nodes
- [x] Add dynamic skills wheel using Chart.js Polar Area
- [x] Create affiliation details panel
- [x] Add summary stats above timeline
- [x] Ensure responsive design (desktop side-by-side, mobile stacked)
- [x] Add Alpine.js for timeline interactions
- [x] Implement keyboard navigation and accessibility
- [x] Add club affiliation column to tournament table
## Testing & Deployment
- [x] Run migrations to create database tables
- [x] Add sample data for demonstration
- [x] Add calculated duration display to timeline cards (as badges)
- [x] Test timeline navigation and skills wheel updates
- [x] Verify responsive design on different screen sizes
- [x] Add "Add Tournament Participation" button with modal functionality