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

Feature/익명 게시글 response 처리 #259

Merged
merged 8 commits into from
Aug 6, 2023

Conversation

shkisme
Copy link
Contributor

@shkisme shkisme commented Jul 29, 2023

🔥 Related Issue

close: #없음

📝 Description

  • 익명 게시글일 경우 작성자 이름, 작성자 썸네일 값 다르게 처리 (댓글도)
  • db에 추가된 카테고리 enum 값 추가

처음에는 #242 를 해결할려고 했는데, 전부 분리를 할 경우 프론트에서도 처리해야 할 작업이 많다고 하여 일단 부채로 남겨두기로 했습니다!

Comment on lines 47 to 57
VIRTUAL_CATEGORY(1),
NOTICE_CATEGORY(101),
SUGGESTION_CATEGORY(102),
INFORMATION_CATEGORY(103),
FREE_CATEGORY(104),
ANONYMOUS_CATEGORY(105),
GRADUATE_CATEGORY(106),
EXAM_CATEGORY(107),
공지사항(101),
건의사항(102),
정보게시판(103),
자유게시판(104),
익명게시판(105),
졸업생게시판(106),
시험게시판(107),
발표자료(202),
기술문서(203),
회계부(204),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

카테고리 타입 enum 한글명으로 해보았는 데 어떤가요?
virtual category는 놔두었지만...

Comment on lines +115 to +120
/**
* 임시 저장글 제외 + 등록 시간 최신순 정렬 + 날짜 사이의 게시글
*
* @param startDate 가져올 시작 시간
* @param endDate 가져올 끝 시간
*/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

JPA 메서드에 대한 주석 혹시 어떤가요??

Copy link
Member

Choose a reason for hiding this comment

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

변경이 자주 일어날 것 같지 않아서 전 개인적으로 좋은 것 같아요~ 👍👍👍

@shkisme shkisme requested review from hyuunnn, gusah009 and JJimini July 29, 2023 05:45
@shkisme shkisme self-assigned this Jul 29, 2023
@shkisme shkisme added ⭐️ backend 백엔드 코드 작성 🐬 DB DB 변경 사항 labels Jul 29, 2023
Copy link
Member

@gusah009 gusah009 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다~ 👍👍

확실히 익명이나 비밀게시판 같은 경우 API를 새로 따는게 좋겠네요, 자칫 실수했다간 익명 게시판이 익명이 지워질 수도 있을 것 같아서요..

Comment on lines +115 to +120
/**
* 임시 저장글 제외 + 등록 시간 최신순 정렬 + 날짜 사이의 게시글
*
* @param startDate 가져올 시작 시간
* @param endDate 가져올 끝 시간
*/
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
Collaborator

@JJimini JJimini left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!!

shkisme added 3 commits August 6, 2023 23:48
# Conflicts:
#	src/main/java/com/keeper/homepage/domain/post/entity/Post.java
#	src/test/java/com/keeper/homepage/domain/post/application/PostServiceTest.java
@shkisme shkisme merged commit c873577 into develop Aug 6, 2023
@shkisme shkisme deleted the feature/익명-게시글-response-처리 branch August 6, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐️ backend 백엔드 코드 작성 🐬 DB DB 변경 사항
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants