This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new 20671e1c7e Add clear log button to the workflow logging panel #5808 
(#5809)
20671e1c7e is described below

commit 20671e1c7e242ecde310f86961225420eb0a20e1
Author: Nicolas Adment <[email protected]>
AuthorDate: Fri Oct 10 09:11:35 2025 +0200

    Add clear log button to the workflow logging panel #5808 (#5809)
    
    - And a few minor improvements to the user interface
---
 .../actions/start/messages/messages_en_US.properties | 16 ++++++++--------
 .../tableoutput/messages/messages_en_US.properties   | 20 ++++++++++----------
 .../delegates/HopGuiWorkflowLogDelegate.java         |  5 +++++
 .../ui/workflow/actions/start/ActionStartDialog.java |  2 +-
 .../hop/ui/hopgui/messages/messages_en_US.properties |  1 +
 5 files changed, 25 insertions(+), 19 deletions(-)

diff --git 
a/engine/src/main/resources/org/apache/hop/workflow/actions/start/messages/messages_en_US.properties
 
b/engine/src/main/resources/org/apache/hop/workflow/actions/start/messages/messages_en_US.properties
index 51323c4671..b8f398ce85 100644
--- 
a/engine/src/main/resources/org/apache/hop/workflow/actions/start/messages/messages_en_US.properties
+++ 
b/engine/src/main/resources/org/apache/hop/workflow/actions/start/messages/messages_en_US.properties
@@ -17,9 +17,9 @@
 #
 #
 
-ActionStart.DayOfMonth.Label=Day of month\: 
+ActionStart.DayOfMonth.Label=Day of month
 ActionStart.DayOfWeek.Friday=Friday
-ActionStart.DayOfWeek.Label=Day of week\: 
+ActionStart.DayOfWeek.Label=Day of week
 ActionStart.DayOfWeek.Monday=Monday
 ActionStart.DayOfWeek.Saturday=Saturday
 ActionStart.DayOfWeek.Sunday=Sunday
@@ -27,17 +27,17 @@ ActionStart.DayOfWeek.Thursday=Thursday
 ActionStart.DayOfWeek.Tuesday=Tuesday
 ActionStart.DayOfWeek.Wednesday=Wednesday
 ActionStart.Description=The start action is the starting point for a workflow 
execution
-ActionStart.IntervalMinutes.Label=Interval in minutes\: 
-ActionStart.IntervalSeconds.Label=Interval in seconds\:
+ActionStart.IntervalMinutes.Label=Interval in minutes
+ActionStart.IntervalSeconds.Label=Interval in seconds
 ActionStart.keyword=start
 ActionStart.Name=Start
 ActionStart.Name.Label=Action name
-ActionStart.Repeat.Label=Repeat\: 
-ActionStart.TimeOfDay.Label=Time of day\: 
+ActionStart.Repeat.Label=Repeat
+ActionStart.TimeOfDay.Label=Time of day
 ActionStart.Type.Daily=Daily
 ActionStart.Type.Interval=Interval
-ActionStart.Type.Label=Type\: 
+ActionStart.Type.Label=Type
 ActionStart.Type.Monthly=Monthly
 ActionStart.Type.NoScheduling=No Scheduling
 ActionStart.Type.Weekly=Weekly
-ActionStart.DoNotWaitAtFirstExecution.Label = Do not wait at first execution? 
\ No newline at end of file
+ActionStart.DoNotWaitAtFirstExecution.Label = Do not wait at first execution
\ No newline at end of file
diff --git 
a/plugins/transforms/tableoutput/src/main/resources/org/apache/hop/pipeline/transforms/tableoutput/messages/messages_en_US.properties
 
b/plugins/transforms/tableoutput/src/main/resources/org/apache/hop/pipeline/transforms/tableoutput/messages/messages_en_US.properties
index 324333a0c3..aeb97acb36 100644
--- 
a/plugins/transforms/tableoutput/src/main/resources/org/apache/hop/pipeline/transforms/tableoutput/messages/messages_en_US.properties
+++ 
b/plugins/transforms/tableoutput/src/main/resources/org/apache/hop/pipeline/transforms/tableoutput/messages/messages_en_US.properties
@@ -30,7 +30,7 @@ TableOutputDialog.BuildSQLError.DialogMessage=Unable to build 
the SQL statement
 TableOutputDialog.BuildSQLError.DialogTitle=Couldn''t build SQL
 TableOutputDialog.ColumnInfo.StreamField=Stream field
 TableOutputDialog.ColumnInfo.TableField=Table field
-TableOutputDialog.CommitSize.Label=Commit size 
+TableOutputDialog.CommitSize.Label=Commit size
 TableOutputDialog.ConnectionError.DialogMessage=Please select a valid 
connection\!
 TableOutputDialog.ConnectionError2.DialogMessage=Please select a valid 
database connection first\!
 TableOutputDialog.DialogTitle=Table output
@@ -55,9 +55,9 @@ TableOutputDialog.IgnoreInsertErrors.Label=Ignore insert 
errors
 TableOutputDialog.InsertFields.Label=Fields to insert\:
 TableOutputDialog.Log.LookingAtConnection=Looking at connection\: {0}
 TableOutputDialog.MainTab.CTabItem=Main options
-TableOutputDialog.NameField.Label=Field that contains name of table\: 
-TableOutputDialog.NameInField.Label=Is the name of the table defined in a 
field? 
-TableOutputDialog.NameInTable.Label=Store the tablename field 
+TableOutputDialog.NameField.Label=Field that contains name of table
+TableOutputDialog.NameInField.Label=Is the name of the table defined in a field
+TableOutputDialog.NameInTable.Label=Store the tablename field
 TableOutputDialog.NoSchema.Error=We can not find any schema
 TableOutputDialog.NoSQL.DialogMessage=No SQL needs to be executed to make this 
transform function properly.
 TableOutputDialog.NoSQL.DialogTitle=OK
@@ -66,16 +66,16 @@ TableOutputDialog.OnlyWhenHaveRows.Label=Truncate on first 
row
 TableOutputDialog.OnlyWhenHaveRows.Tooltip=Check this option to truncate only 
when have rows, Otherwise always truncate
 TableOutputDialog.PartDaily.Label=Partition data per day
 TableOutputDialog.PartDaily.Tooltip=Moves data into table TABLENAME_YYYYMMDD 
based on the partitioning field\nFor example, SALES_20050301, SALES_20050301, 
...
-TableOutputDialog.PartField.Label=Partitioning field 
+TableOutputDialog.PartField.Label=Partitioning field
 TableOutputDialog.PartMonthly.Label=Partition data per month
 TableOutputDialog.PartMonthly.Tooltip=Moves data into table TABLENAME_YYYYMM 
based on the partitioning field\nFor example, SALES_200503, SALES_200504, ...
-TableOutputDialog.ReturnField.Label=Name of auto-generated key field 
+TableOutputDialog.ReturnField.Label=Name of auto-generated key field
 TableOutputDialog.ReturnKeys.Label=Return auto-generated key
 TableOutputDialog.ReturnKeys.Tooltip=Check this option to return the 
auto-generated key.
-TableOutputDialog.SpecifyFields.Label=Specify database fields 
-TableOutputDialog.TargetSchema.Label=Target schema 
-TableOutputDialog.TargetTable.Label=Target table 
-TableOutputDialog.TruncateTable.Label=Truncate table 
+TableOutputDialog.SpecifyFields.Label=Specify database fields
+TableOutputDialog.TargetSchema.Label=Target schema
+TableOutputDialog.TargetTable.Label=Target table
+TableOutputDialog.TruncateTable.Label=Truncate table
 TableOutputDialog.UsePart.Label=Partition data over tables
 TableOutputDialog.UsePart.Tooltip=Moves data into table TABLENAME_YYYYMMDD or 
TABLENAME_YYYYMM based on the partitioning field\nFor example, SALES_200503, 
SALES_200504, ...
 TableOutputMeta.CheckResult.AllFieldsFound=All fields in the table are found 
in the input stream, coming from previous transforms
diff --git 
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/workflow/delegates/HopGuiWorkflowLogDelegate.java
 
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/workflow/delegates/HopGuiWorkflowLogDelegate.java
index 388cf417e2..b4f22ab7af 100644
--- 
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/workflow/delegates/HopGuiWorkflowLogDelegate.java
+++ 
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/workflow/delegates/HopGuiWorkflowLogDelegate.java
@@ -171,6 +171,11 @@ public class HopGuiWorkflowLogDelegate {
     toolbar.pack();
   }
 
+  @GuiToolbarElement(
+      root = GUI_PLUGIN_TOOLBAR_PARENT_ID,
+      id = TOOLBAR_ICON_CLEAR_LOG_VIEW,
+      toolTip = "i18n:org.apache.hop.ui.hopgui:WorkflowLog.Button.ClearLog",
+      image = "ui/images/delete.svg")
   public void clearLog() {
     if (workflowLogText != null && !workflowLogText.isDisposed()) {
       // add a CR to avoid fontStyle from getting lost on macos HOP-2583
diff --git 
a/ui/src/main/java/org/apache/hop/ui/workflow/actions/start/ActionStartDialog.java
 
b/ui/src/main/java/org/apache/hop/ui/workflow/actions/start/ActionStartDialog.java
index 10f492346b..5a625e98b3 100644
--- 
a/ui/src/main/java/org/apache/hop/ui/workflow/actions/start/ActionStartDialog.java
+++ 
b/ui/src/main/java/org/apache/hop/ui/workflow/actions/start/ActionStartDialog.java
@@ -282,7 +282,7 @@ public class ActionStartDialog extends ActionDialog {
     } else {
       formDataLabel.top = new FormAttachment(0, 0);
     }
-    formDataLabel.right = new FormAttachment(middle, 0);
+    formDataLabel.right = new FormAttachment(middle, -margin);
     label.setLayoutData(formDataLabel);
 
     PropsUi.setLook(control);
diff --git 
a/ui/src/main/resources/org/apache/hop/ui/hopgui/messages/messages_en_US.properties
 
b/ui/src/main/resources/org/apache/hop/ui/hopgui/messages/messages_en_US.properties
index 730ec2e105..863e0a4af4 100644
--- 
a/ui/src/main/resources/org/apache/hop/ui/hopgui/messages/messages_en_US.properties
+++ 
b/ui/src/main/resources/org/apache/hop/ui/hopgui/messages/messages_en_US.properties
@@ -267,6 +267,7 @@ WorkflowGraph.Check.ErrorCheckingWorkflow.Exception=Error 
checking workflow: {0}
 WorkflowGraph.Check.ErrorCheckingWorkflow.Message=Error checking workflow
 WorkflowGraph.Dialog.HopCausesLoop.Message=This hop causes a loop. This is not 
allowed.
 WorkflowGraph.Dialog.HopCausesLoop.Title=Loop\!
+WorkflowLog.Button.ClearLog=Clear log 
 WorkflowLog.Button.LogCopyToClipboard=Copy workflow log to clipboard
 WorkflowLog.Button.LogSettings=Log settings
 WorkflowLog.Button.Pause=Pause workflow log

Reply via email to