From 6737aeb232987ad695121a29a81b57c8509d8655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EB=8C=80=EC=9C=A4?= <59507527+sensecodevalue@users.noreply.github.com> Date: Fri, 31 Mar 2023 23:56:35 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EC=95=88=EB=93=9C=EB=A1=9C=EC=9D=B4?= =?UTF-8?q?=EB=93=9C=20=EB=8B=A4=EC=9D=8C=ED=8E=98=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=ED=8A=B8=EB=A6=AC=EA=B1=B0=20=EC=9D=B4=EC=8A=88=20(#552)=20(#5?= =?UTF-8?q?54)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: add thumbnail list bottom padding for trigger space in andriod chrome * fix: remove not needed style --- src/pages/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index b6b908b4..72853bf6 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -88,6 +88,7 @@ export default function Root() { const thumbnailWrapperCss = css` width: 100%; padding-top: 16px; + padding-bottom: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; From d8f2ca9f43b0fd95dd16f9f918806b7ee0b6c4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EB=8C=80=EC=9C=A4?= <59507527+sensecodevalue@users.noreply.github.com> Date: Thu, 6 Apr 2023 12:20:55 +0900 Subject: [PATCH 2/2] v1.1.3 (#557) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 안드로이드 다음페이지 트리거 이슈 (#552) * fix: add thumbnail list bottom padding for trigger space in andriod chrome * fix: remove not needed style * feat: 회원가입 시 연령 선택 제거 (#556) * chore: update version --------- Co-authored-by: Hyesung Oh --- package.json | 2 +- .../api/sign-up/usePatchExtraInformation.ts | 1 - src/pages/index.tsx | 4 +++- src/pages/signup/information.tsx | 20 ++----------------- 4 files changed, 6 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 9af951ff..d0619846 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ygtang-client", - "version": "1.1.1", + "version": "1.1.3", "private": true, "scripts": { "dev": "next dev", diff --git a/src/hooks/api/sign-up/usePatchExtraInformation.ts b/src/hooks/api/sign-up/usePatchExtraInformation.ts index 43de220a..b5514a67 100644 --- a/src/hooks/api/sign-up/usePatchExtraInformation.ts +++ b/src/hooks/api/sign-up/usePatchExtraInformation.ts @@ -5,7 +5,6 @@ import { useToast } from '~/store/Toast'; export interface ExtraInformationParams { email: string; - age: string; job: string; gender: string; } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 72853bf6..38786f3d 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -8,6 +8,7 @@ import { FixedSpinner } from '~/components/common/Spinner'; import AppliedTags from '~/components/common/TagForm/AppliedTags'; import AppendButton from '~/components/home/AppendButton'; import { ClipboardAppMessageListener } from '~/components/home/ClipboardAppMessageListener'; +import EmptyImageSection from '~/components/home/EmptyImageSection'; import HomeNavigationBar from '~/components/home/HomeNavigationBar'; import Thumbnail from '~/components/home/Thumbnail'; import { staggerHalf } from '~/constants/motions'; @@ -27,7 +28,7 @@ const thumbnailSkeletonKeys = [nounce, nounce + 1]; export default function Root() { const { filteredTags, removeTag } = useFilteredTags({}); - const { inspirations, isLoading, hasNextPage, fetchNextPage, isFetchingNextPage } = + const { inspirations, isEmpty, isLoading, hasNextPage, fetchNextPage, isFetchingNextPage } = useGetInspirationListWithInfinite({ filteredTags, }); @@ -51,6 +52,7 @@ export default function Root() { }> {/* NOTE: exit 애니메이션을 위해 삼항 연산자 사용 혹은 썸네일 섹션을 컨디셔널하게 렌더링할 시 */} {/* 해당 이미지 섹션이 렌더링되지 않음 */} + {isEmpty && } (null); - const [age, setAge] = useState<(typeof AGE_VALUES)[number] | null>(null); const [job, setJob] = useState(null); const { mutate: signupMutate } = useSignupMutation(); const { userLogin } = useUser(); const { mutate: putExtraInformationMutate } = usePutExtraInformation(); - const isDisabledCTAButton = !Boolean(gender && age && job); + const isDisabledCTAButton = !Boolean(gender && job); const onClickCTA = () => { - if (!queryEmail || !gender || !job || !age || !signupUser) return; + if (!queryEmail || !gender || !job || !signupUser) return; signupMutate( { @@ -79,7 +69,6 @@ export default function Information() { { email: queryEmail, gender: GENDER_REQUEST_VALUES[gender], - age: AGE_REQUEST_VALUES[age], job, }, { @@ -88,10 +77,6 @@ export default function Information() { action: '사용자 성별', value: gender, }); - recordEvent({ - action: '사용자 나이', - value: age, - }); recordEvent({ action: '사용자 관심 직군', value: job, @@ -113,7 +98,6 @@ export default function Information() {

마지막 단계입니다!

-