Commit Graph

5 Commits

Author SHA1 Message Date
sam e12716722a remove shape stuff 2026-05-11 14:49:11 +07:00
Chad Curtis 258b643ac5 Fix avatar shape not respected in notifications, audio visualizer, and follow pack cards 2026-03-16 03:55:21 -05:00
Chad Curtis c389ab98df Add audio to post detail, volume slider, and theme-aware audio visualizer
- Render audio in PostDetailPage (was only rendering in feed NoteCard)
- Add volume slider to VideoPlayer and AudioVisualizer (hover to reveal)
- Move shared volume state and handlers into usePlayerControls
- Replace hardcoded purple canvas colors with hsl(var(--primary))
- Replace bg-black with bg-background on AudioVisualizer container
2026-03-01 00:36:32 -06:00
Chad Curtis 4557326847 Fix ternary used as statement in AudioVisualizer togglePlay 2026-02-28 23:45:26 -06:00
Chad Curtis e1e5bbe696 Render audio uploads as video-style visualizer with avatar and sinewave
- Add AudioVisualizer component: mirrors VideoPlayer chrome exactly (same overlay controls, progress bar, hide-on-idle, scroll-pause) with a canvas sinewave and author avatar in the centre
- Wire audio into NoteCard (kind 1 notes), FileMetadataContent (kind 1063), and ComposeBox preview
- Extract shared utilities: formatTime, usePlayerControls hook, and mediaUrls (regexes + mimeFromExt) to eliminate duplication across VideoPlayer, AudioVisualizer, NoteCard, NoteContent, ComposeBox, and EmbeddedNote
- Fix ComposeBox: audio URLs now get correct imeta MIME tags and are excluded from link-embed detection
2026-02-28 23:35:17 -06:00