shinkan-jinkendo/frontend
Lars 9f44cff77b
Some checks failed
Deploy Development / deploy (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 5s
Test Suite / playwright-tests (push) Failing after 1m54s
fix: Stilrichtungen → Fokusbereich Zuordnung (focus_area_id)
Problem: Stilrichtungen-Tab zeigte falsches Feld 'Übergeordneter Stil' (parent_style_id)
Lösung: Fokusbereich-Dropdown (focus_area_id) für Hierarchie

Backend (catalogs.py):
- INSERT: focus_area_id Parameter hinzugefügt
- UPDATE: focus_area_id Parameter hinzugefügt
- SELECT: LEFT JOIN focus_areas für focus_area_name + icon
- Response enriched mit focus_area_name/icon

Frontend (AdminCatalogsPage.jsx):
- newTS State: parent_style_id → focus_area_id
- Create Form: Fokusbereich-Dropdown statt 'Übergeordneter Stil'
- Edit Form: Fokusbereich-Dropdown mit focusAreas
- Display: Zeigt Fokusbereich-Icon + Name (accent color)
- parent_style_id bleibt für optionale Stil-Hierarchien

Jetzt kann Hierarchie korrekt angelegt werden:
 Karate → Goju-Ryu
 Karate → Shotokan
 Gewaltschutz → (eigene Stilrichtungen)

version: 0.5.0
module: catalogs 1.5.0, AdminCatalogsPage 2.2.0

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-23 14:36:02 +02:00
..
src fix: Stilrichtungen → Fokusbereich Zuordnung (focus_area_id) 2026-04-23 14:36:02 +02:00
Dockerfile fix: Add nginx SPA routing config 2026-04-21 16:30:11 +02:00
index.html feat: Complete design foundation with responsive navigation 2026-04-22 16:25:36 +02:00
nginx.conf fix: Add nginx SPA routing config 2026-04-21 16:30:11 +02:00
package.json fix: Add lucide-react dependency for navigation icons 2026-04-22 16:40:05 +02:00
vite.config.js feat: Complete MVP setup - Docker, Frontend, Migrations, CI/CD 2026-04-21 14:36:52 +02:00