-
Notifications
You must be signed in to change notification settings - Fork 1
[FE-Feat] Pagination 컴포넌트 작성 #50
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
Conversation
hamo-o
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다~!
| currentPage - 2, | ||
| currentPage - 1, | ||
| currentPage, | ||
| currentPage + 1, | ||
| currentPage + 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p3; 이부분도 PAGE_LIMIT을 이용해서 표현할 수 있을 것 같습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request adds several new components and updates related to iconography and pagination. A new React functional component for an icon ( Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant P as Pagination
participant G as getPaginationItems
participant PI as PaginationItem
participant I as IconDotsMono
U->>P: Open Pagination view
P->>G: Calculate pagination items (currentPage, totalPages)
G-->>P: Return list of page numbers & separators
P->>PI: Render PaginationItem for each item
alt Item is Separator
PI->>I: Render IconDotsMono for dot display
end
U->>PI: Click on a PaginationItem
PI->>P: Trigger onPageChange with selected page
P-->>U: Update pagination view and highlight new page
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|

#️⃣ 연관된 이슈>
📝 작업 내용> 이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)
Pagination 컴포넌트를 구현했습니다.

🙏 여기는 꼭 봐주세요! > 리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요
Summary by CodeRabbit
New Features
Documentation
Style