Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix icons not showing in new frontend version #556

Merged
merged 2 commits into from
Oct 28, 2021
Merged

Conversation

regevbr
Copy link
Contributor

@regevbr regevbr commented Oct 28, 2021

Breaking changes made recently to the frontend, specifically in the ha-icon-button element, causes the media buttons to not show up. This PR fixed that issue while maintaining backward compatibility. I tested it locally on my hass instance.
You can see the change here:

https://github.com/home-assistant/frontend/blob/master/src/components/ha-icon-button.ts#L10-L11

home-assistant/frontend@0c940be#diff-b7749fac30d4d29a769a04d77d9e72093cfdfecd6e325fba66649575229bde9c

i.e I'm using the latest beta version of HA that was released a couple of hours ago

@regevbr
Copy link
Contributor Author

regevbr commented Oct 28, 2021

@kalkih can you please CR?

@kalkih
Copy link
Owner

kalkih commented Oct 28, 2021

Thanks, will take a look tonight.

@kalkih kalkih added the enhancement New feature or request label Oct 28, 2021
@kalkih kalkih changed the base branch from master to dev October 28, 2021 20:32
@kalkih
Copy link
Owner

kalkih commented Oct 28, 2021

Looks good!

I changed the base branch to dev as it's ahead of master and we want to merge this into it.
There are some conflicts that has to be resolved as well as a few new places where the <ha-icon-button> is used, would be nice if you cxould apply the same fix there..

See new <ha-icon-button> uses: 6d6e4b3 & 25fac1f

@regevbr
Copy link
Contributor Author

regevbr commented Oct 28, 2021

sure will take care of it now

@kalkih kalkih linked an issue Oct 28, 2021 that may be closed by this pull request
@regevbr
Copy link
Contributor Author

regevbr commented Oct 28, 2021

@kalkih rebased and fixed

@kalkih kalkih merged commit a64dcf3 into kalkih:dev Oct 28, 2021
@regevbr regevbr deleted the slots branch October 28, 2021 21:04
@regevbr
Copy link
Contributor Author

regevbr commented Oct 28, 2021

@kalkih thanks for the CR :-) when can we expect a new release?

@kalkih
Copy link
Owner

kalkih commented Oct 28, 2021

Thank you for the contribution!

Beta now: https://github.com/kalkih/mini-media-player/releases/tag/v1.14.0-beta

Release in a few days maybe, if things seem smooth 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No icons with HA version 2021.11.0b0
2 participants