From 6921022e87ad923c2cde7c834b1c1933735b85fa Mon Sep 17 00:00:00 2001 From: Azmog <80716388+AzmogEx@users.noreply.github.com> Date: Fri, 19 Jun 2026 00:02:33 +0200 Subject: [PATCH] =?UTF-8?q?fix(dsfr):=20remplace=20l'usage=20d=C3=A9tourn?= =?UTF-8?q?=C3=A9=20de=20fr-card=20par=20un=20panneau=20.app-panel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .fr-card (flex + height:100% + bordure ::before) débordait quand utilisé comme conteneur générique (wizard de saisie, journal, rapports, profil, timeline) et chevauchait le footer. Remplacé par .app-panel (panneau neutre, variables DSFR). Les vraies cartes structurées (fr-card__body) sont conservées. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/app/(protected)/journal/nouvelle-saisie/page.tsx | 2 +- frontend/src/app/(protected)/journal/page.tsx | 2 +- frontend/src/app/(protected)/journal/rapports/page.tsx | 8 ++++---- frontend/src/app/(protected)/profil/page.tsx | 6 +++--- frontend/src/app/globals.css | 8 ++++++++ frontend/src/components/features/TrackerTimeline.tsx | 2 +- frontend/src/components/ui/Card.tsx | 2 +- mobile/tsconfig.json | 9 +++++++-- 8 files changed, 26 insertions(+), 13 deletions(-) diff --git a/frontend/src/app/(protected)/journal/nouvelle-saisie/page.tsx b/frontend/src/app/(protected)/journal/nouvelle-saisie/page.tsx index 3b93aef..42e8d7b 100644 --- a/frontend/src/app/(protected)/journal/nouvelle-saisie/page.tsx +++ b/frontend/src/app/(protected)/journal/nouvelle-saisie/page.tsx @@ -86,7 +86,7 @@ export default function NouvelleSaisiePage() { {/* Étape actuelle */} -
+

{STEPS[step - 1].description}

diff --git a/frontend/src/app/(protected)/journal/page.tsx b/frontend/src/app/(protected)/journal/page.tsx index 1e84b7c..1280e05 100644 --- a/frontend/src/app/(protected)/journal/page.tsx +++ b/frontend/src/app/(protected)/journal/page.tsx @@ -110,7 +110,7 @@ export default function JournalPage() { {/* Filtres */} {showFilters && ( -
+
diff --git a/frontend/src/app/(protected)/journal/rapports/page.tsx b/frontend/src/app/(protected)/journal/rapports/page.tsx index 45ae6fe..e2d5346 100644 --- a/frontend/src/app/(protected)/journal/rapports/page.tsx +++ b/frontend/src/app/(protected)/journal/rapports/page.tsx @@ -128,26 +128,26 @@ export default function RapportsPage() {
{/* Répartition (Camembert) */} -
+

Répartition des émotions

{/* Évolution (Lignes) */} -
+

Évolution dans le temps

{/* Intensité moyenne (Barres) */} -
+

Intensité moyenne par période

{/* Détail répartition */} {rapport.repartition.length > 0 && ( -
+

Détail par émotion

    {rapport.repartition.map((item) => ( diff --git a/frontend/src/app/(protected)/profil/page.tsx b/frontend/src/app/(protected)/profil/page.tsx index be9fde3..91ad82b 100644 --- a/frontend/src/app/(protected)/profil/page.tsx +++ b/frontend/src/app/(protected)/profil/page.tsx @@ -79,7 +79,7 @@ export default function ProfilPage() {

    Mon profil

    {/* Infos du profil */} -
    +

    {user?.prenom} {user?.nom}

    @@ -171,7 +171,7 @@ export default function ProfilPage() {
    {/* Changer mot de passe */} -
    +

    {/* Zone dangereuse — RGPD */} -
    +