From 92c819d33914bdbf71ea32e8e05c764f9cd4b8d5 Mon Sep 17 00:00:00 2001
From: Froidefond Julien
Date: Mon, 23 Feb 2026 13:49:03 +0100
Subject: [PATCH] =?UTF-8?q?feat:=20afficher=20badge=20priv=C3=A9=20(violet?=
=?UTF-8?q?)=20dans=20les=20cards=20du=20dashboard?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: Claude Sonnet 4.6
---
src/components/DashboardClient.tsx | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/src/components/DashboardClient.tsx b/src/components/DashboardClient.tsx
index 4560856..40e87a5 100644
--- a/src/components/DashboardClient.tsx
+++ b/src/components/DashboardClient.tsx
@@ -21,6 +21,7 @@ interface EvalRow {
evaluationDate: string;
template?: { name: string; dimensions?: Dimension[] };
status: string;
+ isPublic?: boolean;
dimensionScores?: { dimensionId: string; score: number | null; dimension?: { title: string } }[];
}
@@ -86,13 +87,20 @@ function EvalCard({
{e.candidateTeam && ` · ${e.candidateTeam}`}
-
- {e.status === "submitted" ? "ok" : "draft"}
-
+
+ {!e.isPublic && (
+
+ privé
+
+ )}
+
+ {e.status === "submitted" ? "ok" : "draft"}
+
+
{e.evaluatorName}