hubsif
b7bec07f66
Fix zero margin not applied in oh-grid-layout ( #973 )
...
Make slider label help more descriptive
Fix load issue in item-list-vlist
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-25 20:35:39 +01:00
hubsif
e542c9bd17
Apply layout page styles in edit mode, fixes #972 ( #974 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-24 19:41:52 +01:00
Boris Krivonog
7f777cba89
Allow customisation of location-card badges. ( #890 )
...
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-03-22 21:37:13 +01:00
hubsif
4311a9b4fc
Fix dialog on metadata removal ( #963 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-18 22:25:00 +01:00
Yannick Schaus
960737686f
Fix wrong widget editor mode when splitted horizontally ( #962 )
...
Fix #961 .
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-18 14:45:14 +01:00
hubsif
397f8b940b
Wrap list items in list card in widget editor preview, fixes #923 ( #960 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-16 19:12:17 +01:00
hubsif
b94f625e0f
Add missing page check in page-view ( #958 )
...
minor page-view cleanup
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-15 22:10:01 +01:00
hubsif
2f3dc61a0d
Limit keyboard shortcuts to single modifier key ( #959 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-15 22:08:25 +01:00
hubsif
c556597328
Adjust configuration menu, edit mode z-index for list items ( #943 )
...
Fix #892 .
Fix #919 .
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
Also-by: Yannick Schaus <github@schaus.net>
2021-03-15 09:40:56 +01:00
hubsif
8c90098da7
Rework itemMetadataWidget, fixes #678 ( #945 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-14 10:53:15 +01:00
hubsif
c6f2d7dec5
Generalize chart periods, fixes #808 ( #953 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-14 10:29:36 +01:00
hubsif
89b03b10ab
Run search filter on item list page reinit, fixes #861 ( #954 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-14 10:21:18 +01:00
Wouter Born
51d111b15b
Use commons-lang3 instead of commons-lang ( #955 )
...
This allows for removing the old commons-lang dependency.
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-13 10:27:39 +01:00
DarkC
f601eb242e
Fix lint npm command & use it in GitHub workflow ( #952 )
...
Signed-off-by: Kevin Haunschmied <darkc.futarialone@gmail.com>
2021-03-10 20:07:14 +01:00
Tom Hoefnagel
0a1848e9af
Don't convert to/from YAML unless actually switching tabs in designers ( #941 )
...
Closes #940 .
Signed-off-by: Tom Hoefnagel <hoefnageltom@gmail.com>
2021-03-10 17:10:20 +01:00
DarkC
105063162e
Fix type "number" for list separator in sitemap designer ( #950 )
...
Signed-off-by: Kevin Haunschmied <darkc.futarialone@gmail.com>
2021-03-10 17:06:14 +01:00
Yannick Schaus
da2f17e64a
Refactor routes: Move admin pages away from entry point ( #948 )
...
Load all settings pages, about, profile, empty states, and the HABot control asynchronously.
This also moves library dependencies to separate chunks, and thus reduces the entry point
by several hundred kb if the user only accesses end-user pages, until they go to these pages.
Various other optimizations to reduce the bundle size.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-10 15:13:25 +01:00
Wouter Born
eb7596c42d
Stop using StringUtils ( #946 )
...
There is no need for using StringUtils to replace or join strings.
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-10 09:56:59 +01:00
Wouter Born
5012ed31bf
Update CODEOWNERS ( #947 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-10 09:54:50 +01:00
Yannick Schaus
d3a49e97d5
Reactivate @vue/standard + template ESLint rules ( #942 )
...
Includes template rules from #905 .
Adjust webpack configuration:
- add environment options & scripts to generate reports & stats
- add GitHub workflow job for bundle-analyzer report integration (as artifact)
& integration with https://app.relative-ci.com/projects/ZNG5hy4VeSJQVQcq1Kvu
for comparative analysis
Signed-off-by: Philipp Waller <1090452+philippwaller@users.noreply.github.com>
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-09 18:14:20 +01:00
hubsif
585591586e
Fix confirmation dialog in widget editor for newly created widgets ( #944 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-09 00:59:19 +01:00
Yannick Schaus
ba609e742a
Refactor grid layout new item positioning ( #937 )
...
Fixes https://github.com/openhab/openhab-webui/pull/835#discussion_r588900440 .
Generate docs for oh-grid-layout.
Minor labels, descriptions, styling fixes.
Move the ESLint plugin to production environments
only (the hot reloading is near unusable in dex mode
with the linting activated on save - the CI & release
builds will still fail but the developer is expected to
rely on an IDE extension or other means to ensure
the code is properly linted during development.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-08 00:58:27 +01:00
hubsif
4d82cd64db
Confirmation dialogs for some pages on unsaved changes ( #887 )
...
Closes #367 .
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-08 00:55:14 +01:00
Yannick Schaus
074942e598
Update job name
...
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-07 03:30:59 +01:00
Yannick Schaus
feda256b7e
Update GitHub action
...
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-07 03:29:22 +01:00
Yannick Schaus
b7384eba61
Update ESLint action path restriction
...
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-07 02:28:39 +01:00
Yannick Schaus
eed87a8adb
Add ESLint action for Main UI
...
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-07 02:19:24 +01:00
Boris Krivonog
42807da91f
Added a fallback Array.prototype.flat implementation ( #935 )
...
Fixes #647 .
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-03-06 01:14:18 +01:00
hubsif
1efc99f87e
Add a HABPanel like layouting page (WIP) ( #835 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
Also-by: Yannick Schaus <github@schaus.net>
2021-03-05 21:43:11 +01:00
AndyXMB
184c6dab2f
Component docs ( #900 )
...
Signed-off-by: Andrew Black <andrewm.black@outlook.com>
Also-by: Yannick Schaus <github@schaus.net>
2021-03-01 15:42:17 +01:00
Wouter Born
4b2159713a
Update bnd to 5.3.0 ( #930 )
...
See: https://github.com/bndtools/bnd/wiki/Changes-in-5.3.0
Related to https://github.com/openhab/openhab-core/pull/2217
Signed-off-by: Wouter Born <github@maindrain.net>
2021-02-28 21:34:01 +01:00
Eiko Wagenknecht
dc933b4b51
Add link to material items ( #916 )
...
Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2021-02-26 18:11:22 +01:00
Kai Kreuzer
0501209c57
Show ThingUID instead of ThingTypeUID for scan result ( #921 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-22 12:32:53 +01:00
Kai Kreuzer
d11ca5487f
Show ThingUID instead of ThingTypeUID for discovery result ( #920 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-22 09:39:58 +01:00
Eiko Wagenknecht
dc33378062
List available choices in toggle color parameter description ( #918 )
...
Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2021-02-22 09:37:09 +01:00
Eiko Wagenknecht
8e0b392722
Add missing link to f7 input docs ( #917 )
...
Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2021-02-22 09:35:18 +01:00
Thomas
427e6ccbe0
Make trendline always show latest value ( #913 )
...
(newest datapoint 60 minutes old otherwise)
Signed-off-by: Thomas Knaller <thomas@knaller.info>
2021-02-22 09:31:11 +01:00
Yannick Schaus
14493515a6
Avoid HEAD request ( #908 )
...
Fix #888 .
openHAB Cloud doesn't seem to support forwarding HTTP HEAD requests.
So do a GET /rest/sitemaps instead to determine whether the user operations are
allowed anonymously, which is a little bit of overhead but since it's only the _list_
of sitemaps it should be acceptable in most cases.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-02-22 09:30:20 +01:00
bigbasec
3a51cb4084
Fixes sitemap and proxy calls ( #860 )
...
* Passes sitemap to the renderers for proper display and makes adjustments to the proxy call
Signed-off-by: Brian Homeyer <bhomeyer@gmail.com>
2021-02-11 08:37:38 +01:00
Philipp Waller
9013e74f6f
Activation of additional ESLint rules ( #889 )
...
This commit activates the following rules and provides the necessary code changes:
- indent
- no-trailing-spaces
- quotes
- vue/html-indent
- vue/html-quotes
- vue/no-multi-spaces
Signed-off-by: Philipp Waller <1090452+philippwaller@users.noreply.github.com>
2021-02-10 13:21:36 +01:00
hubsif
1dca2e0503
Fix metakey on some pages ( #897 )
...
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-02-10 12:53:07 +01:00
Boris Krivonog
c3bafcf50b
Fixes error on service settings pages ( #883 )
...
```
vue.esm.js?a026:628 [Vue warn]: Property or method "onPageAfterIn" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties .
```
Introduced by #867 .
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-02-07 16:52:46 +01:00
Sönke Küper
a55b0b7f09
Added the ephemeris.NotHolidayCondition in ephemeris quick selection. ( #741 )
...
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
2021-02-06 17:19:57 +01:00
Yannick Schaus
5e7c092f55
Add frontmatter to component reference pages ( #881 )
...
Regenerate docs.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-02-05 19:22:23 +01:00
Yannick Schaus
9be043e4ee
Components docs: Add link to component page from labels on index page ( #879 )
...
Regenerate docs.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-02-05 17:34:30 +01:00
JustinGeorgi
1966f153d2
Plan marker: Fix wrong option name ( #877 )
...
Fixes #844 .
Fix component key in oh-knob-cell.
Signed-off-by: Justin Georgi justin.georgi@gmail.com
2021-02-05 16:05:09 +01:00
Philipp Waller
687557584b
Integrate ESLint into the development and CI process ( #833 )
...
Signed-off-by: Philipp Waller <1090452+philippwaller@users.noreply.github.com>
2021-02-05 15:59:56 +01:00
Yannick Schaus
ba4d76fe9a
Add generated component reference ( #864 )
...
Add a Node.JS script to generate or update Markdown documentation from
the definitions of components. Generate an initial set of pages.
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-02-05 15:16:35 +01:00
openhab-bot
b9371e28fb
New Crowdin updates ( #854 )
...
Add Latvian translation + improvements in Portuguese (Brazil), Russian, Slovenian, Ukrainian.
2021-02-05 15:02:21 +01:00
Anders Alfredsson
a2248440bd
Fix multiple selection for INTEGER options ( #874 )
...
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-02-05 14:58:09 +01:00