feat: refine match game detail ux

This commit is contained in:
dahyeon committed 2026-06-20 01:04:03 -07:00
1 parent 747adfcb11
commit 0434a5db66
9 files changed
+156 -206

No files matched your search

@@ -36,7 +36,7 @@ const DEFAULT_LIST_LIMIT = 20;
const MAX_LIST_LIMIT = 50;
const MAX_MATCH_SCAN = 300;
const MIN_HIGHLIGHT_GAMES = 5;
const MATCH_DETAIL_RESPONSE_CACHE_VERSION = 2;
const MATCH_DETAIL_RESPONSE_CACHE_VERSION = 3;
interface CommunityStatsContext {
community: CommunityDocument;
@@ -248,6 +248,7 @@ export class CommunityStatsService {
participants: team.participants.map((record) => ({
userId: record.userId,
summonerName: record.summonerName,
tagLine: record.tagLine,
teamIndex: record.teamIndex,
side: record.side,
teamPosition: record.teamPosition,
@@ -1027,6 +1028,7 @@ function isCompleteMatchDetailResponse(
Array.isArray(team.bans) &&
team.participants.every(
(participant) =>
typeof participant.tagLine === 'string' &&
Array.isArray(participant.itemBuild) &&
Array.isArray(participant.skillBuild),
),