From 54a34981b0b49d1e7766cbd2162e6c5a6626ce4c Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Mon, 13 Jan 2025 13:11:39 +0100 Subject: [PATCH] Rule edit: Add descriptions to triggers, actions & conditions sections (#3008) Closes https://github.com/openhab/openhab-core/issues/4503. Signed-off-by: Florian Hotze --- .../src/pages/settings/rules/rule-edit.vue | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/bundles/org.openhab.ui/web/src/pages/settings/rules/rule-edit.vue b/bundles/org.openhab.ui/web/src/pages/settings/rules/rule-edit.vue index 30545312de..14f481487e 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/rules/rule-edit.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/rules/rule-edit.vue @@ -99,9 +99,14 @@
- - {{ SECTION_LABELS[section][0] }} - + - + @@ -202,9 +207,9 @@ export default { data () { return { SECTION_LABELS: { - triggers: ['When', 'Add Trigger'], - actions: ['Then', 'Add Action'], - conditions: ['But only if', 'Add Condition'] + triggers: ['When', 'Events that cause this rule to run', 'Add Trigger'], + actions: ['Then', 'Actions to take when this rule runs', 'Add Action'], + conditions: ['But only if', 'Conditions that must be matched for the actions of this rule to run', 'Add Condition'] }, ready: false,