feat(nutrition): change meal of logged food via edit pills or drag-and-drop

Edit mode now shows a pill row (breakfast/lunch/dinner/snack with their
icons) beneath the grams input so the entry can be moved to another meal.
Food cards are also draggable; dropping onto a different meal section
optimistically moves the entry (rolls back on API error). Desktop/pointer
only — touch devices use the pill row.
This commit is contained in:
2026-04-13 09:34:44 +02:00
parent 63a10df7c5
commit 6c160bc6cf
2 changed files with 156 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.31.0",
"version": "1.31.1",
"private": true,
"type": "module",
"scripts": {