Skip to content

Don't use server dynamic colors#599

Closed
seadowg wants to merge 9 commits into
music-assistant:devfrom
seadowg:dynamic-items
Closed

Don't use server dynamic colors#599
seadowg wants to merge 9 commits into
music-assistant:devfrom
seadowg:dynamic-items

Conversation

@seadowg

@seadowg seadowg commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

As discussed, this removes the server colors (which creates inconsitencies) and just uses the locally calculated colors everywhere. I've also made sure that animations only run once for a navigation entry so you don't see colors pop back in when going back.

seadowg added 2 commits June 12, 2026 10:01
These resulted in a mismatch with the player colors as the latter
comes from the server.
@seadowg seadowg marked this pull request as ready for review June 12, 2026 09:17
@seadowg seadowg requested a review from formatBCE June 12, 2026 09:18
@seadowg

seadowg commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator Author

@formatBCE a compromise here could be to keep the gradient in (in cases where can calculate one) as we never show that solid so the colors being "close, but not quite" doesn't really create as much visual weirdness. I'd just need to fix the reanimating when we return to screens, but I had a solution for that before I noticed the color clashes.

@formatBCE formatBCE left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good code. If we decide to remove that - let's merge.

@seadowg seadowg requested a review from formatBCE June 12, 2026 14:44
@seadowg seadowg changed the title Remove dynamic colors from item details Don't use server dynamic colors Jun 12, 2026
@seadowg

seadowg commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator Author

Closing in favour of another PR

@seadowg seadowg closed this Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants