feat(codes): redeemed and expired codes move below, and new codes are marked

A game's Codes tab lists the codes still to use first; a code redeemed on
every server played, or past its stated expiry, is greyed in a "Redeemed or
expired" section below. A date-only expiry passes once that date has ended
everywhere. Settings → Your games marks a followed game with its count of
unseen, still usable codes until its Codes tab is opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Opus 5.5 committed 2026-10-18 05:15:36 +02:00
1 parent 3c81b9b0f1
commit 3b29010e7c
7 files changed
+261 -58

No files matched your search

+1
View File
@@ -993,6 +993,7 @@ function ReaderContent({
{page === "settings" && (
<SettingsLayout
state={state}
codes={codes}
game={codesGame}
page={settingsPage}
onPage={(p) => {