-
Notifications
You must be signed in to change notification settings - Fork 3
Develop #435
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
Develop #435
Conversation
refactor: 조리중 화면에서도 디테일 화면 표시 추가
|
Caution Review failedThe pull request is closed. WalkthroughAdds a “cooking” detail overlay flow: clickable cooking cards open a DetailCard overlay; a new modal handles “cook complete.” State tracks selected cooking order and scroll position, with open/close handlers across desktop/mobile layouts. DetailCard supports type="cooking" and uses CookCompleteModal. CookCard now accepts an optional onClick. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant CookCard (List)
participant AdminOrders (Page)
participant DetailCard (Overlay)
participant CookCompleteModal (Modal)
participant API
User->>CookCard (List): Click cooking order
CookCard (List)->>AdminOrders (Page): onClick()
AdminOrders (Page)->>AdminOrders (Page): Save scroll, set selectedCooking, scrollToTop
AdminOrders (Page)->>DetailCard (Overlay): Render type="cooking" with orderId...
User->>DetailCard (Overlay): Click "조리 완료"
DetailCard (Overlay)->>CookCompleteModal (Modal): Open
User->>CookCompleteModal (Modal): Confirm
CookCompleteModal (Modal)->>API: POST cook complete
API-->>CookCompleteModal (Modal): Success/Failure
CookCompleteModal (Modal)-->>DetailCard (Overlay): onSuccess / onClose
DetailCard (Overlay)->>AdminOrders (Page): onSuccess / onClose
AdminOrders (Page)->>AdminOrders (Page): Clear selectedCooking, restore scroll
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested reviewers
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 (3)
✨ 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 (
|
작업 내용
문제점 및 어려움
해결 방안
공유 사항
Summary by CodeRabbit