Options available are the path in model (joining parents label), the parent label, the item name or nothing. The possibility to trim beginning or end of path is also configurable.
If nothing is selected, will display the footer defined in metadata (if any).
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Display of optional id in edition.
Display of size/position during resize/drag action.
Temporarily promote active item on top for clarity and to avoid having popup menu hidden by other items.
Fix bug where canvas items would snap to grid in run mode upon user interaction if grid is enabled.
Allow positioning widgets on the borders of canvas layouts.
Multiple canvas items selection and moving.
Selection using shift key, moving around via dragging or arrow keys.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Changes the parsing of the model so that Equipment or Points that are respectively sub-Equipment or Part Of an Equipment while having a Location parent can be displayed in the relevant Location tab card.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Allows using a OSGi bundle fragment to put new/additional resources
(ex. patch/app/index.html, patch/app/css/xyz.css etc.) to override built-in resources
like CSS or the logo.
Closes#551.
Signed-off-by: Łukasz Dywicki <luke@code-house.org>
* New option to display equipment as accordion in Locations cards, with the possibility to promote the main item of the equipment (widgetOrder == 0) as the accordion opening item, while keeping the functionality of the control.
* Improvements to equipment display in model pages.
- Removed duplicate filtering and sorting of model items (2-3 fold execution time reduction).
- Factorized some equipment display code.
- Renamed equipment options.
- Implementation of accordion style for equipment in Equipment page.
- Slots assigned to the custom list item widget are now copied to base widget so that accordion chevron and is displayed
and open even works for custom widgets used as equipment accordion open button.
- Detection of loop in semantic model to prevent stack overflow error and indicate correction path.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Also-by: Yannick Schaus <github@schaus.net>
For Main UI & Basic UI, with appropriate changes for the latter.
Leaving HABot to current versions for now until the build is fixed.
Signed-off-by: Jan N. Klug <github@klug.nrw>
For things configured via configuration files, the UI now masks passwords
by default. The behavior is now similar to things created in
the UI: passwords are only displayed after a click on the icon.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
There is now a HABot service configuration entry without any configuration parameters because those got removed in #1031.
Signed-off-by: Wouter Born <github@maindrain.net>
Added event terns for the Trigger Types for both nashorn and openhab-js.
Add groupNames to Item (openhab/openhab-js#86)
Add getItems
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
- When sorting 2 locations (Locations tab), sorting is first performed according to the ancestors widgetOrder, so that locations within the same parent appear grouped according to the choice of the administrator, then use the widgetOrder among all locations of the same parent, before finally using lexicographical comparison.
- When sorting 2 equipment (Equipment tab) or 2 properties (Properties tab), sorting is performed according to the widgetOrder. If undefined (or equal), sorting is performed according to the location (taking into account all ancestors). then only if undefined does lexicographical comparison takes place.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Especially for the activate and deactivate object skills
and various declinsion of locations. Other skills needed more training
data to prevent bias by sole training data amount.
Fixes#1271.
Signed-off-by: Jan Mattner <jan.mattner@gmail.com>
Merging after finishing this PR following @stefan-hoehn's request.
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
Also-by: Yannick Schaus <github@schaus.net>
Improve the relation display in model home cards.
For each Item part of the model, its parent path in model is parsed from API response and relations added to the item. Allows path label to be displayed in Equipment and Properties pages.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Also-by: Yannick Schaus <github@schaus.net>