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

Use icon keys everywhere #576

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Use icon keys everywhere #576

merged 2 commits into from
Sep 4, 2024

Conversation

rock3r
Copy link
Collaborator

@rock3r rock3r commented Sep 4, 2024

This PR moves the last usages of the old, deprecated PainterProvider- and String-based Icon APIs to the IconKey-based ones. It then marks the deprecated methods as scheduled for removal before 1.0.

Closes #433

@rock3r rock3r added the cleanup Improve the project/tooling and/or get rid of tech debt label Sep 4, 2024
@rock3r rock3r self-assigned this Sep 4, 2024
@hamen hamen merged commit 80efd83 into main Sep 4, 2024
1 check passed
@hamen hamen deleted the 433-use-icon-keys-everywhere branch September 4, 2024 11:50
rock3r added a commit that referenced this pull request Sep 5, 2024
In this case, they were used in the Menus API. Not sure why find usages
did not show these when I did the work for #576...
rock3r added a commit that referenced this pull request Sep 5, 2024
In this case, they were used in the Menus API. Not sure why find usages
did not show these when I did the work for #576...
rock3r added a commit that referenced this pull request Sep 5, 2024
* Remove one more usage of resource-based Icon APIs

In this case, they were used in the Menus API. Not sure why find usages
did not show these when I did the work for #576...

* Update readme, fleshing out icon loading in particular

* Deprecate PlatformIcon — not needed anymore

IconKey now carries the class information with itself, so no need for
the composable anymore, whose job was to provide a default class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Improve the project/tooling and/or get rid of tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use new icon key-based API everywhere
2 participants