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