This is an automated email from the ASF dual-hosted git repository.
mattcasters 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 d98c6e7381 Small change to metadata categories #7590 (#7594)
d98c6e7381 is described below
commit d98c6e73815414992ab63b3afa12fb63d75d78ee
Author: Nicolas Adment <[email protected]>
AuthorDate: Tue Jul 21 21:20:29 2026 +0200
Small change to metadata categories #7590 (#7594)
---
.../hop/ui/hopgui/perspective/metadata/MetadataCategories.java | 6 +++---
.../perspective/metadata/messages/messages_en_US.properties | 6 +++---
ui/src/main/resources/ui/images/connection.svg | 3 +++
ui/src/main/resources/ui/images/test.svg | 8 ++++++++
.../ui/hopgui/perspective/metadata/MetadataCategoriesTest.java | 2 +-
.../apache/hop/ui/hopgui/terminal/TerminalShellDetectorTest.java | 2 +-
6 files changed, 19 insertions(+), 8 deletions(-)
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/metadata/MetadataCategories.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/metadata/MetadataCategories.java
index 9cc258f091..ba5933e90a 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/metadata/MetadataCategories.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/metadata/MetadataCategories.java
@@ -50,7 +50,7 @@ public final class MetadataCategories {
new CategoryInfo(
HopMetadataCategory.CONNECTIONS,
"MetadataPerspective.Category.Connections",
- "ui/images/database.svg"),
+ "ui/images/connection.svg"),
new CategoryInfo(
HopMetadataCategory.FILE_STORAGE,
"MetadataPerspective.Category.FileStorage",
@@ -74,11 +74,11 @@ public final class MetadataCategories {
new CategoryInfo(
HopMetadataCategory.TESTING,
"MetadataPerspective.Category.Testing",
- "ui/images/catalog.svg"),
+ "ui/images/test.svg"),
new CategoryInfo(
HopMetadataCategory.DATA_DEFINITION,
"MetadataPerspective.Category.DataDefinition",
- "ui/images/partition_schema.svg"),
+ "ui/images/schema.svg"),
new CategoryInfo(
HopMetadataCategory.VARIABLES,
"MetadataPerspective.Category.Variables",
diff --git
a/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/metadata/messages/messages_en_US.properties
b/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/metadata/messages/messages_en_US.properties
index 7c30a6ff17..73895ef1f7 100644
---
a/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/metadata/messages/messages_en_US.properties
+++
b/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/metadata/messages/messages_en_US.properties
@@ -89,9 +89,9 @@ MetadataPerspective.ToolbarElement.HideEmpty.Tooltip=Hide
empty types and catego
MetadataPerspective.Search.ResultCount={0} result(s)
MetadataPerspective.Category.Connections=Connections
MetadataPerspective.Category.FileStorage=File Storage
-MetadataPerspective.Category.RunConfig=Run Configurations
-MetadataPerspective.Category.Servers=Servers & Web Services
-MetadataPerspective.Category.Execution=Execution & Monitoring
+MetadataPerspective.Category.Servers=Servers and Web Services
+MetadataPerspective.Category.Execution=Execution and Monitoring
+MetadataPerspective.Category.Logging=Logging and Probes
MetadataPerspective.Category.Logging=Logging & Probes
MetadataPerspective.Category.Testing=Testing
MetadataPerspective.Category.DataDefinition=Data Definitions
diff --git a/ui/src/main/resources/ui/images/connection.svg
b/ui/src/main/resources/ui/images/connection.svg
new file mode 100644
index 0000000000..f91993112c
--- /dev/null
+++ b/ui/src/main/resources/ui/images/connection.svg
@@ -0,0 +1,3 @@
+<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
+ <path fill="#0e3a5a" d="M245.33 64a96 96 0 0 1 96 96c0 51.5-40.56
93.54-91.48 95.9l-4.52.1h-64a53.33 53.33 0 0 0-3.5 106.55l3.5.12h77.36a85.4
85.4 0 0 1 81.23-64h65.41v32h64v32h-64v42.66h64v32h-64v32h-64a85.4 85.4 0 0
1-82.64-64h-77.36a96 96 0 0 1-96-96c0-51.5 40.56-93.53
91.48-95.9l4.52-.1h64a53.33 53.33 0 0 0 3.51-106.55l-3.5-.11H64V64z"/>
+</svg>
\ No newline at end of file
diff --git a/ui/src/main/resources/ui/images/test.svg
b/ui/src/main/resources/ui/images/test.svg
new file mode 100644
index 0000000000..85ea6d588c
--- /dev/null
+++ b/ui/src/main/resources/ui/images/test.svg
@@ -0,0 +1,8 @@
+<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
+ <path d="M37.935 53.641 20.22 71.357c-2.323 2.322-2.284 6.125.038
8.447s6.125 2.36 8.447.038l26.081-26.21Z"
+ fill="#0F3B5A"/>
+ <circle cx="72.474" cy="-5.934" r="3.716" transform="rotate(45)"
fill="#0F3B5A"/>
+ <circle cx="67.256" cy="-16.037" r="2.229" transform="rotate(45)"
fill="#0F3B5A"/>
+ <path d="m92.325 27.421-5.763.22-29.185 29.186-25.881 25.881s-7.071
6.92-14.067-.075c-6.995-6.996-.075-14.067-.075-14.067l25.88-25.88L72.42
13.498l.186-5.798 19.777 19.777m2.531-3.125-19.48-19.48a4 4 0 0
0-4.29-.896c-1.48.581-2.46 2-2.52 3.59l-.143 4.215-28.075 28.075-25.881
25.881c-3.948 3.948-7.131 12.516.076 19.723s15.775 4.024
19.723.076l25.881-25.881 28.094-28.094 4.073-.294c1.58-.077 2.922-1.125
3.492-2.601s.191-3.173-.927-4.291z"
+ fill="#0F3B5A"/>
+</svg>
\ No newline at end of file
diff --git
a/ui/src/test/java/org/apache/hop/ui/hopgui/perspective/metadata/MetadataCategoriesTest.java
b/ui/src/test/java/org/apache/hop/ui/hopgui/perspective/metadata/MetadataCategoriesTest.java
index b46cf62f72..332995a238 100644
---
a/ui/src/test/java/org/apache/hop/ui/hopgui/perspective/metadata/MetadataCategoriesTest.java
+++
b/ui/src/test/java/org/apache/hop/ui/hopgui/perspective/metadata/MetadataCategoriesTest.java
@@ -64,7 +64,7 @@ class MetadataCategoriesTest {
@Test
void imageFor_knownReturnsConfiguredIconOthersFallBack() {
assertEquals(
- "ui/images/database.svg",
MetadataCategories.imageFor(HopMetadataCategory.CONNECTIONS));
+ "ui/images/connection.svg",
MetadataCategories.imageFor(HopMetadataCategory.CONNECTIONS));
assertEquals(
"ui/images/location.svg",
MetadataCategories.imageFor(HopMetadataCategory.FILE_STORAGE));
// Unknown and Other fall back to the generic metadata icon.
diff --git
a/ui/src/test/java/org/apache/hop/ui/hopgui/terminal/TerminalShellDetectorTest.java
b/ui/src/test/java/org/apache/hop/ui/hopgui/terminal/TerminalShellDetectorTest.java
index 723c34b08b..df23d8dd9f 100644
---
a/ui/src/test/java/org/apache/hop/ui/hopgui/terminal/TerminalShellDetectorTest.java
+++
b/ui/src/test/java/org/apache/hop/ui/hopgui/terminal/TerminalShellDetectorTest.java
@@ -38,7 +38,7 @@ class TerminalShellDetectorTest {
if (os.contains("win")) {
// Windows should return PowerShell or cmd
assertTrue(
- shell.contains("powershell") || shell.contains("cmd"),
+ shell.toLowerCase().contains("powershell") || shell.contains("cmd"),
"Windows should detect PowerShell or cmd");
} else if (os.contains("mac") || os.contains("nix") || os.contains("nux"))
{
// Unix-like systems should return a shell in /bin