fix: move BETA badge after green dot in navbar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-09 15:36:24 +00:00
co-authored by Claude Opus 4.6
parent 226d242552
commit df70f5f093
5 changed files with 46 additions and 19 deletions
+8 -4
View File
@@ -248,13 +248,17 @@ async function handleRoundEnd(data: any) {
const cLabel = currentChallengeInfo.value?.label || challengeLabel(currentChallengeInfo.value?.type || '')
// Don't show the human player's typed answer in the battle log
const isAHuman = myBotId.value === fd.botA.id && isHumanFight.value
const isBHuman = myBotId.value === fd.botB.id && isHumanFight.value
liveLogItems.value.push(
{ type: 'header', round, text: `ROUND ${round}: ${cLabel}`, color: 'neon-purple' },
)
if (result.botAResponse) {
if (result.botAResponse && !isAHuman) {
liveLogItems.value.push({ type: 'responseA', round, text: `${fd.botA.name}: ${result.botAResponse}`, color: 'neon-cyan' })
}
if (result.botBResponse) {
if (result.botBResponse && !isBHuman) {
liveLogItems.value.push({ type: 'responseB', round, text: `${fd.botB.name}: ${result.botBResponse}`, color: 'neon-pink' })
}
if (result.narration) {
@@ -269,8 +273,8 @@ async function handleRoundEnd(data: any) {
if (liveScene) {
fanfareRound(round)
if (result.botAResponse) liveScene.showSpeechBubble('a', result.botAResponse, 3)
if (result.botBResponse) {
if (result.botAResponse && !isAHuman) liveScene.showSpeechBubble('a', result.botAResponse, 3)
if (result.botBResponse && !isBHuman) {
setTimeout(() => {
if (liveScene && result.botBResponse) liveScene.showSpeechBubble('b', result.botBResponse, 2.5)
}, 300)