-
Notifications
You must be signed in to change notification settings - Fork 3
Develop #428
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 #428
Conversation
fix: 토스트 알림 로직 --> qa 피드백 적용
fix: 토스트 알림 로직 --> qa 피드백 적용
feat: turbo repo 업데이트
|
Caution Review failedThe pull request is closed. WalkthroughAdds persistent dismissal for new-order toasts, includes order status in toast payloads, changes toast navigation to include order query param, removes in-memory toast cap while limiting rendered toasts to three, and synchronizes AdminOrders detail view and tabs with URL query parameters, including auto-opening details from URL. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant Detector as useDetectNewOrders
participant Store as useNewOrderToastStore
participant UI as NewOrderToast
participant Router as Router
participant Admin as AdminOrders
Detector->>Store: pushToast({ id, orderId, status, ... })
Note right of Store: Toast stored (appended).<br/>Dismissed IDs honored downstream.
UI->>UI: Load dismissed IDs from localStorage
UI->>UI: visibles = toasts \\ dismissed (limit 3)
User->>UI: Tap toast
UI->>Router: navigate(/admin/orders/{storeId}?order={orderId})
Router-->>Admin: Render with query (order[, status])
Admin->>Admin: If order in list, open detail<br/>Sync tabs from status
sequenceDiagram
autonumber
participant Router as Router
participant Admin as AdminOrders
participant URL as URLSearchParams
Router-->>Admin: Initial render with ?order, ?status
Admin->>URL: Read order/status
alt order matches existing order
Admin->>Admin: openDetail(order)<br/>- remember scroll<br/>- set selected payment<br/>- navigate replace with order/status
end
Admin->>Admin: Sync tabs from status (desktop/mobile)
Admin-->>Router: On close detail -> remove order (replace)
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
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 ignored due to path filters (8)
📒 Files selected for processing (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/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
작업 내용
문제점 및 어려움
해결 방안
공유 사항
Summary by CodeRabbit