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

[Feat] 댓글, 답글, 리액션, 팔로우 알림 생성 #284

Merged
merged 4 commits into from
Apr 16, 2023

Conversation

Youhoseong
Copy link
Collaborator

관련 Issue

작업 내용

  • 댓글, 답글, 리액션, 팔로우에 대한 알림을 생성해요
  • ProfileDomainService를 Query, Command로 분리해요

Figma

image

@Youhoseong Youhoseong self-assigned this Apr 16, 2023
@github-actions
Copy link

다시짜 🤖

@github-actions
Copy link

다시짜 🤖

@github-actions
Copy link

테스트통과 🤖

@Youhoseong Youhoseong requested a review from heoboseong7 April 16, 2023 06:49
Copy link
Collaborator

@heoboseong7 heoboseong7 left a comment

Choose a reason for hiding this comment

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

LGTM 😎

Notification notification = Notification.of(insight.getWriter(), NotificationContents.반응, String.valueOf(reaction.getId()));
notificationCommandDomainService.save(notification);
} catch (Throwable t) {
log.warn("[RDS::afterReaction] 팔로우 후 작업 실패 - reactorId({}), insightId({})", reaction.getReactor().getId(), insight.getId(), t);
Copy link
Collaborator

Choose a reason for hiding this comment

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

afterReaction에 팔로우 후 작업 실패로 들어가있어요

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

오! 감사용 👍

Notification notification = Notification.of(comment.getInsight().getWriter(), contents, String.valueOf(comment.getId()));
notificationCommandDomainService.save(notification);
} catch (Throwable t) {
log.warn("[CommentApiService::afterLeaveComment] 댓글 작성 완료 후 작업 실패 - commentId({}), insightId({})", comment.getId(), comment.getInsight().getId(), t);
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기만 클래스 명이 풀네임으로 들어간 이유가 있나요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

아 너무 많은 단어가 있어서 줄이면 구리더라구요

Copy link
Collaborator

Choose a reason for hiding this comment

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

아하 ㅋㅋ 알겠습니다 🙆🏻‍♂️

@Youhoseong Youhoseong added the enhancement New feature or request label Apr 16, 2023
@Youhoseong Youhoseong merged commit 6a2d312 into main Apr 16, 2023
@Youhoseong Youhoseong deleted the issue-#281 branch April 16, 2023 07:39
@github-actions
Copy link

테스트통과 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants