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

사용자 탈퇴 요청 시 피드백 받는 부분 수정 #281

Merged
merged 3 commits into from
Dec 22, 2022

Conversation

hyejungg
Copy link
Member

@hyejungg hyejungg commented Dec 22, 2022

✒️ 관련 이슈번호

🔑 Key Changes

  1. DeleteUserRequestDto 에 comment 필드에 notnull validate 추가
  2. 피드백 의견 있는지 확인하는 함수 유틸화 -> 있는 경우에만 피드백 디비에 저장 + 슬랙 알림 하도록 변경

📢 To Reviewers

  • 안드와 아요가 피드백 줄 때 제가 의도했던 부분과 다르게 comment 를 다르게 줘서 제가 빈 스트링으로 맞췄습니다~
  • isNewFeedback() 의견 감사합니다~
  • 요기까지 수정 반영되면 release 1.0.2 하겠습니다~

@hyejungg hyejungg added 🐣 혜정 🐣 혜정이가 했다아~ 🔧 Fix 간단한 수정 labels Dec 22, 2022
@hyejungg hyejungg added this to the Hous 1차 릴리즈 milestone Dec 22, 2022
@hyejungg hyejungg self-assigned this Dec 22, 2022
Copy link
Member

@orijoon98 orijoon98 left a comment

Choose a reason for hiding this comment

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

의견 남겼습니다!

Comment on lines 22 to 25
if (comment.isBlank()) {
return UserDeleteResponse.builder()
.totalDeleteUserCount(totalDeleteUserCount)
.totalDeleteUserList(users.stream()
Copy link
Member

Choose a reason for hiding this comment

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

null 이 안들어오게 바껴서 이 부분 comment 값에 상관없이 처리하고
createUserDeleteMessage 에서 comment 비교하는 부분을 수정하면
코드가 더 깔끔해질 것 같은데 어떠신가요?!

Copy link
Member Author

Choose a reason for hiding this comment

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

좋은 의견입니다! if (!userDeleteResponse.getComment().isBlank()) 괜찮을까요?!

Copy link
Member

Choose a reason for hiding this comment

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

넵 좋은 것 같습니다!

Copy link
Member

@orijoon98 orijoon98 left a comment

Choose a reason for hiding this comment

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

의견 반영 감사합니다!!

@hyejungg hyejungg merged commit 2c585d4 into develop Dec 22, 2022
@hyejungg hyejungg deleted the fix/#280 branch December 22, 2022 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐣 혜정 🐣 혜정이가 했다아~ 🔧 Fix 간단한 수정
Projects
None yet
Development

Successfully merging this pull request may close these issues.

사용자 탈퇴 시 피드백 남기는 부분 포맷 통일
2 participants