mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
Adds an opaque placeholder card for the new hidden Easter-eggs. Locked hidden achievements paint a `<HelpCircle>` icon and use the "Hidden achievement" / "Keep tracking — you might just stumble across it." copy from i18n; the real title, description, metric and target are never written to the DOM so a curious user can't pop the source panel to learn the trigger. Once unlocked, the real strings reveal themselves on the same card with the standard unlocked styling. Adds the new lucide icons used by the v1.4.18 badges (Smile, Scale, Moon, Sun, Sparkles, FileText, Languages, CalendarDays). Extends `CATEGORY_LABEL_KEY` with the new mood + hidden buckets so the discriminated-union check passes. Page tests guard: - locked hidden achievements paint the placeholder, not the real title/description (regression: hidden cannot leak) - unlocked hidden achievements paint the real title (the reward) - hidden category appears under its own localized heading in EN+DE - the `data-slot="achievement-card-hidden"` selector exists for E2E Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>