aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/pages/DeckCardsPage.tsx
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-02-17 13:13:21 +0000
committerClaude <noreply@anthropic.com>2026-02-17 13:13:21 +0000
commit3fc28ecfc649ac1b3223d68f1e08a96e46de59d2 (patch)
tree50c20100a34f67a2f2afdfdb606ecdf4bf9fa0b2 /src/client/pages/DeckCardsPage.tsx
parentee165ad0b3ac0bc5bb01b327238818d15faa6e4b (diff)
downloadkioku-3fc28ecfc649ac1b3223d68f1e08a96e46de59d2.tar.gz
kioku-3fc28ecfc649ac1b3223d68f1e08a96e46de59d2.tar.zst
kioku-3fc28ecfc649ac1b3223d68f1e08a96e46de59d2.zip
feat(cards): display FSRS difficulty level in card browse view
Show per-card difficulty (D: X.X) in the card list alongside existing metrics (reps, lapses). Hidden for unreviewed cards (difficulty = 0). https://claude.ai/code/session_019XoFbra6drKrZpHASUzKDq
Diffstat (limited to 'src/client/pages/DeckCardsPage.tsx')
-rw-r--r--src/client/pages/DeckCardsPage.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/pages/DeckCardsPage.tsx b/src/client/pages/DeckCardsPage.tsx
index 2b2ca88..8c839da 100644
--- a/src/client/pages/DeckCardsPage.tsx
+++ b/src/client/pages/DeckCardsPage.tsx
@@ -162,6 +162,11 @@ function NoteGroupCard({
{card.lapses > 0 && (
<span className="text-muted">{card.lapses} lapses</span>
)}
+ {card.difficulty > 0 && (
+ <span className="text-muted">
+ D: {card.difficulty.toFixed(1)}
+ </span>
+ )}
</div>
))}
</div>