-
Notifications
You must be signed in to change notification settings - Fork 1
♻️ refactor: Gnb 버튼들 하위 component로 분리 #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthrough
Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Gnb
participant LoggedinButtons
participant LoggedoutButtons
User->>Gnb: 페이지 접근
Gnb->>Gnb: 사용자 로그인 상태 확인
alt 로그인 상태
Gnb->>LoggedinButtons: user prop 전달 및 렌더링
LoggedinButtons->>LoggedinButtons: 알림, 드롭다운 등 내부 로직 실행
else 비로그인 상태
Gnb->>LoggedoutButtons: 렌더링
LoggedoutButtons->>LoggedoutButtons: 로그인/회원가입 버튼 표시
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changes(해당 PR에서 명시된 목적 외의 변경사항은 발견되지 않았습니다.) Possibly related PRs
Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (3)📓 Common learnings📚 Learning: global-nomad 프로젝트에서 icon 컴포넌트는 `src/components/icon.tsx`에 위치합니다. 이전에 `src/components/common/icon.tsx...Applied to files:
📚 Learning: in cardcolumn component at src/app/_components/cardcolumn.tsx, native img tag is used instead of nex...Applied to files:
🔇 Additional comments (4)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
🧷 배포 미리보기: https://global-nomad-3n9i05a25-yun-jinwoos-projects.vercel.app |
📌 변경 사항 개요
Gnb의 버튼들을 하위 컴포넌트로 개별적으로 분리했습니다.
📝 상세 내용
🔗 관련 이슈
Resolves: #248
🖼️ 스크린샷(선택사항)
💡 참고 사항
Summary by CodeRabbit
LoggedinButtons,LoggedoutButtons)로 분리하여 코드 구조를 개선했습니다.