-
Multiple API calls per league
- Current: Separate calls for rosters, matchups, transactions, traded_picks
- Impact: Slow page loads for users with multiple leagues
- Solution: Consider parallel fetching or caching improvements
-
Dynasty values fetched every request
- Current: 24h cache, but still fetches on every page load if expired
- Impact: Slow first load of the day
- Solution: Background refresh? Longer TTL?
-
Template rendering for large rosters
- Current: Renders all free agents, all transactions
- Impact: Large HTML payloads
- Solution: Pagination or lazy loading?
-
No CDN for static assets
- Current: Serving CSS/JS from same server
- Impact: Slower page loads
- Solution: Consider CDN or asset optimization
- Add gzip compression for responses (DONE - ~70% bandwidth reduction)
- Reduce default free agent limit from 30 to 20 (DONE)
- Add Cache-Control headers for static assets (DONE - 1 year cache)
- Minify CSS/JS
- Add loading states to improve perceived performance
- Optimize database queries (if any added later)
-
Edge cases for multi-league users
- What if user has 10+ leagues?
- Mixed redraft and dynasty leagues
- Leagues from different years
-
Empty state handling
- No draft picks
- No free agents available
- No matchup data (offseason)
- No dynasty values for players
-
Mobile responsiveness
- Test all toolkit cards on phone
- Test tables on small screens
- Test dynasty mode toggle
-
Premium feature display
- Verify premium features only show for premium users
- Test graceful degradation for non-premium
- Superflex leagues with no QB on roster
- Leagues with unusual roster settings (2QB, no TE, etc.)
- Players with special characters in names
- Trades involving draft picks only (no players)
-
Loading states
- Add skeleton screens while loading
- Show progress for multi-league loads
- Better error messages with retry buttons
-
Color consistency
- Audit all color usage
- Ensure dark/light theme works everywhere
- Use CSS variables consistently
-
Spacing and typography
- Review all card padding/margins
- Ensure consistent font sizes
- Better visual hierarchy
-
Mobile UX
- Larger tap targets
- Better collapsing behavior
- Swipe gestures?
- Remember collapsed/expanded state per card
- Add "scroll to top" button
- Improve table sorting UX
- Add keyboard shortcuts for power users
-
Function comments
- Add godoc comments to all exported functions
- Document complex algorithms (draft pick logic, trade fairness, etc.)
- Add examples for key functions
-
Architecture documentation
- Document caching strategy
- Explain API integration patterns
- Document premium feature flow
-
Setup/deployment docs
- Environment variables
- Systemd service setup
- Prometheus integration
- Backup/restore procedures
- Getting started guide
- FAQ updates (explain premium features)
- Dynasty toolkit explainer
- Video walkthrough?
- Performance optimization
- Bug hunting
- UI/UX polish
- Documentation
- Focus on quick wins first
- Test thoroughly before committing
- Document findings as we go