[DP-421] 마이페이지 로그인 가드 구현#122
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
연결된 Jira 티켓
작업 내용
주요 변경점
app/(main)/my-page/page.tsx: 리포트/히스토리와 동일한 인증 가드 패턴 적용LoginRequiredEmptyState표시!mounted || !isInitialized동안null반환으로 깜빡임 방지app/(main)/my-page/layout.tsx신규 생성: 하위 6개 페이지 일괄 보호router.replace('/my-page')로 리다이렉트usePathname으로 메인/하위 페이지 분기 처리테스트 방법
/my-page접속 → 로그인 필요 UI 노출 확인/my-page/scraps,/my-page/wrong-quizzes,/my-page/recommend/*URL 직접 입력 →/my-page로 리다이렉트 확인AI 사용 여부
체크리스트