-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[ism8] Add manufacturer Wolf to add-on name field #17747
Conversation
This will show ism8 binding when users search for "wolf". Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Support for the suggestion finder could also eliminate the need to search for this binding? |
@@ -4,7 +4,7 @@ | |||
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd"> | |||
|
|||
<type>binding</type> | |||
<name>ISM8 Binding</name> | |||
<name>Wolf ISM8 Binding</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please regenerate the I18N properties file after this change:
openhab-addons/bundles/org.openhab.binding.ism8/src/main/resources/OH-INF/i18n/ism8.properties
Line 3 in 772026e
addon.ism8.name = ISM8 Binding |
Also, when renaming the binding, for consistency it should probably also be renamed in these places:
https://github.com/openhab/openhab-addons/tree/main/bundles/org.openhab.binding.ism8#ism8-binding (the headline, see #17675)
<name>openHAB Add-ons :: Bundles :: Ism8 Binding</name> |
<feature name="openhab-binding-ism8" description="ism8 Binding" version="${project.version}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if this is the right approach. I think that "renaming" the binding may be too much - just to give a better search experience.
Maybe it would be better to extend the search in the UI from title to the descriptions....
...and if that is too much effort, even living with the current situation might be an option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that bindings should not be renamed just to add search words for the UI, so if the renaming otherwise doesn't make sense or seems overkill, then I would also rather prefer one of your other suggested options.
I don't know if it is feasible to use description for the search as well, but you could try to open an issue in the openhab-webui repo. At first it seems straightforward, but when looking at a description, for example this one: "This is the binding for the ISM8 card used for Wolf heating systems or other Wolf eBus devices.", I wonder if certain words should be excluded to not give too many unrelated results. At least it looks like a simple substring matcher, but maybe there is a fancy search machine behind. 😄
Thanks, @jlaur, for the feedback. I have opened openhab/openhab-webui#2870 and will close this one. |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/entsoe-binding-4-0-0-5-0-0/149699/123 |
This will show ism8 binding when users search for "wolf".
#17682 (comment)
I am not sure if this should be done this way, as it feels somehow inconsistent with the actual name of the binding.