From 8bbac6ec1236f104d3265eefa275b24e2c218e69 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Fri, 7 Nov 2025 21:14:27 -0800
Subject: taiko: implement taiko arcade score view

---
 frontend/src/pages/AllScores.tsx | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

(limited to 'frontend/src/pages/AllScores.tsx')

diff --git a/frontend/src/pages/AllScores.tsx b/frontend/src/pages/AllScores.tsx
index a831891..2e34a1c 100644
--- a/frontend/src/pages/AllScores.tsx
+++ b/frontend/src/pages/AllScores.tsx
@@ -11,6 +11,7 @@ import DivaScoreDisplay from "../components/displays/DivaScoreDisplay";
 import MusicDiverScoreDisplay from "../components/displays/MusicDiverScoreDisplay";
 import NostalgiaScoreDisplay from "../components/displays/NostalgiaScoreDisplay";
 import ReflecBeatScoreDisplay from "../components/displays/ReflecBeatScoreDisplay";
+import TaikoScoreDisplay from "../components/displays/TaikoScoreDisplay";
 type SortField = string;
 type SortDirection = "asc" | "desc";
 
@@ -297,7 +298,6 @@ const AllScores = () => {
                   showUsername={true}
                 />
               );
-              break;
             case "dancearound":
               return (
                 <DancearoundScoreDisplay
@@ -309,7 +309,6 @@ const AllScores = () => {
                   showUsername={true}
                 />
               );
-              break;
             case "diva":
               return (
                 <DivaScoreDisplay
@@ -321,7 +320,6 @@ const AllScores = () => {
                   showUsername={true}
                 />
               );
-              break;
             case "musicdiver":
               return (
                 <MusicDiverScoreDisplay
@@ -333,7 +331,6 @@ const AllScores = () => {
                   showUsername={true}
                 />
               );
-              break;
             case "nostalgia":
               return (
                 <NostalgiaScoreDisplay
@@ -345,7 +342,6 @@ const AllScores = () => {
                   showUsername={true}
                 />
               );
-              break;
             case "reflecbeat":
               return (
                 <ReflecBeatScoreDisplay
@@ -357,7 +353,17 @@ const AllScores = () => {
                   showUsername={true}
                 />
               );
-              break;
+            case "taiko":
+              return (
+                <TaikoScoreDisplay
+                  scores={scores}
+                  viewMode={viewMode}
+                  sortField={sortField}
+                  sortDirection={sortDirection}
+                  onSort={handleSort}
+                  showUsername={true}
+                />
+              );
             default:
               return (
                 <ScoreDisplay
-- 
cgit v1.2.3

