Commit Graph

61 Commits (scenes)

Author SHA1 Message Date
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
Richard Koshak 8f30438d6b
Getting Started Rules (#1809)
* Getting Started Rules

Signed-off-by: Richard Koshak <rlkoshak@gmail.com>

* Fixing build error

Signed-off-by: Richard Koshak <rlkoshak@gmail.com>

* Correcting markdown linting errors

Signed-off-by: Richard Koshak <rlkoshak@gmail.com>

* Fixing more md linting

Signed-off-by: Richard Koshak <rlkoshak@gmail.com>

* More linting errors

Signed-off-by: Richard Koshak <rlkoshak@gmail.com>

* Fixing links, minor edits

Signed-off-by: Richard Koshak <rlkoshak@gmail.com>

* One sentence per line for ordered lists

* Apply suggestions from code review

Co-authored-by: Jerome Luckenbach <github@luckenba.ch>

* Update tutorials/getting_started/tips-and-tricks.md

Use separate key repesentations instead of the combo as one key.

Co-authored-by: Jerome Luckenbach <github@luckenba.ch>

* Linting

Signed-off-by: Richard Koshak <rlkoshak@gmail.com>

Co-authored-by: Jerome Luckenbach <github@luckenba.ch>
2022-05-24 16:10:57 +02:00
Flole998 2356b22af2
Add forceAsItem-Option for Charts in Sitemaps (#1806)
This is documentation for https://github.com/openhab/openhab-core/issues/2185.

Signed-off-by: Flole <flole@flole.de>
2022-05-01 14:20:51 +02:00
Дилян Палаузов bf286ef9af
building-pages: typography (#1799) 2022-04-19 20:49:21 +02:00
Дилян Палаузов b932b60e98
Typos ui/building-pages.md (#1785) 2022-03-20 13:14:16 +01:00
Entepotenz b314eef8fb
fix links to items.html (#1751) 2022-02-15 21:05:45 +01:00
Matheus Botura Pimenta ff8b58f853
Update sitemaps.md (#1739)
Broken link to State Presentation
2022-01-16 20:17:59 +01:00
Jerome Luckenbach ca3c1e6ff3
Remove classic ui from switchsupport. (#1681)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-11-27 11:49:48 +01:00
Jerome Luckenbach 5cd00632cf
Fixed markdownlint errors. (#1679)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-11-26 18:21:25 +01:00
Jerome Luckenbach e93886e1c7
Remove broken basic ui link. (#1677)
Fixes #1617 

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-11-26 16:45:34 +01:00
Sander Steenhuis f73fed1ac9
Update sitemaps.md (#1676)
* Update sitemaps.md

As a new user, I was frustrated to find this out far too late. I really did read, twice, the page about sitemaps. I didn't understand why I couldn't see the results as in the screenshots. Where is it? Am I crazy?

There is so much documentation, a new user is not going to read every page. They learn, read or hear that they would need a sitemap, so that's what they are going to read in the documentation. They are not going to read a [different page](https://www.openhab.org/docs/ui/) first, where the above warning is present.

I advise all documentation writers to keep, move or duplicate all important information surrounding a subject _on the page about that subject_.

* Use tip box

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

Co-authored-by: Jerome Luckenbach <github@luckenba.ch>
2021-11-26 15:57:42 +01:00
Gautier 04af4bf622
Documentation for canvas layout. (#1657)
* Documentation for canvas layout.

Signed-off-by: Gautier Taravella <tarag@mailbox.org>

* One line per sentence

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

* Fix markdown errors

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

Co-authored-by: tarag <g11686092+tarag@users.noreply.github.com>
Co-authored-by: Jerome Luckenbach <github@luckenba.ch>
2021-11-26 15:53:04 +01:00