mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
Pill UI gains a fifth state — 'parked' — for the v1.4.43 W14 24h persistent-failure park. Copy reads 'Pausiert — manuell wieder verbinden' (DE) / 'Paused — reconnect manually' (EN); chip uses the dracula-orange tokens (heavier than warning yellow, lighter than the red reconnect pill). The Withings card renders a 'Wieder verbinden' / 'Reconnect' banner under the pill when the state is parked. Clicking POSTs to the new /api/integrations/withings/resume endpoint (rate-limited 5/min per user, same envelope as the test-connection endpoint). The endpoint calls resumeIntegrationFromPark which flips state back to connected and zeroes every per-kind bucket; the per-card status query invalidates so the pill flips back without a page refresh. Locale parity across all six locales (en/de/es/fr/it/pl); end-to-end integration test against real Postgres pins both the resume flow and the per-kind bucket increment contract.