feat: meals drag & drop between slots and days (BL-03)

Pointer Events-based drag & drop (touch + mouse compatible):
- Ghost element follows pointer; drops on empty slots move the meal,
  drops on occupied slots swap both meals via concurrent PUT requests
- prefers-reduced-motion: no ghost animation, interaction still works
- Suppress-click guard prevents accidental edit modal after drag

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ulas
2026-03-31 10:23:39 +02:00
parent 6a860f2c13
commit 6fd209ba5e
4 changed files with 165 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ SPEC: „Monatsvergleich (aktuell vs. Vormonat)". Derzeit zeigt die Budget-Seite
### BL-03 — Essensplan: Drag & Drop zwischen Slots und Tagen
**Status:** Offen
**Status:** Erledigt (v0.3.0)
**Aufwand:** M (24 Tage)
SPEC: „Drag & Drop zwischen Tagen/Slots". Die Wochenansicht zeigt Mahlzeit-Karten aber unterstützt kein Drag & Drop. Mahlzeiten können nur gelöscht und neu angelegt, nicht verschoben werden.