From d9496e0f30fc3091d30ac8c916761287d51555c6 Mon Sep 17 00:00:00 2001 From: GhitaB Date: Thu, 14 Sep 2023 16:36:36 +0300 Subject: [PATCH] Refs #257521 - Improve texts for label and tooltip. --- src/editor/schema.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/editor/schema.js b/src/editor/schema.js index ef6a129..68748db 100644 --- a/src/editor/schema.js +++ b/src/editor/schema.js @@ -19,7 +19,7 @@ export const LabelEditorSchema = { ], properties: { label_type: { - title: 'Type', + title: 'Type of label', type: 'string', factory: 'Choice', choices: [ @@ -27,9 +27,10 @@ export const LabelEditorSchema = { ['high', 'High importance'], ['highlight', 'Highlight'], ], + description: 'Choose a type or leave the default value (No value).', }, label_pointing: { - title: 'Pointing', + title: 'Label pointing', type: 'string', factory: 'Choice', choices: [ @@ -38,13 +39,16 @@ export const LabelEditorSchema = { ['left pointing', 'Left'], ['pointing below', 'Down'], ], + description: + 'Choose an orientation or leave the default value (No value).', }, tooltip_content: { - title: 'Content', + title: 'Tooltip content', widget: 'slate', + description: 'Enter the text you want to display in the tooltip.', }, tooltip_pointing: { - title: 'Position', + title: 'Tooltip position', type: 'string', factory: 'Choice', choices: [ @@ -59,7 +63,7 @@ export const LabelEditorSchema = { ], }, tooltip_type: { - title: 'Type', + title: 'Tooltip type', type: 'string', factory: 'Choice', choices: [ @@ -70,8 +74,8 @@ export const LabelEditorSchema = { default: '', }, always_show: { - title: 'Always show', - description: 'Always show the content label tooltip', + title: 'Always show tooltip', + description: 'Always show the content label tooltip.', type: 'boolean', }, },