
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-21 09:53:11 +01:00
2026-03-21 13:05:33 +01:00
2026-03-21 15:16:07 +01:00
2026-03-21 15:32:32 +01:00
2026-03-21 19:31:58 +01:00
2026-03-22 10:59:55 +01:00
2026-03-22 08:22:58 +01:00
2026-03-22 16:20:52 +01:00
2026-03-22 16:51:09 +01:00
2026-03-22 17:36:49 +01:00
2026-03-23 11:01:53 +01:00
2026-03-23 10:49:26 +01:00
2026-03-23 15:14:34 +01:00
2026-03-23 16:02:40 +01:00
2026-03-23 22:29:49 +01:00
2026-03-24 15:32:25 +01:00
2026-03-25 06:31:25 +01:00
2026-03-25 09:42:28 +01:00
2026-03-25 14:45:53 +01:00
2026-03-26 11:52:26 +01:00
2026-03-26 16:26:48 +01:00
2026-03-27 07:48:23 +01:00
2026-03-27 07:49:09 +01:00
2026-03-27 08:14:22 +01:00
2026-03-27 10:56:53 +01:00
2026-03-27 12:30:59 +01:00
2026-03-20 18:57:39 +01:00
2026-03-20 18:57:39 +01:00
2026-03-20 12:57:29 +01:00
2026-03-19 12:50:12 +01:00