mitai-jinkendo/frontend/src
Lars 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
..
components fix: value table metadata + |d modifier + cursor insertion (Issues #47, #48) 2026-03-26 12:04:20 +01:00
context fix: email verification auto-login and user experience 2026-03-21 10:32:24 +01:00
pages fix: focus areas slider NaN values and validation 2026-03-27 12:20:01 +01:00
utils feat: goal categories and priorities - backend + API 2026-03-27 12:30:59 +01:00
app.css feat: complete sleep module overhaul - app standard compliance 2026-03-22 13:09:34 +01:00
App.jsx feat: Phase 1.5 - Flexible Goal System (DB-Registry) Part 2/2 - COMPLETE 2026-03-27 06:51:46 +01:00
main.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00