From f97fd1753221db392f94c3a06c71797ab7f3b6e5 Mon Sep 17 00:00:00 2001 From: DR497 <47689875+dr497@users.noreply.github.com> Date: Wed, 13 Dec 2023 14:43:44 +0800 Subject: [PATCH 1/4] fix: don't allow upper case SNS-148 --- src/screens/HomeScreen.tsx | 3 ++- src/screens/SearchResult.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/screens/HomeScreen.tsx b/src/screens/HomeScreen.tsx index 37b8913..00d2905 100644 --- a/src/screens/HomeScreen.tsx +++ b/src/screens/HomeScreen.tsx @@ -89,7 +89,8 @@ function HomeRoot() { setSearch(newText)} + autoCapitalize="none" + onChangeText={(newText) => setSearch(newText.toLowerCase())} value={search} placeholder={t`Search for a domain`} type="search" diff --git a/src/screens/SearchResult.tsx b/src/screens/SearchResult.tsx index 04d741e..a564865 100644 --- a/src/screens/SearchResult.tsx +++ b/src/screens/SearchResult.tsx @@ -66,7 +66,8 @@ export const SearchResult = ({ setInput(newText)} + autoCapitalize="none" + onChangeText={(newText) => setSearch(newText.toLowerCase())} value={input} placeholder={t`Search for a domain`} type="search" From 4e0ae46d9c95d4b6a60700a1d2c814dc600493c9 Mon Sep 17 00:00:00 2001 From: DR497 <47689875+dr497@users.noreply.github.com> Date: Wed, 13 Dec 2023 14:54:55 +0800 Subject: [PATCH 2/4] delete backpack card SNS-153 --- src/components/ProgressExplainerModal.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/ProgressExplainerModal.tsx b/src/components/ProgressExplainerModal.tsx index bcb4910..a7b1681 100644 --- a/src/components/ProgressExplainerModal.tsx +++ b/src/components/ProgressExplainerModal.tsx @@ -12,7 +12,7 @@ import { WrapModal } from "./WrapModal"; import tw from "@src/utils/tailwind"; import { UiButton } from "@src/components/UiButton"; -type Steps = 1 | 2 | 3 | 4; +type Steps = 1 | 2 | 3; const stepsImages: Record< Steps, @@ -43,11 +43,6 @@ const stepsImages: Record< t`Add a profile pic that represents you. It can be a photo of yourself, your favourite NFT or something that inspires you.`, icon: , }, - 4: { - image: require("@assets/onboading/connect-backpack.png"), - text: () => t`Connect your backpack username to your on-chain identity.`, - icon: , - }, }; export const ProgressExplainerModal = ({ @@ -79,7 +74,7 @@ export const ProgressExplainerModal = ({ - {new Array(4).fill(0).map((_, i) => ( + {new Array(3).fill(0).map((_, i) => ( { @@ -105,7 +100,7 @@ export const ProgressExplainerModal = ({ - {currentStep === 4 ? ( + {currentStep === 3 ? ( ) : ( Date: Wed, 13 Dec 2023 14:57:16 +0800 Subject: [PATCH 3/4] center text in progress modal SNS-152 --- src/components/ProgressExplainerModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ProgressExplainerModal.tsx b/src/components/ProgressExplainerModal.tsx index a7b1681..4d90c85 100644 --- a/src/components/ProgressExplainerModal.tsx +++ b/src/components/ProgressExplainerModal.tsx @@ -67,7 +67,7 @@ export const ProgressExplainerModal = ({ {stepsImages[currentStep].icon} - + {stepsImages[currentStep].text()} From ca272bc07a41255bc598d5a6e29428deceb9d9bd Mon Sep 17 00:00:00 2001 From: DR497 <47689875+dr497@users.noreply.github.com> Date: Wed, 13 Dec 2023 14:59:09 +0800 Subject: [PATCH 4/4] fix consistent wording favorite <> main profile SNS-151 --- src/components/ProgressExplainerModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ProgressExplainerModal.tsx b/src/components/ProgressExplainerModal.tsx index 4d90c85..588e00c 100644 --- a/src/components/ProgressExplainerModal.tsx +++ b/src/components/ProgressExplainerModal.tsx @@ -21,7 +21,7 @@ const stepsImages: Record< 1: { image: require("@assets/onboading/favorite-domain.png"), text: () => - t`Click the star icon to select your favorite profile. Keep track of your main profile's completion progress with the profile completion bar.`, + t`Click the star icon to select your favorite profile. Keep track of your favorite profile's completion progress with the profile completion bar.`, icon: , }, 2: {