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

Support iconify icons #724

Merged
merged 2 commits into from
Aug 19, 2023
Merged

Support iconify icons #724

merged 2 commits into from
Aug 19, 2023

Conversation

ccutrer
Copy link
Contributor

@ccutrer ccutrer commented Jul 24, 2023

Closes #716

return Endpoint(
baseURL: "https://api.iconify.design/",
path: "/\(set)/\(icon).svg",
queryItems: [URLQueryItem(name: "height", value: "64")]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without this, SVGKit gives this error: https://github.com/SVGKit/SVGKit/blob/96c330df9627b26c1d3a3eb48a84b4eb5d21d7b3/Source/DOM%20classes/Core%20DOM/CSSPrimitiveValue.m#L150 and we just display an exclamation icon. I'm not sure if this is actually used by SVGKit, but 64 seems to be the size of the SVG icons from openHAB.

Closes openhab#716

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
@ccutrer
Copy link
Contributor Author

ccutrer commented Aug 5, 2023

@digitaldan @timbms any chance you could take a look at this?

@digitaldan
Copy link
Contributor

Hey @ccutrer , yeah i will take a look this weekend, been a bit busy this month. Its also time to get a actual release pushed, so will schedule that after this gets merged. Thanks!

Copy link
Contributor

@digitaldan digitaldan left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@lolodomo
Copy link

Great. Please do not forget to update the table in the documentation showing what icon source is supported by each UI.
https://next.openhab.org/docs/configuration/items.html#icons

@ccutrer ccutrer deleted the 716-iconify branch September 16, 2023 14:33
@ccutrer
Copy link
Contributor Author

ccutrer commented Oct 9, 2023

@digitaldan: are you waiting on anything before doing the official release?

@digitaldan
Copy link
Contributor

No, just free time ;-) I'll look at getting a release ready this weekend.

lolodomo added a commit to lolodomo/openhab-docs that referenced this pull request Nov 19, 2023
See openhab/openhab-ios#724

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-docs that referenced this pull request Nov 19, 2023
See openhab/openhab-ios#724

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
stefan-hoehn pushed a commit to openhab/openhab-docs that referenced this pull request Nov 19, 2023
See openhab/openhab-ios#724

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
@ccutrer
Copy link
Contributor Author

ccutrer commented Dec 3, 2023

@digitaldan : any chance we could get a new release? or at least a new beta? The old beta expired, and can't be launched or joined anymore

@digitaldan
Copy link
Contributor

I just kicked of a test flight build. Unfortunately i never was able to get the production Fastlane build to run locally which i need to generate all the required screenshots for the the Apple store (there's a lot of them) . Its the only thing i think keeping us from pushing out a new build. Maybe @timbms or @weakfl could help with that? I spent a day trying to get it working before getting distracted on other projects.

@unclemike79
Copy link

Hello All. Was a new version of the IOS application ever published? The issue with iconify in the sitemap remains without an IOS app update.

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.

iconify icons in openHAB 4.0 are not supported
4 participants