Suppression des défis

Carte de l'accueil, écran des défis, calculs, textes (18 langues) et animation retirés.
Les défis déjà enregistrés sont ignorés à la lecture et disparaissent à la prochaine synchro.
Le journal des épisodes (episodeLog / rewatchLog) reste, déplacé dans src/lib/episodeLog.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-11-27 16:04:26 +00:00
1 parent 1926c67173
commit 62e04bd67a
30 files changed
+54 -2433

No files matched your search

+1 -3
View File
@@ -20,7 +20,7 @@ import {
safeStringList,
} from './security'
import { normalizeText, todayISO, uid } from './utils'
import { normalizeChallenges, normalizeEpisodeLog } from './challenges'
import { normalizeEpisodeLog } from './episodeLog'
import { normalizeSeasonRatings } from './seasons'
import { normalizeRewatch } from './rewatch'
@@ -163,8 +163,6 @@ export function normalizeSettings(raw: unknown): Partial<Settings> | undefined {
if (isHexColor(raw.accentColor)) out.accentColor = raw.accentColor.toLowerCase()
const themeMode = cleanThemeMode(raw.themeMode)
if (themeMode) out.themeMode = themeMode
const challenges = normalizeChallenges(raw.challenges)
if (challenges) out.challenges = challenges
if (Array.isArray(raw.statsHiddenMonths)) {
out.statsHiddenMonths = [...new Set(raw.statsHiddenMonths.filter((m): m is string => typeof m === 'string' && /^\d{4}-(0[1-9]|1[0-2])$/.test(m)))].sort().slice(-600)
}