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>
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>
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>
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>
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>
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>
Regression from #2687.
The dirty indicator code blocked the use of subtitles, these were not
showing up anymore.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
This PR removes Nashorn support from Blockly and removes all Nashorn
specific code from the blocks.
When opening a Blockly script, the UI will tell you if the script needs
to be saved again (because the MIME type is for Nashorn or because newly
generated code is different from the saved code).
It will also warn if the JS Scripting addon is not installed.
The Run Now link from the script editor is grayed out when the required
scripting add-on is not installed, and will show a warning when trying to run.
-----
Also-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
Closes#2701.
This PR contains a number of sitemap validation improvements,
interactive, before saving and in the DSL parser.
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
Resolves#1944.
When entering a state description pattern, an autocomplete list
is provided containing the available transformations.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Several small improvements:
- Persistence `previous...State` and `next...State` blocks: add boolean
shadow block for skip same, default false
- Named `timer` blocks: add a `undefined` shadow block for `context`.
- `run rule or script` block: make the parameter dictionnary input a
shadow block
In addition to that, for the `transform` block,
the transformation dropdown now dependens on the installed transformations.
---------
Also-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
Also improve toast messages in developer sidebar and fix a minor styling
issues for the script settings.
Addresses no. 1 of #2749.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Fixes#2597.
Regression from #2304.
Also minimizes the gap between the Cards title and the reorder button.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
This allows for automatically marking issues as stale and closing them.
We use this in the core/add-ons and distro repos.
The "stale" label needs to be added for this to work.
Signed-off-by: Wouter Born <github@maindrain.net>