-
Notifications
You must be signed in to change notification settings - Fork 1
리팩토링 #366
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
리팩토링 #366
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughIntroduces BaseVisitorFragment to centralize visitor/content mode handling. Refactors MyPageFragment and StorageMainFragment to extend it, moving initialization into onContentModeInit and wiring visitor containers. Updates two fragment layouts to wrap visitor UI in cl_visitor_mode containers and adds new visitor-mode strings. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant Activity as MainActivity
participant Frag as BaseVisitorFragment (Subclass)
participant Login as LoginActivity
User->>Activity: Open screen
Activity->>Frag: onViewCreated()
Frag->>Activity: Check isVisitorMode
alt Visitor mode
Frag->>Frag: Show visitorContainer<br/>Hide contentViews
User->>Frag: Tap btn_visitor_mode
Frag->>Login: navigateToLogin()
Login-->>Activity: Start & finish current
else Content mode
Frag->>Frag: Hide visitorContainer<br/>Show contentViews
Frag->>Frag: onContentModeInit()
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (6)
✨ 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/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
📌 개요
✨ 작업 내용
✨ PR 포인트
📸 스크린샷/동영상
Summary by CodeRabbit