From a12fe8cb55ed9eb3ea5e65a2614572b42953e9c1 Mon Sep 17 00:00:00 2001 From: Afra Hussaindeen Date: Fri, 8 Nov 2024 22:08:04 +0530 Subject: [PATCH 1/4] Remove the idvp image URL from the API request and add the Onfido logo image --- .../components/create/idvp-creation-modal.tsx | 2 -- .../components/identity-verification-provider-edit.tsx | 2 ++ .../pages/identity-verification-provider-edit-page.tsx | 9 +++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/features/admin.identity-verification-providers.v1/components/create/idvp-creation-modal.tsx b/features/admin.identity-verification-providers.v1/components/create/idvp-creation-modal.tsx index e9b4985add2..1fdb50e1507 100644 --- a/features/admin.identity-verification-providers.v1/components/create/idvp-creation-modal.tsx +++ b/features/admin.identity-verification-providers.v1/components/create/idvp-creation-modal.tsx @@ -104,7 +104,6 @@ const IdVPCreationModal: FunctionComponent = ({ claims: fetchedTemplateData.payload.claims, configProperties: configPropertiesInitialValues, description: fetchedTemplateData.payload.description, - image: fetchedTemplateData.payload.image, isEnabled: true, templateId: selectedTemplate?.id, templateVersion: selectedTemplate?.version @@ -132,7 +131,6 @@ const IdVPCreationModal: FunctionComponent = ({ claims: values.claims as IdVPClaimsInterface[], configProperties, description: values.description as string, - image: values.image as string, isEnabled: true, name: values.name as string, type: values.templateId as string diff --git a/features/admin.identity-verification-providers.v1/components/identity-verification-provider-edit.tsx b/features/admin.identity-verification-providers.v1/components/identity-verification-provider-edit.tsx index e6ca88015a9..de87276c9e3 100644 --- a/features/admin.identity-verification-providers.v1/components/identity-verification-provider-edit.tsx +++ b/features/admin.identity-verification-providers.v1/components/identity-verification-provider-edit.tsx @@ -106,6 +106,8 @@ export const EditIdentityVerificationProvider: FunctionComponent); + delete identityVerificationProvider.image; + return { ...identityVerificationProvider, configProperties: configPropertiesInitialValues diff --git a/features/admin.identity-verification-providers.v1/pages/identity-verification-provider-edit-page.tsx b/features/admin.identity-verification-providers.v1/pages/identity-verification-provider-edit-page.tsx index de9609aa116..6ea3e509cb7 100644 --- a/features/admin.identity-verification-providers.v1/pages/identity-verification-provider-edit-page.tsx +++ b/features/admin.identity-verification-providers.v1/pages/identity-verification-provider-edit-page.tsx @@ -17,7 +17,9 @@ */ import { useRequiredScopes } from "@wso2is/access-control"; +import { ConnectionsManagementUtils } from "@wso2is/admin.connections.v1/utils/connection-utils"; import { AppConstants, AppState, FeatureConfigInterface, history } from "@wso2is/admin.core.v1"; +import useUIConfig from "@wso2is/admin.core.v1/hooks/use-ui-configs"; import { IdentityAppsApiException } from "@wso2is/core/exceptions"; import { AlertLevels, IdentifiableComponentInterface } from "@wso2is/core/models"; import { addAlert } from "@wso2is/core/store"; @@ -103,6 +105,9 @@ const IdentityVerificationProviderEditPage: FunctionComponent ); @@ -314,7 +319,7 @@ const IdentityVerificationProviderEditPage: FunctionComponent { Date: Wed, 27 Nov 2024 11:07:44 +0530 Subject: [PATCH 2/4] Add onfido logo --- .../assets/images/logos/onfido.svg | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 apps/console/src/public/resources/connections/assets/images/logos/onfido.svg diff --git a/apps/console/src/public/resources/connections/assets/images/logos/onfido.svg b/apps/console/src/public/resources/connections/assets/images/logos/onfido.svg new file mode 100644 index 00000000000..61bc1f411dc --- /dev/null +++ b/apps/console/src/public/resources/connections/assets/images/logos/onfido.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 8def54ebda730604811204f0c1ee968164003bc9 Mon Sep 17 00:00:00 2001 From: Afra Hussaindeen Date: Wed, 27 Nov 2024 11:14:19 +0530 Subject: [PATCH 3/4] =?UTF-8?q?Add=20changeset=20=F0=9F=A6=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/cyan-shirts-give.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/cyan-shirts-give.md diff --git a/.changeset/cyan-shirts-give.md b/.changeset/cyan-shirts-give.md new file mode 100644 index 00000000000..9d993b75f39 --- /dev/null +++ b/.changeset/cyan-shirts-give.md @@ -0,0 +1,6 @@ +--- +"@wso2is/admin.identity-verification-providers.v1": patch +"@wso2is/console": patch +--- + +Remove the idvp image URL from the API request body and onfido logo From a033918f7da27d6e02d0e4c9cdd1631f926d2062 Mon Sep 17 00:00:00 2001 From: Afra Hussaindeen Date: Thu, 5 Dec 2024 10:20:51 +0530 Subject: [PATCH 4/4] Update the facebook logo --- .../assets/images/logos/facebook.svg | 23 ++++++++++++++----- .../assets/images/logos/facebook.svg | 21 +++++++++++++---- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/apps/console/src/public/resources/connections/assets/images/logos/facebook.svg b/apps/console/src/public/resources/connections/assets/images/logos/facebook.svg index 5c171d33c6a..57c9f88b717 100644 --- a/apps/console/src/public/resources/connections/assets/images/logos/facebook.svg +++ b/apps/console/src/public/resources/connections/assets/images/logos/facebook.svg @@ -1,5 +1,5 @@ -