Commit Graph

72 Commits (final-4.2.x)

Author SHA1 Message Date
lolodomo dd08b2b140 [sitemap] Fix confusion between colon and semicolon (#2329)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-08 09:28:45 +02:00
lolodomo d7b7ed9208
[sitemap] New Button element (#2316)
* [sitemap] New Button element

Related to openhab/openhab-core#4173

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Not deprecated

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-06-30 13:28:52 +02:00
JustinGeorgi 2cda6b86ed
Add variable scope and oh-context features to expression page (#2313)
* Add variable scope and oh-context features to expression page

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

* Apply suggestions from code review

Co-authored-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: JustinGeorgi <77952587+JustinGeorgi@users.noreply.github.com>

---------

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Signed-off-by: JustinGeorgi <77952587+JustinGeorgi@users.noreply.github.com>
Co-authored-by: Florian Hotze <florianh_dev@icloud.com>
2024-06-26 22:33:25 +02:00
lolodomo b01b68fe10
[sitemap] Press & release feature for buttons in a switch element (#2293)
Related to openhab/openhab-core#4183 and openhab/openhab-core#3822

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-12 11:43:09 +02:00
lolodomo 7ec3f894e2
[sitemap] Precision for Default element leading to Slider element (#2294)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-12 11:42:02 +02:00
mueller-ma d3af9987af
[sitemap] New Slider parameter releaseOnly (#2287) 2024-04-28 07:40:26 +02:00
lolodomo 817bdabb66
[sitemap] Extended period attribute for chart to cover past and future (#2284)
Related to openhab/openhab-webui#2518

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-04-19 18:50:20 +02:00
Florian Hotze f30e421954
Widget expression: Add docs for `#` shortcut (#2279)
* Widget expressions Add docs for `#` shortcut

Refs https://github.com/openhab/openhab-webui/pull/2441.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Address review

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Fix markdownlint

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-29 12:01:42 +01:00
Florian Hotze d04a583ee5
Improvements to UI-related documentation (#2229)
* Persistence config: Mention UI support & Link UI docs

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Add links to docs from Main UI docs pages

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Minor wording improvements

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Building Pages: Add CSS section

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Expand sidebar for Main UI devtools & Creating Widgets

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Add some images

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Fix sidebar

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Remove ugly border from image

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Address review

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-02-10 00:13:15 +01:00
Florian Hotze 321c8decda
Add Main UI docs for integration into sidebar help (#2199)
* Add Main UI docs structure & Migrate UI-integrated docs

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Add some links

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Add CONTRIBUTING.md

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Update icon comments for UI code change

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Fix markdownlint

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Migrate existing MainUI settings documentation

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Fix build & Update sidebar

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Update img links

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Migrate docs from the UI section

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Add persistence docs

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Fixes & Improvements

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Update CONTRIBUTING.md

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Address review

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-01-27 00:35:27 +01:00
stefan-hoehn 03b43caf83
Add menu grouping in sidebar, prepare for better UI doc integration (#2198)
* Add menu grouping in sidebar, prepare for better UI doc integration

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>

* review comments

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>

* Markdown fixes

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>

---------

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2024-01-13 20:48:06 +01:00
jimtng 190f99e42b
Correction on default color conditions (#2193)
Signed-off-by: jimtng <2554958+jimtng@users.noreply.github.com>
2023-12-31 13:10:21 +01:00
Florian Hotze 44fe6b46cd
Consolidate widget expression and css docs into their own pages (#2189)
* Add new pages for CSS and widget expressions

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Merge widget expression docs into a single page

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Fix links

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Move CSS section to its own page

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Minor typo

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Address review

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-12-27 21:22:39 +01:00
lolodomo 0f2f621f9a
Sitemap: header row for chart/image/video/mapview/webview elements (#2173)
* Sitemap: header row for chart/image/video/mapview/webview elements

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment addressed

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-12-16 17:52:15 +01:00
lolodomo b656ddcdcd
Sitezmap: new Buttongrid element (#2176)
* Sitezmap: new Buttongrid element

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comments addressed

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-12-16 17:29:35 +01:00
lolodomo 0cd203c101
Sitemap: extended syntax for icon to define conditional rules (#2175)
* Sitemap: extended syntax for icon to define conditional rules

Related to openhab/openhab-core#3820

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Considers review comments

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-12-16 17:23:04 +01:00
lolodomo 215240a12a
Extennded value for sitemap chart period (#2158)
See openhab/openhab-core#3863

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-11-25 09:40:30 +01:00
lolodomo 35c79eead4
[sitemap] Combined conditions with AND (#2152)
* [sitemap] Combined conditions with AND

Related to openhab/openhab-core#3819

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Consider review comments

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-11-19 14:20:14 +01:00
lolodomo eb1b836f90
[sitemap] New parameter staticIcon (#2153)
* [sitemap] New parameter staticIcon

Related to openhab/openhab-core#3735

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: choosing the icon

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-11-19 14:15:51 +01:00
lolodomo e892dc5b81
[sitemap] New optional icon in mappings (#2148)
Related to openhab/openhab-core#3809

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-11-18 22:03:49 +01:00
Wouter Born 98a6d319a6
Link to Java 17 documentation (#2119)
This prevents issues because older documentation may not apply to Java 17.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-21 18:13:13 +02:00
Florian Hotze 1e578a97ef
Update Main UI expressions docs (#2111)
* Update Main UI expressions docs

The docs mention chart pages as an exception where expressions aren't supported, but https://github.com/openhab/openhab-webui/pull/1649 introduced support. This updates the docs.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* Update building-pages.md

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-08-07 12:18:11 +02:00
Wouter Born 010da345e1
Fix broken links (#2108)
Some documentation files were moved in #1872 which caused these links to be broken.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-30 22:40:46 +02:00
Дилян Палаузов 098ddb5142
ui/sitemaps.md: emphasize period= is mandatory parameter in Chart (#2091) 2023-07-01 11:08:34 +02:00
Дилян Палаузов 524cf43f1b
Typos (#2078)
Add an example to Group item, that it can reference sub-types of
Number (dimensions).
2023-05-24 10:30:12 +02:00
mueller-ma 24d6865960
Document Sitemap Chart parameter yAxisDecimalPattern (#2079)
* Document Sitemap Chart parameter yAxisDecimalPattern 

Closes #2014

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>

* Update sitemaps.md

---------

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-05-17 08:50:00 +02:00
Mark Herwege 101bd547fd
Add inputHint parameter (#2045)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-04-06 16:50:34 +02:00
mueller-ma 86ab6ecead
[Sitemap] Add color 'itemValue' (#2032)
* [Sitemap] Add color 'itemValue'

https://github.com/openhab/openhab-core/pull/3453
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>

* update

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>

---------

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-18 17:06:45 +01:00
mueller-ma ef65c9d152
Sitemap parameter iconcolor (#2021)
Closes #2015

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-08 16:58:57 +01:00
mueller-ma f593bbd85e
Sitemap: Theme colors are supported by Basic UI (#2019)
Support has been added in https://github.com/openhab/openhab-webui/pull/1733

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-06 00:29:59 +01:00
mueller-ma 73a2efc548
Remove "begin/end" from Sitemap Chart syntax (#2018)
They aren't supported in the Sitemap syntax: https://github.com/openhab/openhab-core/blob/main/bundles/org.openhab.core.model.sitemap/src/org/openhab/core/model/sitemap/Sitemap.xtext#L63-L71

Closes #503

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-06 00:28:16 +01:00
lolodomo 799cbf1199
[sitemap] forceasitem must be all in lowercase (#1989)
Syntax can be checked here:
0d0b64b8f6/bundles/org.openhab.core.model.sitemap/src/org/openhab/core/model/sitemap/Sitemap.xtext (L62)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-03-05 22:03:22 +01:00
Mark Herwege 94cf65c750
[sitemap] document new input element (#2012)
* sitemap input element

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Update ui/sitemaps.md

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

---------

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Co-authored-by: Jerome Luckenbach <github@luckenba.ch>
2023-03-05 20:52:41 +01:00
stefan-hoehn e0f55cf610
typos and improvements (#2016)
Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2023-03-02 21:46:44 +01:00
mueller-ma 29e849cd9c
Add theme colors (#2008)
These colors have been added in Android recently: https://github.com/openhab/openhab-android/issues/3248

Feature requests for iOS and Basic UI have been created:
* https://github.com/openhab/openhab-ios/discussions/711
* https://github.com/openhab/openhab-webui/issues/1716

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-02 16:34:33 +01:00
Florian Hotze cc9bc0fbd6
Building Pages: Add `config` property to access widget configuration (#2013)
Reference #1698.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-25 12:18:13 +01:00
Rosi 0fee8ff11c
spelling corrections (#1998)
Signed-off-by: Rosi2143 <Schrott.Micha@web.de>
Co-authored-by: Jerome Luckenbach <github@luckenba.ch>
2023-02-06 10:08:51 +01:00
Richard Koshak 15fee26a89
Fixed typo (#1999)
Signed-off-by: Richard Koshak <rlkoshak@gmail.com>
2023-02-06 09:51:13 +01:00
Jerome Luckenbach 7a87fdc06b
openHAB 4 and Java 17 refactoring (#1975)
* Remove or rename openHAB Version where useful.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Review changes.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Java bulk edit
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Update installation/synology.md

Co-authored-by: Wouter Born <github@maindrain.net>

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Co-authored-by: Wouter Born <github@maindrain.net>
2022-12-30 16:24:19 +01:00
mueller-ma 909bc4f04b
Fix typo in sitemaps.md (#1979) 2022-12-26 23:06:15 +01:00
Дилян Палаузов ed464f75f5
typo: succesSful (#1963) 2022-12-18 10:58:00 +01:00
Дилян Палаузов 969fae1f7b
Typos a/an (#1933) 2022-12-01 22:42:51 +01:00
Jerome Luckenbach b67c8ee5b7
Fixes #491 (#1919)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-11-26 12:15:15 +01:00
Jerome Luckenbach 2ddff112b1
Remove common jekyll references. (#1917)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-11-24 18:35:16 +01:00
Jerome Luckenbach 1a15b6c7fc
Improve markdown linting (#1906)
* Improve markdownlint configuration.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Apply changes to current linting rules.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-11-03 18:43:14 +01:00
JustinGeorgi ecb1157d2b
Add advanced widget doc page (#1896)
* Add advanced widget doc page

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

* Expand object description

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

* Fix linting errors

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

* Fix other linting errors

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

* Move personal widget section and expand basic info

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

* Fix new linting errors

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

* Correct visible property name

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

* Make minor edits

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2022-10-26 21:01:56 +02:00
JustinGeorgi 1f64bddcd7
Update ui page with new user object and @ operator (#1895)
Signed-off-by: justin <justin.georgi@gmail.com>
2022-10-13 21:51:20 +02:00
Florian Hotze ac4feeb1e9
Update building pages: Add `screen` property and mention CSS's `calc()` (#1894)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-10-11 19:26:15 +02:00
Mark Herwege fe9b31a628
example syntax correction (#1893) 2022-10-09 21:17:36 +02:00
lolodomo 3482f6ec71
[sitemap] Default color for label and value colors (#1837)
Related to openhab/openhab-core#2995

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-11 12:14:16 +02:00