From e2719bccdb4b54c76ebac7601c9342c3f3aee512 Mon Sep 17 00:00:00 2001 From: Christian Konrad <56470362+christian-konrad@users.noreply.github.com> Date: Wed, 30 Aug 2023 10:12:55 +0000 Subject: [PATCH] feat(tooltips): improve properties tooltip content --- src/contextProvider/zeebe/TooltipProvider.js | 41 ++++++++++++-------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/src/contextProvider/zeebe/TooltipProvider.js b/src/contextProvider/zeebe/TooltipProvider.js index b3f52c608..e0f2e8d11 100644 --- a/src/contextProvider/zeebe/TooltipProvider.js +++ b/src/contextProvider/zeebe/TooltipProvider.js @@ -27,9 +27,9 @@ const TooltipProvider = { return (
- { translate('Define a boolean condition expression that defines when a flow is taken. ')} + { translate('Define a boolean condition expression that defines when this flow is taken. ')} - { translate('How to define conditions') } + { translate('Learn how to define conditions.') }
); @@ -40,7 +40,7 @@ const TooltipProvider = { return (
- { translate('Evaluate a business rule, for example a DMN. To add a custom implementation use a job worker. ')} + { translate('Evaluate a business rule, for example a DMN. To add a custom implementation, use a job worker. ')} { translate('Learn more.') } @@ -54,7 +54,7 @@ const TooltipProvider = { return (
- { translate('Implement a script task. To add a custom implementation use a job worker. ')} + { translate('Implement a script task using an inline FEEL expression. To add a custom implementation, use a job worker. ')} { translate('Learn more.') } @@ -67,7 +67,7 @@ const TooltipProvider = { return (
- { translate('Embed Camunda Forms or use a form key to specify an identifier to associate a form to the user task. ')} + { translate('Embed a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify a form key. ')} { translate('Learn more.') } @@ -81,9 +81,14 @@ const TooltipProvider = { if (is(element, 'bpmn:ReceiveTask')) { return (
- { translate('Define the name of the message (e.g. ')}Money collected{translate(') and the ')}correlationKey{translate(' expression (e.g. ')}= orderId{translate('). ')} - - { translate('Learn more.') } + { translate('Define the name of the message (e.g. ')}Money collected{translate(') and the ')}correlationKey{translate(' expression (e.g. ')}= orderId{translate(')')}{translate(' to subscribe to. ')} + {translate('Learn more how to ')} + + { translate('send ') } + + {translate('and ')} + + { translate('receive messages. ') }
); @@ -91,7 +96,7 @@ const TooltipProvider = { return (
- { translate('Define the name of the message (e.g. ')}Money collected{translate('). ')} + { translate('Define the name of the message (e.g. ')}Money collected{translate(') and the ')}correlationKey{translate(' expression (e.g. ')}= orderId{translate(')')}{translate(' to subscribe to. ')} { translate('Learn more.') } @@ -104,7 +109,7 @@ const TooltipProvider = { return (
- { translate('Define the BPMN process id of the called process (e.g. ')} shipping-process + { translate('Define the ID of the process to call (e.g. ')} shipping-process {translate(' or ')}= "shipping-" + tenantId {translate('). ')} { translate('Learn more.') } @@ -119,8 +124,8 @@ const TooltipProvider = { if (is(element, 'bpmn:ServiceTask')) { return ( -
{translate('Specify which job workers handle the task work (e.g. ')}order-items{translate('). ')} - + @@ -129,7 +134,7 @@ const TooltipProvider = { if (is(element, 'bpmn:BusinessRuleTask')) { return ( -
{translate('Specify which job workers handle the task work. ')} +
{translate('Specify which job workers handle the task work to evaluate business rules. ')} { translate('Learn more.') } @@ -139,7 +144,7 @@ const TooltipProvider = { if (is(element, 'bpmn:ScriptTask')) { return ( -
{translate('Specify which job workers handle the task work (e.g. ')}script{translate('). ')} +
{translate('Specify which job workers handle the task work to execute a script. ')} { translate('Learn more.') } @@ -149,7 +154,7 @@ const TooltipProvider = { if (is(element, 'bpmn:SendTask')) { return ( -
{translate('Specify which job workers handle the task work (e.g. ')}kafka{translate(' or ')}mail{translate('). ')} +
{translate('Specify which job workers handle the task work to send a message (e.g. ')}kafka{translate(' or ')}mail{translate('). ')} { translate('Learn more.') } @@ -173,6 +178,8 @@ const TooltipProvider = { return (
+ {translate('Execute this task for each element of a given collection. ')} +
{translate('Define an input collection expression that defines the collection to iterate over (e.g. ')}= items{translate('). ')} {translate('To collect the output define the output collection and the output element expressions. ')} @@ -200,7 +207,7 @@ const TooltipProvider = { return (
- { translate('Create a new local variable in the scope where the mapping is defined. ')} + { translate('Create a new local variable in the scope of this task. ')} { translate('Learn more.') } @@ -213,7 +220,7 @@ const TooltipProvider = { return (
- { translate('Customize how job/message variables are merged into the process instance. ')} + { translate('Customize how result variables are merged into the global scope of the process instance. ')} { translate('Learn more.') }