From 6a24a93cc358b001f9e9535a4f9a3458f078551d Mon Sep 17 00:00:00 2001 From: Kamlesh Singh Bisht Date: Tue, 5 Nov 2024 19:00:17 +0530 Subject: [PATCH 01/12] [INJIWEB-1064]: Fix Title Signed-off-by: Kamlesh Singh Bisht --- inji-web/public/env.config.js | 2 +- inji-web/public/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inji-web/public/env.config.js b/inji-web/public/env.config.js index 72e92e39..00ac242b 100644 --- a/inji-web/public/env.config.js +++ b/inji-web/public/env.config.js @@ -2,7 +2,7 @@ window._env_ = { DEFAULT_LANG: "en", DEFAULT_THEME: "", DEFAULT_FAVICON: "favicon.ico", - DEFAULT_TITLE: "Inji Web", + DEFAULT_TITLE: "Inji Wallet", DEFAULT_FONT_URL: "https://fonts.googleapis.com/css?family=Inter", MIMOTO_HOST: "http://localhost:3010" }; diff --git a/inji-web/public/index.html b/inji-web/public/index.html index 762d2dbf..139810c9 100644 --- a/inji-web/public/index.html +++ b/inji-web/public/index.html @@ -30,7 +30,7 @@ - INJI Web + INJI Wallet From 16ae5a0b3ec6f7403aded3708c80c5d97306922f Mon Sep 17 00:00:00 2001 From: Kamlesh Singh Bisht Date: Tue, 5 Nov 2024 19:05:27 +0530 Subject: [PATCH 02/12] [INJIWEB-1064]: Fix Title Signed-off-by: Kamlesh Singh Bisht --- helm/inji-web/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/inji-web/values.yaml b/helm/inji-web/values.yaml index fecc45e7..ebf2ea23 100755 --- a/helm/inji-web/values.yaml +++ b/helm/inji-web/values.yaml @@ -422,7 +422,7 @@ inji_web: DEFAULT_THEME: '' DEFAULT_LANG: 'en' DEFAULT_FEVICON: 'favicon.ico' - DEFAULT_TITLE: 'Inji Web' + DEFAULT_TITLE: 'Inji Wallet' esignet_redirect_url: 'esignet.sandbox.xyz.net' ## injiweb UI swagger should have only internal access. Hence linked to internal gateway From db284e19f83b0e0107b1dbc486943afa85911186 Mon Sep 17 00:00:00 2001 From: Kamlesh Singh Bisht Date: Wed, 6 Nov 2024 16:33:18 +0530 Subject: [PATCH 03/12] [INJIWEB-XXX]: Fix Radio Button Toast Signed-off-by: Kamlesh Singh Bisht --- .../components/DataShare/DataShareContent.tsx | 29 +++++++++++++------ inji-web/src/locales/ar.json | 3 +- inji-web/src/locales/en.json | 3 +- inji-web/src/locales/fr.json | 3 +- inji-web/src/locales/hi.json | 3 +- inji-web/src/locales/kn.json | 3 +- inji-web/src/locales/ta.json | 3 +- 7 files changed, 32 insertions(+), 15 deletions(-) diff --git a/inji-web/src/components/DataShare/DataShareContent.tsx b/inji-web/src/components/DataShare/DataShareContent.tsx index c82e9bc8..4f3b8a1b 100644 --- a/inji-web/src/components/DataShare/DataShareContent.tsx +++ b/inji-web/src/components/DataShare/DataShareContent.tsx @@ -6,6 +6,7 @@ import {RootState} from "../../types/redux"; import {storevcStorageExpiryLimitInTimes} from "../../redux/reducers/commonReducer"; import {useTranslation} from "react-i18next"; import {DSContentProps} from "../../types/components"; +import { toast } from "react-toastify"; export const DataShareContent:React.FC = (props) => { @@ -14,6 +15,9 @@ export const DataShareContent:React.FC = (props) => { const dispatch = useDispatch(); const {t} = useTranslation("DataShareExpiryModal"); + const handleClick = () => { + toast.warning(t("toastText")) + }; const getExpiryDisplayName = (expiry: number) => { let expiryDisplayName = expiry.toString(); @@ -58,15 +62,22 @@ export const DataShareContent:React.FC = (props) => { {t("content.validityTimesHeader")} -