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

Correct overwriting integration labelling on integrations page #23206

Merged
merged 2 commits into from
Dec 8, 2024

Conversation

CFenner
Copy link
Contributor

@CFenner CFenner commented Dec 7, 2024

Proposed change

This hopefully fixes #22776

Addition to #22295

https://github.com/search?q=repo%3Ahome-assistant%2Ffrontend+ui.panel.config.integrations.config_entry.custom_integration&type=code

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@CFenner
Copy link
Contributor Author

CFenner commented Dec 7, 2024

Unfortunately I have no experience with frontend development or testing. I hope this fixes my issue. Maybe someone can assist with testing.

Also I'm not sure how to properly adapt the icon to be as here:

https://github.com/MindFreeze/frontend/blob/64285d5155aabdea4d2c8c6a9c1565430244cd5c/src/panels/config/integrations/ha-integration-card.ts#L159-L163

Probably the icon should be aligned with the one here:

https://github.com/MindFreeze/frontend/blob/9adfd802956411a57de87dd6b408473a37468170/src/panels/config/integrations/ha-integration-list-item.ts#L75

@MindFreeze would you know?

@CFenner CFenner marked this pull request as draft December 7, 2024 23:40
@MindFreeze MindFreeze self-assigned this Dec 8, 2024
@MindFreeze MindFreeze marked this pull request as ready for review December 8, 2024 17:15
Copy link
Contributor

@MindFreeze MindFreeze left a comment

Choose a reason for hiding this comment

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

Thanks @CFenner ! I updated the icon as well

@MindFreeze MindFreeze enabled auto-merge (squash) December 8, 2024 17:16
@MindFreeze MindFreeze merged commit c78d371 into home-assistant:dev Dec 8, 2024
11 checks passed
@CFenner
Copy link
Contributor Author

CFenner commented Dec 8, 2024

@CFenner CFenner deleted the patch-1 branch December 8, 2024 17:35
@MindFreeze
Copy link
Contributor

I think it was a design decision not to color the icons there so only the tooltip is different

@bramkragten bramkragten added this to the 2024.12 milestone Dec 9, 2024
bramkragten pushed a commit that referenced this pull request Dec 9, 2024
* Update ha-config-integration-page.ts

fixes #22776

* update icon color

---------

Co-authored-by: Petar Petrov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show replacing integration on integration entry page.
3 participants