[Feature/#401] 타임라인 바 필터/정렬 연동 - #409
Conversation
|
Warning Review limit reached
Next review available in: 48 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthrough타임라인 목록 API, 쿼리 키, 조회 훅이 상태 필터와 정렬 파라미터를 지원합니다. 대시보드에 필터·정렬 메뉴를 연결하고 선택값을 목록 조회에 전달합니다. Changes타임라인 필터 및 정렬
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Timeline
participant TimelineFilterSortMenus
participant useTimelineList
participant getTimelineList
participant TimelineAPI
Timeline->>TimelineFilterSortMenus: 필터 또는 정렬 선택
TimelineFilterSortMenus-->>Timeline: 선택값 변경 콜백
Timeline->>useTimelineList: status와 sort 전달
useTimelineList->>getTimelineList: 조회 파라미터 전달
getTimelineList->>TimelineAPI: 목록 조회 요청
TimelineAPI-->>getTimelineList: 타임라인 목록 반환
getTimelineList-->>useTimelineList: 조회 결과 반환
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
📚 Storybook 배포 완료
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/components/timeline/TimelineFilterSortMenus.tsx`:
- Around line 10-13: Replace the relative DropdownMenu import in
src/components/timeline/TimelineFilterSortMenus.tsx#L10-L13 with the specified
`@/components/common/dropdownmenu/DropdownMenu` alias. Also replace the relative
statusStyle import in src/constants/timeline/filterSort.ts#L6 with
`@/constants/timeline/statusStyle`, ensuring both files use the `@/` alias
convention.
In `@src/pages/dashboard/timeline/Timeline.tsx`:
- Around line 72-74: Move the statusFilter and sort state from the Timeline
component into the timeline UI Zustand store under src/store/. Expose the
store’s current values and setters, then update Timeline and its menu callbacks
to read from and update that store so selections persist across unmounts.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: eef0918e-cf3c-4b87-9fef-227cf2c8b7fa
📒 Files selected for processing (8)
src/api/timeline/timeline.tssrc/components/timeline/TimelineFilterSortMenus.tsxsrc/constants/timeline/filterSort.tssrc/hooks/timeline/useTimelineList.tssrc/lib/queryKeys.tssrc/pages/dashboard/timeline/Timeline.tsxsrc/types/timeline/api.tssrc/types/timeline/timeline.mock.ts
🚨 관련 이슈
Closed #401
✨ 변경사항
✏️ 작업 내용
타임라인 목록에 성과 상태 필터링과 정렬의 서버 쿼리로연동하고, Sort/Filter UI 활성화하였습니다.
status,sort쿼리 추가useTimelineList쿼리키에 필터/정렬 반영정렬 의미 정리
필터 메뉴
😅 미완성 작업
N/A
📢 논의 사항 및 참고 사항
Summary by CodeRabbit