diff --git a/js/src/features/playback/playback-controls.tsx b/js/src/features/playback/playback-page-indicator.tsx similarity index 87% rename from js/src/features/playback/playback-controls.tsx rename to js/src/features/playback/playback-page-indicator.tsx index 213a3a3..86cca38 100644 --- a/js/src/features/playback/playback-controls.tsx +++ b/js/src/features/playback/playback-page-indicator.tsx @@ -1,16 +1,16 @@ import { cn } from "@/lib/utils"; -interface PlaybackControlsProps { +interface PlaybackPageIndicatorProps { total: number; current: number; onGoTo: (index: number) => void; } -export function PlaybackControls({ +export function PlaybackPageIndicator({ total, current, onGoTo, -}: PlaybackControlsProps) { +}: PlaybackPageIndicatorProps) { if (total === 0) return null; return ( diff --git a/js/src/pages/stream-player-page.tsx b/js/src/pages/stream-player-page.tsx index 0e1f2dd..6361975 100644 --- a/js/src/pages/stream-player-page.tsx +++ b/js/src/pages/stream-player-page.tsx @@ -7,7 +7,7 @@ import { useAppStore } from "@/stores/app-store"; import { usePlaybackStore } from "@/stores/playback-store"; import { useRecordingStore } from "@/stores/recording-store"; import { ParticleRenderer } from "@/features/playback/particle-renderer"; -import { PlaybackControls } from "@/features/playback/playback-controls"; +import { PlaybackPageIndicator } from "@/features/playback/playback-page-indicator"; import { ReplyIndicator } from "@/features/recording/reply-indicator"; import { TextComposeOverlay } from "@/features/recording/text-compose-overlay"; import { RecordingOverlay } from "@/features/recording/recording-overlay"; @@ -222,7 +222,7 @@ export function StreamPlayerPage() { {/* Top overlay: progress bars + back button */}