Commit Graph

1523 Commits (21e429a3e73a50ea100414ed8bff2c0a9afbd068)

Author SHA1 Message Date
Yannick Schaus 21e429a3e7
Add bottom padding below advanced checkbox in config sheet (#2846)
Signed-off-by: Yannick Schaus <github@schaus.net>
2024-10-29 20:58:04 +01:00
openhab-bot 9b55947508
New Crowdin updates (#2829) 2024-10-29 00:02:35 +01:00
Florian Hotze 183f8f9d67
Thing action popup: Multiple improvements (#2840)
- Default to action input name if no label provided
- Use label for action output "result" if provided
- Display action output descriptions if provided

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-27 15:52:36 +01:00
Florian Hotze deadfdb6ab
Thing actions: Hide if no actions available & Merge with UI actions (#2839)
Fixes https://github.com/openhab/openhab-webui/pull/2834#issuecomment-2439904745.
Shows UI actions (currently only Z-Wave network map) with the Thing actions instead of the deprecated config actions.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-27 11:01:52 +01:00
Florian Hotze acb464a36e
Config parameter: Implement `date` and `datetime` contexts (#2838)
Closes #2816.
Depends on https://github.com/openhab/openhab-core/pull/4428.

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-26 20:49:21 +02:00
Florian Hotze c6dda3cdfd
Fix flickering of list pages when updating (#2837)
Fixes Items list flickering when an Item is added, updated or removed.

Fixes the same issue for other lists, where this is a regression from
#2823 and #2827.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-26 14:13:40 +02:00
Florian Hotze 54b96e756e
Addons swiper: Fix single addon card width in landscape orientation (#2835)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-26 02:18:17 +02:00
Florian Hotze b9edd9767b
Thing actions: Sort by label, Show description, Hide unsupported actions (#2834)
Follow-up for #2818.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-26 01:45:00 +02:00
Florian Hotze 3166955eb9
Addons store: Multiple styling improvements (#2833)
Follow-up for #2216.

- Do not use addon swiper on iPad.
- Revert addon card size changes.
- Show more addon cards in swiper in landscape mode.

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-26 01:19:47 +02:00
Florian Hotze c225819684
Number parameter: Allow configuring any step size/number of decimals (#2832)
By setting step size to 0 in a config description parameter, one can
allow any step size i.e. the user can enter as many decimals as he wants
to.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-25 18:24:20 +02:00
Florian Hotze 574c313fde
Addons store: Use swiper for addon cards on mobile & Reduce size of addon card on desktop (#2216)
Fixes #2205 and fixes #1668.

This slighly reduces the addon card size on desktop and uses a swiper
(like in many app stores) instead of a flex on mobile.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-25 13:56:15 +02:00
Wouter Born dad104e5d7
GitHub Actions upgrades and improvements (#2830)
* Use Maven 3.9.9
* Use Ubuntu 24.04
* Verify there are no changed files

This will help preventing issues like:

* https://github.com/openhab/openhab-webui/issues/20
* https://github.com/openhab/openhab-webui/issues/107
* https://github.com/openhab/openhab-webui/issues/241
* https://github.com/openhab/openhab-webui/issues/2814

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-24 20:23:03 +02:00
Florian Hotze 331f79430d
Improve injection of build info into the UI (#2828)
Fixes #2814.
Follow-up for #2796.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-24 16:31:20 +02:00
Florian Hotze 96f3810be8
Items & Rules list: Minor style & code improvements (#2826)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-24 16:13:11 +02:00
Florian Hotze 785d8f6bcd
Search bars: Remember search query & Automatically focus on desktop (#2827)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-24 16:12:57 +02:00
Florian Hotze 30e4d48b16
Refactor shared model code into a mixin (#2825)
Fixes #2268, where the model building code in the model-picker was
different from the model page.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-24 14:31:01 +02:00
Florian Hotze 427c9cea97
Items list: Add note that states not updated in real-time & Code improvement (#2824)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-24 13:31:46 +02:00
openhab-bot 0465fc347d
New Crowdin updates (#2822) 2024-10-24 12:18:07 +02:00
Florian Hotze 521d67b15e
Rules list: Store search query when leaving page/reloading & Improve code (#2823)
As rules-list.vue is used by scenes and scripts list, this applies to them as well.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-24 12:08:54 +02:00
openhab-bot 0a5842434a
New Crowdin updates (#2821) 2024-10-23 00:26:38 +02:00
Florian Hotze 5febf027a0
Thing page: Support invoking Thing actions & Viewing their output (#2818)
Refs https://github.com/openhab/openhab-core/pull/4392. 
Closes #2817.

This adds a new section "Actions" to the Thing tab of the Thing page,
which provides a button for each UI-supported Thing action.
Clicking on that button will open a popup, where action input can be
configured and action output can be viewed.

All keys of the action output response object from REST are rendered as
list Items, the labels are taken from the action output definitions and fallback to the key.
If the key is `qrCode` or its output type is defined as `qrCode`, its value is rendered as QR code.

For actions without inputs or without outputs, messages are shown indicating that there is no such.

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-22 23:26:45 +02:00
dependabot[bot] 4100b56625
Bump cookie and express in /bundles/org.openhab.ui/web (#2811)
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). 

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 23:25:05 +02:00
Florian Hotze 8ebd07fa94
Config parameter: Add unit to param description when entering UoM values (#2820)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-22 23:22:17 +02:00
Florian Hotze 85c3c3113d
Home page: Add options to set simple navbar/standard background the default on mobile/desktop (#2800)
This adds new boolean config parameters to the home page settings that allow
setting the default navbar style and standard background for mobile and desktop devices.
The device-specific settings allow to override these defaults by using a segmented button
with three options: The admin's default, option A and option B.

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-21 22:04:56 +02:00
JustinGeorgi a1787ed386
oh-cell: Fix headerBadgeColor (#2807)
The color attribute for the header badges in the oh-cell were not
dynamic and as a result setting headerBadgeColor in the cell config
caused a malformed color class to be added to the badge.
2024-10-21 13:46:49 +02:00
Wouter Born f5f3a3e837
Upgrade lastnpe EEA to 2.4.0 (#2813)
For release notes, see:

https://github.com/lastnpe/eclipse-null-eea-augments/releases/tag/v2.4.0

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-20 10:56:22 +02:00
Wouter Born 5bc928d7f7
Remove unnecessary executable permissions (#2810)
These files are marked as executable for no good reason at all.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-19 12:49:46 +02:00
Florian Hotze 0396d314d5
oh-input: Fix style issue on mobile when sendButton enabled & Update docs (#2806)
This fixes a minor styling issue on mobile devices, where the input's
column is too wide and the sendButton overflows to the next line. Also
add `time` to the docs for valid input types.

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-12 00:19:29 +02:00
Florian Hotze 83e40d58c6
Charts: Enable boundary and itemState persistence query params by default (#2805)
Refs https://github.com/openhab/openhab-core/pull/4394.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-10 15:23:53 +02:00
Florian Hotze 84b0fdce25
Remove unnecessary !important from block style fixes inside f7-card (#2804)
Minor regression from #2801.

This fixes difficulties with overwriting that style in widgets.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2024-10-09 17:03:05 +02:00
Florian Hotze 2dc7d721a1
Fix style regressions from #2801 (#2803)
Regression from #2801.

During testing, it looked good, but in production it introduced some
styling issues.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-07 01:27:27 +02:00
Sven Killig 3efc1a8902
Settings pages: Fix double scrollbars by hiding y-overflow in block-narrow (#2802)
Fixes #2788.

Signed-off-by: Sven Killig <sven@killig.de>
2024-10-06 22:43:21 +02:00
Florian Hotze 0767c91ffd
Fix safe area styling issues with card and card contents (#2801)
This fixes ugly styling issues with too large margin/padding on iOS
devices due to safe areas getting applied to children of f7-card, even
though f7-card already respects the safe areas.

-----

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-06 21:28:00 +02:00
Florian Hotze 0a3fb925e0
Revert "Change the default navbar style for non-desktop to simple navbar" (#2799)
Reverts openhab/openhab-webui#2791
2024-10-06 14:44:33 +02:00
Mark Herwege 6c46b7953a
Sitemap editor: Add Buttongrid Button support (#2755)
Refs https://github.com/openhab/openhab-core/pull/4377.

The most recent addition to the sitemap syntax allows defining buttons
nested as components inside the Buttongrid component.

---------

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-10-04 22:53:30 +02:00
Florian Hotze 2975d78f7e
Add version and commit to UI during production build (#2796)
This sets the version in the Framework7 parameters to the build version during production build,
and adds the commit hash to the Vuex store so it can be displayed on the about page.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-03 21:42:48 +02:00
Florian Hotze d6c8904417
Fix oh-image-card action regression (#2795)
Regression from #2781.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-03 20:51:20 +02:00
Florian Hotze 2c28db9f32
Fix oh-gauge-card action regression & Improve oh-card docs (#2794)
Fixes #2793.
Regression from #2781.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-03 18:59:53 +02:00
Florian Hotze 6dc8c4b1df
Item details: Show group function for group Items if defined (#2792)
Closes #1483.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-03 17:12:38 +02:00
Florian Hotze 4e341fdc57
Change the default navbar style for non-desktop to simple navbar (#2791)
Discussion in
https://community.openhab.org/t/permastore-ui-look-options/152052.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-03 17:06:31 +02:00
dependabot[bot] b53cc919bd
Bump path-to-regexp from 6.1.0 to 6.3.0 in /bundles/org.openhab.ui/web (#2784)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.1.0 to 6.3.0.

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 14:31:53 +02:00
Florian Hotze e2c3c53d29
Thing details: Fix config action Thing config modification (#2786)
Follow-up for #2775.
Fixes #2782.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-01 21:40:19 +02:00
Florian Hotze e27280776f
Fix meta tag apple-mobile-web-app-capable deprecation warning (#2783)
igned-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-01 18:24:16 +02:00
dependabot[bot] 937e1ef4c5
Bump rollup from 2.79.1 to 2.79.2 in /bundles/org.openhab.ui/web (#2769)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 18:06:04 +02:00
dependabot[bot] 32b4a994ac
Bump send and express in /bundles/org.openhab.ui/web (#2762)
Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).
These dependencies needed to be updated together.

Updates `send` from 0.18.0 to 0.19.0
Updates `express` from 4.19.2 to 4.21.0

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 17:54:57 +02:00
Florian Hotze dcbc549245
Refactor card widgets to use a shared base component (#2781)
Supersedes #1801.

Implements the proposal from
https://github.com/openhab/openhab-webui/pull/1801#issuecomment-1475172733.

-----

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-01 17:45:35 +02:00
Florian Hotze 4785cfaeb9
oh-canvas-layout: Allow overriding style (#2780)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-01 13:16:29 +02:00
Florian Hotze d78e6d9470
Thing details: Fix config action saves the whole Thing (#2775)
A Thing config action is only supposed to save the config of the Thing,
not the whole Thing.

Fixes https://github.com/openhab/openhab-core/issues/4380.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-01 11:19:48 +02:00
Florian Hotze bdb54a54c7
System & Add-on settings: Add dirty indicator & Improve dirty handling (#2779)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-09-30 23:03:29 +02:00
Florian Hotze e500ffe0dd
Item metadata: Improve dirty handling & Fix description metadata always dirty (#2778)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-09-30 23:02:37 +02:00