Skip to content

게시글 공개 범위 관련 기능 추가#232

Merged
wlsh44 merged 8 commits intodevelopfrom
feature/share
Oct 14, 2025
Merged

게시글 공개 범위 관련 기능 추가#232
wlsh44 merged 8 commits intodevelopfrom
feature/share

Conversation

@wlsh44
Copy link
Contributor

@wlsh44 wlsh44 commented Oct 2, 2025

🚀 작업 내용 설명

  • 비공개 관련 기능 추가

📢 그 외

  • 기존 테스트 코드 독립성 깨지는 문제 수정

📌 관련 이슈

@wlsh44 wlsh44 requested a review from Dev-lemongrab October 2, 2025 07:13
Copy link
Contributor

@Dev-lemongrab Dev-lemongrab left a comment

Choose a reason for hiding this comment

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

기획내용 잘 반영된것 같습니다. 알림쪽 후처리 넣을라고 했는데 대신 작업해주셔서 감사합니다.
몇가지 코멘트 달아주신 거 확인 해주시면 감사하겠습니다!
고생하셨습니다!

import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.util.Optional;
Copy link
Contributor

Choose a reason for hiding this comment

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

import optional
빼도될거 같습니다!

Map<Long, PollChoiceVoteInfo> mostVotedPollChoiceByPostId = getMostVotedPollChoiceByPostId(postIds);

List<MyPagePostResponse> response = getMyPagePostResponses(userId, postSlice, mostVotedPollChoiceByPostId);

Copy link
Contributor

Choose a reason for hiding this comment

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

이부분 리스트라 다른 명명규칙 썼던 것처럼 복수로 하는게 좋을거 같습니다!
그리고, getMyPagePostResponses에서 필터에 걸러지면 postSlice hasNext랑 달라지는 현상이 생기진 않을까요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

오 그 부분은 생각 못했는데 감사합니다! 수정했습니다

import static com.chooz.support.fixture.PostFixture.SELF_CREATE_OPTION;
import static com.chooz.support.fixture.PostFixture.createDefaultPost;
import static com.chooz.support.fixture.PostFixture.createPostBuilder;
import static org.assertj.core.api.Assertions.*;
Copy link
Contributor

Choose a reason for hiding this comment

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

와일드카드 표현이랑 안쓰는 임포트문정리 하면 좋을거 같습니다.

@wlsh44 wlsh44 requested a review from Dev-lemongrab October 13, 2025 01:13
@wlsh44
Copy link
Contributor Author

wlsh44 commented Oct 13, 2025

코멘트 남겨주신 부분 수정해서 다시 올렸습니다

@Dev-lemongrab
Copy link
Contributor

코멘트 남겨주신 부분 수정해서 다시 올렸습니다

넵 확인했습니다~! 고생하셨습니다!

@wlsh44 wlsh44 merged commit a040dd5 into develop Oct 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants