feat: 앱 계정 레벨 — 하루 출석 각, 아바타 Lv 표시, 내 정보 레벨 카드, 내 레벨·레벨업 창, 공유하면 하루 한 번 각, 각을 주는 일 뒤 레벨 다시 받기. 아이콘 목록을 웹 아이콘 전부로 (GA sheet_open level·levelUp)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
skkimandClaude committed 2026-11-04 17:26:21 +09:00
1 parent 01b5f917b9
commit e40a9a0539
16 files changed
+360 -19

No files matched your search

+4 -1
View File
@@ -1,5 +1,6 @@
import { clearTokens } from '@nalssigak/shared/api/auth';
import { listBlockedOptions, listBlockedQueryKey, meQueryKey, unblockMutation, updateMeMutation, withdrawMutation } from '@nalssigak/shared/api/client/@tanstack/react-query.gen';
import { AuthProvider } from '@nalssigak/shared/api/client/types.gen';
import { AVATAR_COLORS, CHARACTERS, MOODS } from '@nalssigak/shared/lib';
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
import { useState } from 'react';
@@ -10,6 +11,7 @@ import { Avatar, Ic } from '@/components/ui';
import { useAuth } from '@/lib/auth';
import { isCommentList } from './comments';
import { LevelCard } from './level';
import { Body, Field, useSoft } from './parts';
/** 탈퇴: 한 번 더 묻고 지운다. 계정이 없어지니 이 기기 토큰도 지운다 */
@@ -132,8 +134,9 @@ export function MeSheet({ onDone }: { onDone: () => void }) {
<Body className="gap-3">
<View className="items-center gap-1.5">
<Avatar character={me.character} color={me.color} mood={me.mood} size={64} />
<Text className="text-center text-sm font-semibold text-ink2">{me.login_id}(으)로 로그인했어요</Text>
<Text className="text-center text-sm font-semibold text-ink2">{me.provider === AuthProvider.GOOGLE ? '구글 계정으로 로그인했어요' : `${me.login_id}(으)로 로그인했어요`}</Text>
</View>
<LevelCard />
<View accessibilityLabel="내 캐릭터">
<Text className="mb-2 text-sm font-extrabold text-ink">내 캐릭터</Text>
<View className="flex-row flex-wrap gap-2">