Tagebuch — Ort/POI (DayOne-ähnlich):
- diary.location_name Spalte, DiaryCreate/Update mit gps_lat/lon/location_name
- GET /api/dogs/{id}/diary/nearby: Overpass + Nominatim (vor {entry_id}-Route)
- Mini-Karte im Edit-Formular: Leaflet lazy, Edit-Modus, SVG-Pin
- Meilenstein-Toggle: Button statt Checkbox, Filter in Toolbar
- Datenmigration: 97 Ort-Einträge aus text → location_name
Tagebuch — Foto/Video:
- Foto/Video im Edit: Ersetzen + Löschen, DELETE media endpoint
- Media-Picker: Kamera/Mediathek/Datei Buttons
- Video-Wiedergabe (<video controls> in Detail + Edit)
Modal-UX (alle Edit-Karten vereinheitlicht):
- Footer-Pattern: [Speichern vollbreit] / [Löschen][Abbrechen]
- diary, dog-profile, events, health, places, walks, settings, sitting
- Löschen aus Detail-Modal → Edit-Form verschoben
iOS Mobile-Fixes:
- Auto-Zoom: input/select/textarea font-size 16px !important
- Scroll-Through: html.modal-open + touch-action:none auf Overlay
- Kein position:fixed mehr auf body (kein Scroll-Sprung)
PWA & Icons:
- icon-512-any.png + icon-192-any.png (quadratisch, maskable)
- manifest.json: purpose any/maskable getrennt
- Gesundheits-Icon: syringe → first-aid
Import-Fix:
- _HTMLStripper überspringt video/audio/script → kein "Video nicht gefunden" mehr
49 lines
1.7 KiB
JSON
49 lines
1.7 KiB
JSON
{
|
|
"name": "Ban Yaro — Die Hunde-Plattform",
|
|
"short_name": "Ban Yaro",
|
|
"description": "Alles rund um deinen Hund. Von Welpe bis Opa.",
|
|
"start_url": "/",
|
|
"display": "standalone",
|
|
"orientation": "portrait-primary",
|
|
"background_color": "#FAF7F2",
|
|
"theme_color": "#C4843A",
|
|
"lang": "de",
|
|
"categories": ["lifestyle", "social"],
|
|
"icons": [
|
|
{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
|
|
{ "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
|
|
{ "src": "/icons/icon-180.png", "sizes": "180x180", "type": "image/png", "purpose": "any" },
|
|
{ "src": "/icons/icon-192-any.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
|
|
{ "src": "/icons/icon-512-any.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
|
|
],
|
|
"share_target": {
|
|
"action": "/share",
|
|
"method": "POST",
|
|
"enctype": "multipart/form-data",
|
|
"params": {
|
|
"title": "title",
|
|
"text": "text",
|
|
"url": "url",
|
|
"files": [{ "name": "media", "accept": ["image/*", "video/*"] }]
|
|
}
|
|
},
|
|
"shortcuts": [
|
|
{
|
|
"name": "Tagebuch",
|
|
"url": "/#diary",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
|
},
|
|
{
|
|
"name": "Widget",
|
|
"short_name": "Widget",
|
|
"description": "Nächste Erinnerung + zufälliges Tagebuchbild",
|
|
"url": "/#widget",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
|
},
|
|
{
|
|
"name": "Giftköder melden",
|
|
"url": "/#poison",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
|
}
|
|
]
|
|
}
|