Merged
Conversation
[Bugfix] 에러 잡기
|
Caution Review failedThe pull request is closed. Summary by CodeRabbit
Walkthrough단일 선택형 필터 옵션에 토글 동작을 추가하고, 필터 초기화(reset) 기능을 UI에 연결했습니다. 페이지네이션 초기 값(current)을 1로 수정했습니다. 타입 정의에서 onChange가 null을 허용하도록 변경했습니다. useFilterStore가 reset을 추가로 반환하도록 사용처를 업데이트했습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant C as DateCourseOptionButton
participant S as FilterStore
U->>C: 클릭(choice 옵션)
C->>C: isSelected = (value === apiValue)
alt 이미 선택됨
C->>S: onChange(null)
else 미선택
C->>S: onChange(apiValue)
end
sequenceDiagram
participant U as User
participant P as Course/FindDateCourse Page
participant S as FilterStore
U->>P: "필터 초기화" 클릭
P->>S: reset()
S-->>P: 필터 상태 초기화됨
P->>P: 페이지 상태/리스트 재조회 트리거(기존 로직 유지)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
📜 Recent review detailsConfiguration used: .coderabbit.yaml 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (4)
✨ Finishing Touches
🪧 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
Status, Documentation and Community
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚨 관련 이슈
✨ 변경사항
✏️ 작업 내용
😅 미완성 작업
📢 논의 사항 및 참고 사항