From 78bf02568604cf86435bcfb20f125d57749b1ebb Mon Sep 17 00:00:00 2001 From: Z User Date: Thu, 29 Oct 2026 09:26:27 +0000 Subject: [PATCH] fcea9515-7ac3-402f-9159-635593e53a1f --- src/components/ava/header.tsx | 31 ++++++++++++------------------- src/lib/release-notes.ts | 6 ++++++ src/lib/version.ts | 5 ++++- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/components/ava/header.tsx b/src/components/ava/header.tsx index 29c3c60..1340fcd 100755 --- a/src/components/ava/header.tsx +++ b/src/components/ava/header.tsx @@ -1,19 +1,18 @@ // OVE — sticky app header: logo, audio source controls (segmented), the -// demo-track chip, theme tick switch, BPM readout, and the beat indicator + -// "Set Beat" button side by side (hard requirement: that pairing is always -// visible in the header). +// demo-track chip, What's New!, theme tick switch, BPM readout and the beat +// indicator. (v7.6.1: the Set Beat button moved out — tap-tempo lives in the +// Beat tab, and Space works anywhere.) 'use client' import { useRef, useSyncExternalStore } from 'react' -import { AudioWaveform, Disc3, FileAudio, Link2, Mic, Moon, Music2, Square, Sun, Timer } from 'lucide-react' +import { AudioWaveform, Disc3, FileAudio, Link2, Mic, Moon, Music2, Square, Sun } from 'lucide-react' import { useTheme } from 'next-themes' -import { Button } from '@/components/ui/button' import { Switch } from '@/components/ui/switch' import { BeatDot } from '@/components/ava/beat-dot' import { LinkDialog } from '@/components/ava/link-dialog' import { WhatsNew } from '@/components/ava/whats-new-dialog' -import { tapBeat, useAudioSource } from '@/components/ava/audio-source' +import { useAudioSource } from '@/components/ava/audio-source' import { useAvaStore } from '@/lib/store' import { getStoredDarkBase } from '@/lib/theme' import { APP_NAME, APP_SHORT } from '@/lib/version' @@ -41,7 +40,7 @@ function SourceSegmentButton({ aria-pressed={active} title={title} className={cn( - 'flex h-11 items-center gap-1.5 rounded-md px-3 text-xs font-medium transition-colors', + 'flex h-11 items-center gap-1.5 rounded-md px-3 text-xs font-medium transition-colors max-[400px]:gap-0 max-[400px]:px-2.5', active ? 'glow-segment bg-emerald-400/15 text-emerald-300' : tone === 'stop' @@ -49,8 +48,11 @@ function SourceSegmentButton({ : 'text-zinc-400 hover:bg-zinc-800 hover:text-zinc-100', )} > - - {label} + + {/* under 400px the five-button segment row exceeds the viewport — the + labels collapse to screen-reader-only (icon + tooltip carries the + meaning, same shortening pattern as What's New! → New) */} + {label} ) } @@ -192,21 +194,12 @@ export function AppHeader() { - {/* what's new + theme switch + BPM readout + beat indicator + Set Beat — always visible */} + {/* what's new + theme switch + BPM readout + beat indicator — always visible */}
-
diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts index 8c06301..ea91b2f 100644 --- a/src/lib/release-notes.ts +++ b/src/lib/release-notes.ts @@ -33,6 +33,12 @@ export interface ReleaseNote { } export const RELEASE_NOTES: ReleaseNote[] = [ + { + version: '7.6.1', + changes: [ + { kind: 'removed', text: 'The “Set Beat” button from the header — tap-tempo lives in the Beat tab (and Space still works anywhere). The beat indicator stays.' }, + ], + }, { version: '7.6', name: 'What’s New!', diff --git a/src/lib/version.ts b/src/lib/version.ts index 9cec5c8..b7637b3 100755 --- a/src/lib/version.ts +++ b/src/lib/version.ts @@ -12,6 +12,9 @@ // warns in the console when the two drift apart. // // History: +// 7.6.1 — header declutter: the Set Beat button is gone from the header +// (tap-tempo lives in the Beat tab, and the Space shortcut works +// anywhere — both unchanged). The beat indicator dot stays. // 7.6 — "What's New!" dialog: a Sparkles button in the header (left of // the theme switch) opens the visitor-facing changelog — every // release from v4.0 on, newest first, each with one-line Added / @@ -220,4 +223,4 @@ export const APP_NAME = 'Open Visualization Engine' export const APP_SHORT = 'OVE' -export const APP_VERSION = '7.6' +export const APP_VERSION = '7.6.1'