Stats : paramètres de la courbe, masquer des mois
deploy / deploy (push) Successful in 38s

Bouton ⚙ sur « Mois par mois » : aperçu de la courbe et une case par mois
pour l'afficher ou non (ex. le mois d'un ajout en lot). Les mois masqués
n'apparaissent plus dans la courbe ni dans « mois le plus chargé » mais les
titres restent comptés partout ailleurs. Réglage synchronisé
(statsHiddenMonths), inclus dans la sauvegarde, 18 langues.

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-10-11 13:11:27 +00:00
1 parent 4c93b6a726
commit 0f3cc2e7d6
25 files changed
+239 -14

No files matched your search

+3 -3
View File
@@ -181,8 +181,8 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
getLists: () => listsRef.current,
applyLists: (next) => setLists(() => next, true),
getSettings: () => {
const { ratingScale, topCategories, accentColor, themeMode, notifPrefs, challenges } = settingsRef.current
return { ratingScale, topCategories, accentColor, themeMode, notifPrefs, challenges }
const { ratingScale, topCategories, accentColor, themeMode, notifPrefs, challenges, statsHiddenMonths } = settingsRef.current
return { ratingScale, topCategories, accentColor, themeMode, notifPrefs, challenges, statsHiddenMonths }
},
applySettings: (patch) => updateSettingsRef.current(patch, true),
itemsChanged: () => void reloadItems(),
@@ -223,7 +223,7 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
}, [settings.themeMode])
const updateSettings = useCallback((patch: Partial<Settings>, silent = false) => {
if (!silent && syncRef.current && ('ratingScale' in patch || 'topCategories' in patch || 'accentColor' in patch || 'themeMode' in patch || 'notifPrefs' in patch || 'challenges' in patch)) syncRef.current.markSettings()
if (!silent && syncRef.current && ('ratingScale' in patch || 'topCategories' in patch || 'accentColor' in patch || 'themeMode' in patch || 'notifPrefs' in patch || 'challenges' in patch || 'statsHiddenMonths' in patch)) syncRef.current.markSettings()
setSettings((prev) => {
const next = { ...prev, ...patch }
try {