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.
PR 타입(하나 이상의 PR 타입을 선택해주세요)
반영 브랜치
dev <- fix/pagination
변경 사항
<Button>
은 style 수정이 안된다고 해서<TouchableOpacity>
로 컴포넌트 변경최대 페이지 수 계산하여 전달 (
numberOfpages={maxPageNum}
)저장소 검색은 10개 issue는 5 페이지씩 뜨도록
pageLimit
props 추가항상 10개/5개씩 보여주는 것이 아닌 남은 페이지 만큼 보여주도록 수정(
getPageLength
)테스트 결과
Issue
테스트하면서 우선적으로 해결이 가능한 이슈들만 해결했습니다.
이슈 페이지 페이지네이션은 좀 더 고민이 필요할 것 같습니다.
기존 페이지네이션 코드에서 수정한 부분이 있기때문에 검토해보시고 의도와 다른 부분이나 잘못된 부분 말씀부탁드립니다.
테스트 화면
![테스트화면](https://user-images.githubusercontent.com/50618754/156882387-d62e4fb4-5240-4a0b-8ea0-e7b69460cab3.gif)
resolved: #25