feat: connect tournament views to APIs and recover archived stats
Remove development previews and complete hall of fame, match history, official results, and multi-kill API integration. Fix active match pagination and team-ready controls, preserve basic scoreboards, and recover statistics when Riot archives arrive. Use bounded in-process cache invalidation retries and add the Riot match lookup index migration with regression coverage.
This commit is contained in:
1 parent
20e1e6ec04
commit
0d7617e2d2
70 files changed
+3739
-1793
No files matched your search
+1
-27
@@ -8,7 +8,7 @@ import {
|
||||
useLocation,
|
||||
useNavigate,
|
||||
} from "react-router";
|
||||
import { lazy, Suspense, useState, type FormEvent, type ReactNode } from "react";
|
||||
import { useState, type FormEvent, type ReactNode } from "react";
|
||||
import { useMsal } from "@azure/msal-react";
|
||||
import { LogOut, Moon, Search, Sun } from "lucide-react";
|
||||
import DevAuthSwitcher from "./components/DevAuthSwitcher";
|
||||
@@ -31,12 +31,6 @@ import MatchAdminPage from "./pages/admin/MatchAdminPage";
|
||||
import TournamentCodesPage from "./pages/admin/TournamentCodesPage";
|
||||
import { PlainPage, Tooltip, pageWidthClass } from "./ui";
|
||||
|
||||
const InternalStatsPreview = import.meta.env.DEV
|
||||
? lazy(() => import("./preview/InternalStatsPreview"))
|
||||
: null;
|
||||
const MatchFlowsPreview = import.meta.env.DEV
|
||||
? lazy(() => import("./preview/MatchFlowsPreview"))
|
||||
: null;
|
||||
|
||||
const NAV_ICON_BUTTON_CLASS =
|
||||
"grid size-10 shrink-0 place-items-center rounded-field text-content-muted transition-colors hover:bg-sunken-strong hover:text-content md:size-11";
|
||||
@@ -367,26 +361,6 @@ function App() {
|
||||
path="/communities/:cid/internal-stats"
|
||||
element={<CommunityInternalStatsPage />}
|
||||
/>
|
||||
{InternalStatsPreview && (
|
||||
<Route
|
||||
path="/preview/internal-stats"
|
||||
element={
|
||||
<Suspense fallback={<PlainPage>전적 목업을 불러오는 중</PlainPage>}>
|
||||
<InternalStatsPreview />
|
||||
</Suspense>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
{MatchFlowsPreview && (
|
||||
<Route
|
||||
path="/preview/match-flows"
|
||||
element={
|
||||
<Suspense fallback={<PlainPage>내전 목업을 불러오는 중</PlainPage>}>
|
||||
<MatchFlowsPreview />
|
||||
</Suspense>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
<Route
|
||||
path="/communities/:cid/internal-stats/match/:matchId"
|
||||
element={<InternalMatchDetailPage />}
|
||||
|
||||
Reference in new issue
Block a user