You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/12/09 21:57:38 UTC

(camel-karavan) branch main updated (b4fb84e8 -> b6b41ba5)

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

marat pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


    from b4fb84e8 Fixe for UI
     new 7bd7d881 Fix ui issues
     new b6b41ba5 fix #1022

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/designer/route/element/DslElementHeader.tsx          |  5 +++--
 .../src/designer/route/property/DslPropertyField.tsx         |  3 ++-
 karavan-vscode/webview/index.css                             | 12 ++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)


(camel-karavan) 02/02: fix #1022

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git

commit b6b41ba54f2bd3537d8240e3d2a0d39ddd9ed133
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Sat Dec 9 16:57:28 2023 -0500

    fix #1022
---
 karavan-vscode/webview/index.css | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/karavan-vscode/webview/index.css b/karavan-vscode/webview/index.css
index 983a7461..f5a7ea00 100644
--- a/karavan-vscode/webview/index.css
+++ b/karavan-vscode/webview/index.css
@@ -22,6 +22,10 @@ body,
   height: 100%;
 }
 
+:root {
+  --pf-v5-c-tooltip__content--FontSize: 8px;
+}
+
 body, :root, #root, .karavan {
   --pf-v5-global--primary-color--100: var(--vscode-focusBorder) !important;
   --pf-v5-global--primary-color--200: var(--vscode-focusBorder) !important;
@@ -36,8 +40,10 @@ body, :root, #root, .karavan {
 
   --step-border-color: var(--pf-v5-global--active-color--200);
   --step-border-color-selected:var(--vscode-focusBorder);
+
   padding: 0;
 }
+
 .karavan .properties .pf-v5-c-form-control > :is(input, select, textarea):focus {
   outline-color: var(--vscode-focusBorder);
 }
@@ -180,6 +186,12 @@ body, :root, #root, .karavan {
 .vscode-dark .karavan .step-element .add-button {
   color: var(--vscode-focusBorder); 
 }
+.vscode-dark .karavan .step-element .add-button-icon, 
+.vscode-dark .karavan .step-element .insert-button-icon, 
+.vscode-dark .karavan .step-element .delete-button-icon {
+  background:  var(--vscode-editor-background);
+}
+
 
 /* Connections */
 .vscode-dark .karavan .dsl-page .graph .connections .arrow {


(camel-karavan) 01/02: Fix ui issues

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git

commit 7bd7d88140dbcf99cb6cd441974ed403661c09fe
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Sat Dec 9 16:56:53 2023 -0500

    Fix ui issues
---
 karavan-designer/src/designer/route/element/DslElementHeader.tsx  | 5 +++--
 karavan-designer/src/designer/route/property/DslPropertyField.tsx | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/karavan-designer/src/designer/route/element/DslElementHeader.tsx b/karavan-designer/src/designer/route/element/DslElementHeader.tsx
index d201d105..c850e514 100644
--- a/karavan-designer/src/designer/route/element/DslElementHeader.tsx
+++ b/karavan-designer/src/designer/route/element/DslElementHeader.tsx
@@ -147,8 +147,9 @@ export function DslElementHeader(props: Props) {
             classes.push(isElementSelected() ? 'header-bottom-selected' : 'header-bottom-not-selected')
         } else if (step.dslName === 'RouteConfigurationDefinition') {
             classes.push('header-route')
-            if (hasElements(step)) classes.push('header-bottom-line')
-            classes.push(isElementSelected() ? 'header-bottom-selected' : 'header-bottom-not-selected')
+            if (hasElements(step)) {
+                classes.push(isElementSelected() ? 'header-bottom-selected' : 'header-bottom-not-selected')
+            }
         } else {
             classes.push('header')
         }
diff --git a/karavan-designer/src/designer/route/property/DslPropertyField.tsx b/karavan-designer/src/designer/route/property/DslPropertyField.tsx
index 77974d13..a7feb03c 100644
--- a/karavan-designer/src/designer/route/property/DslPropertyField.tsx
+++ b/karavan-designer/src/designer/route/property/DslPropertyField.tsx
@@ -171,7 +171,8 @@ export function DslPropertyField(props: Props) {
 
     function isUriReadOnly(property: PropertyMeta): boolean {
         const dslName: string = props.element?.dslName || '';
-        return property.name === 'uri' && !['ToDynamicDefinition', 'WireTapDefinition', 'InterceptFromDefinition'].includes(dslName)
+        return property.name === 'uri'
+            && !['ToDynamicDefinition', 'WireTapDefinition', 'InterceptFromDefinition', 'InterceptSendToEndpointDefinition'].includes(dslName)
     }
 
     function selectInfrastructure(value: string) {