From 5ae7e63fda7b73c0f551a0e307f672728ba3b666 Mon Sep 17 00:00:00 2001 From: Bhupesh-MS Date: Wed, 18 Sep 2024 19:28:55 +0530 Subject: [PATCH] fixed UI issues for Network & Profile modal --- .../ConfigureProfile/CloudStorage.tsx | 32 +++++-- .../ConfigureProfile/ConfigureProfile.css | 11 ++- .../ConfigureProfile/NormalView.tsx | 6 +- .../ConfigureProfile/OwnStorage.tsx | 32 +++++-- .../ConfigureProfile/ProfileTypeSelector.tsx | 14 +++ .../ConfigureProfile/chain/MobileView.tsx | 26 +++++ .../ConfigureProfile/chain/NormalView.tsx | 26 +++++ .../ConfigureProfile/dm3Names/MobileView.tsx | 34 ++++++- .../ConfigureProfile/dm3Names/NormalView.tsx | 34 ++++++- .../Preferences/Network/Network.css | 8 +- .../Preferences/Network/Network.tsx | 95 ++++++++++++------- .../src/context/DM3UserProfileContext.tsx | 6 +- 12 files changed, 258 insertions(+), 66 deletions(-) diff --git a/packages/messenger-widget/src/components/ConfigureProfile/CloudStorage.tsx b/packages/messenger-widget/src/components/ConfigureProfile/CloudStorage.tsx index b9f0674a8..e2f5c7093 100644 --- a/packages/messenger-widget/src/components/ConfigureProfile/CloudStorage.tsx +++ b/packages/messenger-widget/src/components/ConfigureProfile/CloudStorage.tsx @@ -1,6 +1,6 @@ import { useContext, useState } from 'react'; import { ModalContext } from '../../context/ModalContext'; -import { ProfileScreenType } from '../../utils/enum-type-utils'; +import { ProfileScreenType, ProfileType } from '../../utils/enum-type-utils'; import { BUTTON_CLASS, DM3_NAME_SERVICES, dm3NamingServices } from './bl'; import { ConfigureProfileContext } from './context/ConfigureProfileContext'; import { DM3ConfigurationContext } from '../../context/DM3ConfigurationContext'; @@ -59,6 +59,14 @@ export function CloudStorage() {
+
+ {errorMsg ?? ''} +
+
-
- {errorMsg ?? ''} -
-
To publish your dm3 profile, a transaction is sent to @@ -94,6 +94,20 @@ export function OwnStorage() {
+
+
+
+
+