From 80cbccac42a80782252096333ec275a8dc38fbdd Mon Sep 17 00:00:00 2001 From: Ashton Anderson Date: Sun, 29 Mar 2026 19:20:37 -0400 Subject: [PATCH 1/2] fix: restore broadcast analysis controls --- src/components/Analysis/BroadcastAnalysis.tsx | 1 + src/pages/broadcast/[broadcastId]/[roundId].tsx | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/components/Analysis/BroadcastAnalysis.tsx b/src/components/Analysis/BroadcastAnalysis.tsx index 53f5de92..bff0786f 100644 --- a/src/components/Analysis/BroadcastAnalysis.tsx +++ b/src/components/Analysis/BroadcastAnalysis.tsx @@ -1227,6 +1227,7 @@ export const BroadcastAnalysis: React.FC = ({ diff --git a/src/pages/broadcast/[broadcastId]/[roundId].tsx b/src/pages/broadcast/[broadcastId]/[roundId].tsx index c884b234..2981c9f2 100644 --- a/src/pages/broadcast/[broadcastId]/[roundId].tsx +++ b/src/pages/broadcast/[broadcastId]/[roundId].tsx @@ -115,12 +115,21 @@ const BroadcastAnalysisPage: NextPage = () => { undefined, false, ) + const defaultModelAppliedForGameId = useRef(null) useEffect(() => { - if (analysisController.currentMaiaModel !== 'maia_kdd_2600') { - analysisController.setCurrentMaiaModel('maia_kdd_2600') - } + const gameId = broadcastController.currentGame?.id + if (!gameId) return + + if (defaultModelAppliedForGameId.current === gameId) return + + defaultModelAppliedForGameId.current = gameId + + if (analysisController.currentMaiaModel === 'maia_kdd_2600') return + + analysisController.setCurrentMaiaModel('maia_kdd_2600') }, [ + broadcastController.currentGame?.id, analysisController.currentMaiaModel, analysisController.setCurrentMaiaModel, ]) From b10eed6fd3556ad4cdb38a977dbe26d62bf3afae Mon Sep 17 00:00:00 2001 From: Ashton Anderson Date: Sun, 29 Mar 2026 23:08:44 -0400 Subject: [PATCH 2/2] Point candidates page to live broadcast --- src/pages/candidates.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/pages/candidates.tsx b/src/pages/candidates.tsx index ad822f11..9db369e9 100644 --- a/src/pages/candidates.tsx +++ b/src/pages/candidates.tsx @@ -16,6 +16,7 @@ import { import { GameTree } from 'src/types' const CANDIDATES_COMPLETED_STORAGE_KEY = 'maia-candidates-completed' +const CANDIDATES_BROADCAST_HREF = '/broadcast/BLA70Vds/uLCZwqAK' const readCompletedChallenges = (): string[] => { if (typeof window === 'undefined') return [] @@ -241,6 +242,15 @@ export default function CandidatesPage() {

Round 1

+ + + live_tv + + Watch Candidates Broadcast + {positions.map((position) => (