From 30c03e267267770ffba33e050d41b38e8b6f2213 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Thu, 23 Oct 2025 11:32:59 -0700
Subject: refactor: drs,around,diva display cleanup logic

---
 frontend/src/components/displays/DancerushScoreDisplay.tsx | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'frontend/src/components/displays/DancerushScoreDisplay.tsx')

diff --git a/frontend/src/components/displays/DancerushScoreDisplay.tsx b/frontend/src/components/displays/DancerushScoreDisplay.tsx
index fb31870..fcdc254 100644
--- a/frontend/src/components/displays/DancerushScoreDisplay.tsx
+++ b/frontend/src/components/displays/DancerushScoreDisplay.tsx
@@ -37,10 +37,8 @@ const DancerushScoreDisplay: React.FC<ScoreDisplayProps> = ({
 }) => {
   // Key mappings for better display names. Hit or miss
   const keyDisplayNames: Record<string, string> = {
-    title: "Title",
-    artist: "Artist",
     score: "Score",
-    difficulty: "Difficulty Number",
+    difficulty: "Level",
     lamp: "Rank",
     diff_lamp: "Chart Difficulty",
     timestamp: "Date",
@@ -50,7 +48,6 @@ const DancerushScoreDisplay: React.FC<ScoreDisplayProps> = ({
     great: "Great",
     good: "Good",
     bad: "Bad",
-    miss: "Miss",
     username: "Username",
     num_players: "Players"
   };
@@ -61,7 +58,7 @@ const DancerushScoreDisplay: React.FC<ScoreDisplayProps> = ({
     "lamp",
     "diff_lamp",
   ];
-  const expandableKeys = ["judgements", "optional"];
+  const expandableKeys = ["judgements", "optional", "num_players"];
   // eslint-disable-next-line @typescript-eslint/no-explicit-any
   const formatValue = (value: any, key: string): string => {
     if (value === null || value === undefined) return "N/A";
@@ -272,7 +269,6 @@ const DancerushScoreDisplay: React.FC<ScoreDisplayProps> = ({
     return (
       <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 gap-6">
         {sortedScores.map((score, index) => {
-          // eslint-disable-next-line @typescript-eslint/no-unused-vars
           const { mainStats, expandable, timestamp } =
             getScoreEntries(score);
           const chartIdHash = SHA1(`dancerush${score.title}${score.artist}`).toString();
-- 
cgit v1.2.3

