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

Jetpack Compose icon dialog #3631

Merged
merged 7 commits into from
Jul 4, 2023

Conversation

jpelgrom
Copy link
Member

@jpelgrom jpelgrom commented Jul 3, 2023

Summary

This PR takes @NotWoods' Compose icon dialog PR #3016 (thanks for all the work!) and rebases + updates it to work with a recent version of the app and fix various issues with the original code.

Migration extensively tested and should be pretty smooth - the icons now have less padding included than the previous icon dialog library so I've adjusted sizes in a few places to compensate for this.

The number of lines changed looks intimidating but it's not too bad as it includes a database JSON file and indentation changes.

Fixes #2709

Closes #3016

Screenshots

Light Dark
Icon dialog when opened A square dialog filled with icons, light mode A square dialog filled with icons, dark mode
Icon dialog searching A square dialog with the search query 'home' and a lot of home icons, light mode A square dialog with the search query 'home' and a lot of home icons, dark mode

Link to pull request in Documentation repository

n/a

Any other notes

NotWoods and others added 7 commits July 2, 2023 15:57
 - Fix and update database migration
 - Fix dependencies
 - Fix shortcut icons
 - Fix ComposeView in AlertDialog not working by switching implementation to DialogFragment
 - Fix icons that no longer exist
 - ktlint
 - Automotive asset
 - Handle icon ids in shortcuts to prevent users losing icons when updating shortcuts
 - Add padding, color filter to shortcut icons to keep icons consistent with older icons
 - Increase button widget icon padding to keep sizing consistent
 - Add tip to dialog about searching in non-English languages
@JBassett JBassett merged commit d1b17aa into home-assistant:master Jul 4, 2023
@jpelgrom jpelgrom deleted the compose-icon-dialog branch July 4, 2023 17:32
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.

Update Material Design Icons to 7.0.96
3 participants