feat: 위시 접근 로그인 화면에서 비회원 로그인 버튼 숨김 - #513
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
|
Warning Review limit reached
Next review available in: 31 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai full review |
|
작업 요약
작업 세부 내용
게스트는 위시를 저장·조회할 수 없는데, 위시 접근 시 뜨는 로그인 화면에도
비회원으로 시작하기버튼이 그대로 노출되어 눌러도 의미가 없었습니다.진입 경로 판별
위시 진입 화면(
WishLoginRequired)은getLoginPath(ROUTES.WISHLIST)로 로그인 페이지에 보내므로,redirect쿼리가 회원 전용 경로인지로 판별합니다.getPostLoginRedirectPath가 이미 쓰고 있는 방식(쿼리 제거 후getRouteType)을 그대로 재사용했습니다.위시 경로를 하드코딩하지 않아 MEMBER_ONLY 라우트 전체(
/wishlist,/mypage/withdraw,/tournament/history)에 동일하게 적용됩니다. 이 경로들은 게스트로 로그인해도 어차피 홈으로 돌려보내므로 버튼을 숨기는 취지에 맞습니다.자리 유지
레이아웃이 흔들리지 않아야 하므로 조건부 렌더 대신
invisible(visibility: hidden)로 숨깁니다.mt-7포함 공간은 그대로 유지되고, 클릭·탭 포커스·접근성 트리에서는 자연스럽게 빠집니다.스크린샷
2026-08-13.10.29.36.mov
연관 이슈
closes #490