Skip to content
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

[Refactor/161] 알림 목록 조회, 친구 목록 조회 API 수정 #164

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

Eunjin3395
Copy link
Member

@Eunjin3395 Eunjin3395 commented Aug 13, 2024

🚀 개요

알림 목록 조회, 친구 목록 조회 API 수정

🔍 변경사항

  • 알림 팝업 목록 조회 API의 요청 type 구분 제거
  • 친구 목록 조회 API 응답 회원 이름 오름차순으로 정렬
  • SortUtil 메소드 추가
  • 알림 전체 목록 조회 API, 차단한 회원 목록 조회 API 페이징 개수 수정

⏳ 작업 내용

  • 알림 팝업 목록 조회 API의 요청 type 구분 제거, 쿼리 메소드 수정
  • 친구 목록 조회 API 응답 회원 이름 오름차순으로 정렬
  • SortUtil 메소드 추가
  • 알림 전체 목록 조회 API, 차단한 회원 목록 조회 API 페이징 개수 수정

📝 논의사항

@Eunjin3395 Eunjin3395 requested review from rimi3226 and hzee97 August 13, 2024 17:16
@Eunjin3395 Eunjin3395 self-assigned this Aug 13, 2024
@Eunjin3395 Eunjin3395 linked an issue Aug 13, 2024 that may be closed by this pull request
3 tasks
Copy link
Contributor

@hzee97 hzee97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

@@ -21,21 +21,19 @@ public class NotificationRepositoryCustomImpl implements NotificationRepositoryC
private final JPAQueryFactory queryFactory;

/**
* 알림 내역 조회, 커서 기반 페이징 및 type 필터링 포함
* 알림 내역 조회, 커서 기반 페이징 포함
*
* @param memberId
* @param type
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석에도 type 제거해야 될 것 같아요.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

헉 그렇네요 다음 브랜치에서 지우겠습니다!

@@ -29,7 +29,7 @@ public class BlockService {
private final ChatCommandService chatCommandService;
private final FriendService friendService;

Integer pageSize = 9;
private final static Integer PAGE_SIZE = 10;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NotificationService.java 처럼

Suggested change
private final static Integer PAGE_SIZE = 10;
private static final Integer PAGE_SIZE = 10;

로 통일하셔도 좋을 것 같습니다!

Copy link
Contributor

@rimi3226 rimi3226 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

@rimi3226 rimi3226 merged commit f4fc041 into develop Aug 13, 2024
@Eunjin3395 Eunjin3395 deleted the refactor/161 branch August 14, 2024 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

♻️ [Refactor] 알림 목록 조회, 친구 목록 조회 API 수정
3 participants