-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Add hold classification wizard feature #568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
marcodejongh
commented
Jan 3, 2026
- Add user_hold_classifications database table to store user ratings for individual holds
- Create hold classification wizard component with:
- Zoomed-in view of each hold on the board
- Hold type selector (jug, edge, sloper, pinch, crimp, pocket, sidepull, undercling)
- 5-star difficulty rating for how hard each hold is to grip
- Navigation controls to move through all holds
- Progress tracking and completion state
- Add API endpoints (GET/POST) at /api/internal/hold-classifications
- Integrate wizard into header menu (both desktop and mobile) for logged-in users
- Feature can be used to build personalized climb recommendations later
- Add user_hold_classifications database table to store user ratings for individual holds - Create hold classification wizard component with: - Zoomed-in view of each hold on the board - Hold type selector (jug, edge, sloper, pinch, crimp, pocket, sidepull, undercling) - 5-star difficulty rating for how hard each hold is to grip - Navigation controls to move through all holds - Progress tracking and completion state - Add API endpoints (GET/POST) at /api/internal/hold-classifications - Integrate wizard into header menu (both desktop and mobile) for logged-in users - Feature can be used to build personalized climb recommendations later
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Claude ReviewIssuesDatabase Schema
API Route
Component Issues
CSS
Migration Scope
Tests
|
- Change uniqueClassification index to uniqueIndex to enforce unique constraint - Add comprehensive input validation for API endpoints: - Validate layoutId/sizeId are valid integers - Validate holdType against allowed enum values - Validate difficultyRating is between 1-5 - Fix useEffect missing dependency by making loadClassifications a useCallback - Replace hardcoded CSS colors with CSS custom properties (design tokens) - Add --semantic-selected and --color-success CSS variables
Claude ReviewIssues
|