wordeck/apps/web/src/lib
Till JS 9f019d8e2f
Some checks are pending
CI / validate (push) Waiting to run
feat(cards): leech detection in /me/stats + Stats-Page-Sektion
Karten mit ≥4 Lapses werden im Stats-Endpoint als `leech_cards`
geliefert (mit Front-Snippet, Deck-Name, Lapses-Count, sortiert
desc, max 20). Stats-Page zeigt eine rote „Schwierige Karten"-
Sektion mit Link in den Card-Editor.

* apps/api/src/routes/me.ts: GROUP BY card → SUM(lapses) ≥ 4
  Filter, frontSnippetFor()-Helper für alle 6 Card-Types
  (basic, basic-reverse, cloze, image-occlusion, audio-front,
  typing, multiple-choice). Cloze-Markup wird gestrippt damit
  der Snippet UI-tauglich ist.
* apps/web Stats-Page: neue CardSurface mit Warning-Icon, scrollbare
  Liste mit Front + Deck + Lapses-Badge, Empty-State.
* i18n in DE/EN/FR/IT/ES (5 Strings + plural-Form).

104/104 Tests grün (kein neuer Test — bestehende /me/stats-Tests
covern die Aggregations-Form), web check 0 errors.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 19:01:48 +02:00
..
anki Phase 9k: Media-Upload via MinIO-Container 2026-05-08 18:42:56 +02:00
api feat(cards): leech detection in /me/stats + Stats-Page-Sektion 2026-05-12 19:01:48 +02:00
auth feat(web): UI-Overhaul — Mobile-Nav, Sprachauswahl, 5 Sprachen, Stats-Karten 2026-05-11 14:20:01 +02:00
components feat(cards): deck management UI + production auth portal wiring 2026-05-11 18:50:27 +02:00
csv feat(web): CSV-Import/Export, Tab-Format-Import, PDF-Druckansicht 2026-05-11 18:27:39 +02:00
i18n feat(cards): leech detection in /me/stats + Stats-Page-Sektion 2026-05-12 19:01:48 +02:00
quizlet feat(web): CSV-Import/Export, Tab-Format-Import, PDF-Druckansicht 2026-05-11 18:27:39 +02:00
stores Phase 4: Frontend-Core MVP — Decks, Cards, Study mit FSRS-Loop 2026-05-08 16:52:31 +02:00
utils feat(decks): card-stack visualization + direct-launch study mode 2026-05-09 18:02:04 +02:00
index.ts Phase 0+1: Repo-Skelett für Cards-Greenfield 2026-05-08 14:08:41 +02:00
markdown.ts Phase 9k: Media-Upload via MinIO-Container 2026-05-08 18:42:56 +02:00