
LarsandClaude Opus 4.6
6a3a782bff
feat: goal categories and priorities - backend + API
Implemented multi-dimensional goal priorities (Option B).
**Backend Changes:**
- Migration 028: Added `category` + `priority` columns to goals table
- Auto-migration of existing goals to categories based on goal_type
- GoalCreate/GoalUpdate models extended with category + priority
- New endpoint: GET /api/goals/grouped (returns goals by category)
- Categories: body, training, nutrition, recovery, health, other
- Priorities: 1=high (⭐⭐⭐), 2=medium (⭐⭐), 3=low (⭐)
**API Changes:**
- Added api.listGoalsGrouped() binding
**Frontend (partial):**
- Added GOAL_CATEGORIES + PRIORITY_LEVELS constants
- Extended formData with category + priority fields
- Removed "Gewichtung gesamt" display (useless)
- Load groupedGoals in addition to flat goals list
Next: Complete frontend UI rebuild for category grouping
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 12:30:59 +01:00
..
2026-03-27 12:30:59 +01:00
2026-03-27 12:30:59 +01:00
2026-03-20 18:57:39 +01:00
2026-03-21 07:06:53 +01:00
2026-03-20 22:32:09 +01:00
2026-03-27 07:39:18 +01:00
2026-03-21 10:08:56 +01:00
2026-03-19 09:49:46 +01:00
2026-03-18 10:01:19 +01:00
2026-03-23 13:28:07 +01:00
2026-03-20 22:18:12 +01:00
2026-03-27 07:40:42 +01:00
2026-03-27 08:38:03 +01:00
2026-03-19 11:15:35 +01:00
2026-03-26 16:20:35 +01:00
2026-03-19 08:39:36 +01:00
2026-03-25 10:43:10 +01:00
2026-03-26 13:09:38 +01:00
2026-03-23 10:49:26 +01:00
2026-03-23 11:50:40 +01:00
2026-03-26 14:33:00 +01:00
2026-03-23 22:29:49 +01:00
2026-03-23 15:41:30 +01:00
2026-03-23 10:49:26 +01:00
2026-03-27 07:28:43 +01:00
2026-03-18 12:23:13 +01:00
2026-03-18 10:01:19 +01:00