diff --git a/frontend/src/components/VibeAura.tsx b/frontend/src/components/VibeAura.tsx index 78fcce2..52eda5a 100644 --- a/frontend/src/components/VibeAura.tsx +++ b/frontend/src/components/VibeAura.tsx @@ -17,8 +17,8 @@ function describeProfile(energy: number, novelty: number) { return { energyLabel, discoveryLabel }; } -/** A small, ambient representation of the live recommendation profile. */ -export function VibeAura({ profile }: { profile: VibeProfile }) { +/** An ambient representation of the live recommendation profile. */ +export function VibeAura({ profile, ambient = false }: { profile: VibeProfile; ambient?: boolean }) { const energy = clamp(profile.energy, 0.5); const novelty = clamp(profile.noveltyHunger ?? profile.explorationCoefficient, 0.3); const { energyLabel, discoveryLabel } = describeProfile(energy, novelty); @@ -32,10 +32,12 @@ export function VibeAura({ profile }: { profile: VibeProfile }) { return (
@@ -46,10 +48,12 @@ export function VibeAura({ profile }: { profile: VibeProfile }) {
-
- Your Vibe is {energyLabel} - Leaning {discoveryLabel}; it shifts as you listen. -
+ {!ambient && ( +
+ Your Vibe is {energyLabel} + Leaning {discoveryLabel}; it shifts as you listen. +
+ )}
); } diff --git a/frontend/src/pages/Vibe.tsx b/frontend/src/pages/Vibe.tsx index 5dca92a..0cf0509 100644 --- a/frontend/src/pages/Vibe.tsx +++ b/frontend/src/pages/Vibe.tsx @@ -186,15 +186,15 @@ export default function Vibe() { // ---- Active session ---- return ( - -
-
- -

Vibing

- {initialBatchStatus === 'loading' && } -
-
- + + +
+
+
+ +

Vibing

+ {initialBatchStatus === 'loading' && } +
-
-
+ - {(empty || initialBatchStatus === 'exhausted' || initialBatchStatus === 'failed') && ( -
- {initialBatchStatus === 'failed' - ? 'Could not load recommendations for this Vibe. Try starting a different one.' - : 'No recommendations came back for this seed yet. Try ending and starting a different vibe.'} -
- )} + {(empty || initialBatchStatus === 'exhausted' || initialBatchStatus === 'failed') && ( +
+ {initialBatchStatus === 'failed' + ? 'Could not load recommendations for this Vibe. Try starting a different one.' + : 'No recommendations came back for this seed yet. Try ending and starting a different vibe.'} +
+ )} - {error && ( -
- {error} -
- )} + {error && ( +
+ {error} +
+ )} - {planVersion &&

Plan revision {planVersion}; upcoming tracks may change as you listen.

} + {planVersion &&

Plan revision {planVersion}; upcoming tracks may change as you listen.

} - {currentTrack && ( -
- - -
- )} + {currentTrack && ( +
+ + +
+ )} - + +
); }