From 6e5c6d1060fc6fc6588f559cd748119b6f43471c Mon Sep 17 00:00:00 2001 From: Jamal Alabdullah Date: Fri, 8 Nov 2024 10:15:11 +0100 Subject: [PATCH 1/3] remove help text in FormComponentConfig --- .../ux-editor/src/components/config/FormComponentConfig.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx b/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx index 664b84cdd1f..f380f03e92e 100644 --- a/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx +++ b/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx @@ -126,7 +126,6 @@ export const FormComponentConfig = ({ propertyKey={propertyKey} defaultValue={properties[propertyKey].default} key={propertyKey} - helpText={properties[propertyKey]?.description} /> ); })} @@ -169,7 +168,6 @@ export const FormComponentConfig = ({ handleComponentChange={handleComponentUpdate} propertyKey={propertyKey} key={propertyKey} - helpText={properties[propertyKey]?.description} enumValues={properties[propertyKey]?.enum || properties[propertyKey]?.examples} /> ); @@ -183,7 +181,6 @@ export const FormComponentConfig = ({ handleComponentChange={handleComponentUpdate} propertyKey={propertyKey} key={propertyKey} - helpText={properties[propertyKey]?.description} enumValues={properties[propertyKey]?.enum} /> ); @@ -197,7 +194,6 @@ export const FormComponentConfig = ({ handleComponentChange={handleComponentUpdate} propertyKey={propertyKey} key={propertyKey} - helpText={properties[propertyKey]?.description} enumValues={properties[propertyKey]?.items?.enum} multiple={true} /> From 703b3dbe163efe53cf18e8acec390b9778a97342 Mon Sep 17 00:00:00 2001 From: Jamal Alabdullah Date: Mon, 11 Nov 2024 10:32:16 +0100 Subject: [PATCH 2/3] removed help text --- .../ux-editor/src/components/config/FormComponentConfig.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx b/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx index f380f03e92e..133f4b48fd8 100644 --- a/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx +++ b/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx @@ -135,7 +135,6 @@ export const FormComponentConfig = ({ <> { @@ -154,7 +153,6 @@ export const FormComponentConfig = ({ component={component} handleComponentChange={handleComponentUpdate} propertyKey='validFileEndings' - helpText={validFileEndings?.description} /> )} From 1240744d7d78e85374355c33b5d7ce097b1a09e5 Mon Sep 17 00:00:00 2001 From: Jamal Alabdullah Date: Mon, 11 Nov 2024 10:39:56 +0100 Subject: [PATCH 3/3] updated helptext --- .../ux-editor/src/components/config/FormComponentConfig.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx b/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx index 133f4b48fd8..6ed47c298b5 100644 --- a/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx +++ b/frontend/packages/ux-editor/src/components/config/FormComponentConfig.tsx @@ -153,6 +153,7 @@ export const FormComponentConfig = ({ component={component} handleComponentChange={handleComponentUpdate} propertyKey='validFileEndings' + helpText={validFileEndings?.description} /> )}