Skip to content

Add AI practice recommendations feature#1

Merged
Dandiggas merged 1 commit intomainfrom
worktree-ai-recommendations
Mar 1, 2026
Merged

Add AI practice recommendations feature#1
Dandiggas merged 1 commit intomainfrom
worktree-ai-recommendations

Conversation

@Dandiggas
Copy link
Owner

Summary

  • Rewrites PracticeRecommendationView to use OpenAI v1+ SDK (gpt-4o-mini) with input validation against model choices
  • Creates a new /recommendations frontend page with auth-protected form, loading/error states, and AI-generated result display
  • Adds "Recommendations" nav link to Header and MobileNav, enables dashboard quick action card
  • Adds 6 mocked backend tests for the recommendation endpoint (all 34 tests passing)
  • Fixes DEBUG=True in docker-compose so local dev tests don't get 301 redirects from SECURE_SSL_REDIRECT

Test plan

  • Backend: docker compose run --rm -e DEBUG=True web python manage.py test session -v2 — 34/34 pass
  • Frontend: Navigate to /recommendations, fill form, submit (requires OPENAI_API_KEY)
  • Verify nav link appears on desktop and mobile
  • Verify dashboard quick action card links to /recommendations

🤖 Generated with Claude Code

- Rewrite PracticeRecommendationView to use OpenAI v1+ SDK (gpt-4o-mini)
- Add input validation for skill_level and instrument against model choices
- Create recommendations page with auth-protected form and result display
- Add Recommendations link to Header and MobileNav navigation
- Enable dashboard quick action card to link to recommendations
- Add 6 backend tests for recommendation endpoint (mocked OpenAI)
- Set DEBUG=True in docker-compose for local development

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Dandiggas Dandiggas merged commit a29f2fa into main Mar 1, 2026
2 of 3 checks passed
Dandiggas added a commit that referenced this pull request Mar 24, 2026
Add AI practice recommendations feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant