feat(session): 세션 목록 페이지네이션 + 히스토리 "더 보기"#69
Merged
Conversation
GET /api/sessions 가 전체 세션을 List 로 반환하던 것을 페이지네이션으로. Core: - InterviewSessionRepository.findByUser_IdAndDeletedFalse(userId, Pageable) - SessionService.list → listPaged(userId, Pageable): Page<SessionResult> - SessionController.list → PageResponse<SessionResponse> (@PageableDefault size=20, id DESC) (common/response/PageResponse 재사용). openapi 재생성. Front: - historyApi.listSessions(page, size) → ?page=&size= → PageResponseSessionResponse - useSessions → useInfiniteQuery (getNextPageParam: last면 종료) - SessionHistoryList: pages 평탄화 + "더 보기" 버튼(hasNextPage 시) 검증: backend compile + OpenApiSpec BUILD SUCCESSFUL(응답 PageResponse), 프론트 build 통과, lint 클린. GET 목록 소비처는 history 뿐(POST 생성 무관). DB 변경 없음. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
GET /api/sessions 가 전체 세션을 List 로 반환하던 것을 페이지네이션으로.
Core:
Front:
검증: backend compile + OpenApiSpec BUILD SUCCESSFUL(응답 PageResponse), 프론트 build 통과, lint 클린. GET 목록 소비처는 history 뿐(POST 생성 무관). DB 변경 없음.
변경 사항