Add Rainy Mood toggle to player overflow menu#1753
Draft
jlpouffier wants to merge 2 commits into
Draft
Conversation
- New `useRainMood.ts` composable with module-level reactive state shared across all consumers - Rainy Mood enable/disable item added to the player overflow menu (player_menu_items.ts), positioned after "Don't stop the music" - Rain status is fetched fresh each time the menu opens so the label correctly shows the current state - Removed the standalone toolbar button in favour of the menu item - Added `rainy_mood_enable` / `rainy_mood_disable` English translation keys Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Auto-format multi-line imports in PlayerCard and PlayerFullscreen - Delete RainMoodBtn.vue (replaced by overflow menu item) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the Rainy Mood toggle to the player overflow menu, wired to the
rain_moodplugin provider introduced in the companion server PR.Dependency
Demo
What it live here
Functional logic
See music-assistant/server#3844 for the full behavioural spec (setting, play/pause/seek/transition/queue logic and design decisions).
Screenshots
What changed
useRainMood.tscomposable with module-level reactive state shared across all consumersplayer_menu_items.ts), positioned after "Don't stop the music"rainy_mood_enable/rainy_mood_disable)Test plan
⋮) — verify "Enable 'Rainy Mood'" appears only when the plugin is installed🤖 Generated with Claude Code