Fix problem where accordion items caused issue in the events handling, preventing promoted widgets from working (e.g. oh-toggle).
Add styling to present equipment as accordion as activable items (pointer, hover and active states), in a similar fashion as regular link list items.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
- Add @ & @@ operators to insert item states.
- Add `user` context object.
- Allow expressions to specify the component type.
- Allow HTML elements as component types to build HTML structures with components & slots.
- Add 'Content' element (add the `text` config parameter inline).
Signed-off-by: justin <justin.georgi@gmail.com>
* [MainUI] Improve docs for the `actionPhotos` prop & Make Item start with uppercase
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* [MainUI] Regenerate component docs
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* [MainUI] widget-mixin: Evaluate expressions in Arrays
This adds support for evaluating expressions in Arrays of the configuration of a component.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
For Main UI's Thing-Details view.
Matching is by group param context ("actions") first, then falls back to
"by name" for Z-Wave binding backwards-compatibility.
Closes#1491.
Signed-off-by: Mateusz Bronk <bronk.m+gh@gmail.com>
Also-by: Yannick Schaus <github@schaus.net>
The add-on image downloading is a lot faster when using non-sequential lazy loading.
Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Wouter Born <github@maindrain.net>
moduleError is not used, so don't even bother setting it, and
just always assign the script if it's set up in the module's configuration.
this makes it easier for different scripting tools to expose their data
in the editor
Signed-off-by: Cody Cutrer <cody@cutrer.us>
file-based scripts use SimpleRule, which use jsr223.ScriptedAction,
not script.ScriptAction. so detect them, and allow the script to be loaded.
also use the proper comment character for ruby. syntax highlighting already
works
https://github.com/boc-tothefuture/openhab-jruby/pull/617 will update
the ruby scripting library to provide the additional necessary metadata.
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Hides 'NULL' labels in oh-label-item while not preventing display of labels for Group where the item to display option has been set.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
This prevents the following warnings when executing: `mvn i18n:generate-default-translations`
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 was not found in https://openhab.jfrog.io/openhab/libs-snapshot during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of openhab-snapshot has elapsed or updates are forced
Signed-off-by: Wouter Born <github@maindrain.net>
On Windows org.openhab.ui.cometvisu fails to build:
`Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.5.0:xjc (default) on project org.openhab.ui.cometvisu: "file:\C:\Users\runneradmin\.m2\repository\org\glassfish\jaxb\jaxb-xjc\2.3.2\jaxb-xjc-2.3.2.jar!\META-INF\versions\9" is not a valid file name: {1}: Invalid file path -> [Help 1]`
Signed-off-by: Wouter Born <github@maindrain.net>
* Upgrade actions to latest versions
* Upgrade Maven to 3.8.6
* Use Temurin JDK instead of Zulu JDK
The Temurin JDK is preinstalled in the [Ubuntu image](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#java) whereas the Zulu JDK first need to be downloaded.
It should also perform better because the Temurin JDK is linked to glibc 2.12 whereas the Zulu JDK is linked to glibc 2.5.
Also adds missing wildcards to the .gitattributes file.
Signed-off-by: Wouter Born <github@maindrain.net>