Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: 구인글 상세페이지 댓글, 대댓글 기능 구현 #61

Merged
merged 28 commits into from
Feb 27, 2024

Conversation

prgmr99
Copy link
Member

@prgmr99 prgmr99 commented Feb 24, 2024

구현 내용/방법

간단하게 구현한 내용과 방법에 대한 설명

  • 댓글 같은 경우는 아래의 형식으로 구성되도록 했습니다.
  • replies에 담겨 있는 데이터들은 대댓글의 형식입니다.
  • 댓글/대댓글 생성, 수정, 삭제 기능을 구현했습니다.
{
		id: '0',   // string
		username: 'johny',  // string
		content: '이거 어때?',   // string
		replies: [
			{
				id: '0-0',   // string
				username: 'lee',
				content: '뭘 어때 걍 하셈',
			},
			{
				id: '0-1',
				username: 'jun',
				content: '조용히하셈',
			},
		],
	},

리뷰 필요

나중에 다시 고민해야할 내용이 있는 내용

없을 경우 작성 X

있을 경우 작성 후 이슈 남기고 해당 PR 링크

  • UI는 아직 크게 건드리지 않았습니다.
  • 대댓글에서 Youtube처럼 답글을 누르면 사용자를 언급하는 방식은 적용하지 않았습니다.
  • 우선 필수 기능이라고 생각한 부분만 구현을 했습니다.

close #57

@prgmr99 prgmr99 added Priority: High 우선순위: 높음 Status: Available 상태: 작업을 바로 시작할 수 있는 상태 Status: Review Needed 상태: 리뷰 대기중인 상태 Type: Feature 유형: 기능 추가 labels Feb 24, 2024
@prgmr99 prgmr99 self-assigned this Feb 24, 2024
Copy link

vercel bot commented Feb 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
meeteam ⬜️ Ignored (Inspect) Visit Preview Feb 27, 2024 1:16pm

@prgmr99 prgmr99 changed the title feat: 구인글 상세페이지 댓글, 대댓글 기 feat: 구인글 상세페이지 댓글, 대댓글 기능 구현 Feb 24, 2024
@kimsuyeon0916
Copy link
Contributor

승준님 너무너무 고생하셨습니다~~~👍🏻

@kimsuyeon0916
Copy link
Contributor

kimsuyeon0916 commented Feb 25, 2024

image 승준님 궁금한게 있습니다! 답글을 달고 나서 이렇게 답글 창이 열려 있는 것과, 맨 상단에만 답글 버튼이 있도록 일부러 구현 하신 건가용??🤔

@prgmr99
Copy link
Member Author

prgmr99 commented Feb 25, 2024

image 승준님 궁금한게 있습니다! 답글을 달고 나서 이렇게 답글 창이 열려 있는 것과, 맨 상단에만 답글 버튼이 있도록 일부러 구현 하신 건가용??🤔

일단 depth 0에만 답글이 있도록 구현한 것은 의도적입니다!!
depth 1에 답글을 구현하기 전에 검토할 것이 있는지 확인하기 위해서 그랬습니다!
처음에 구현할 때, 데이터 타입이나 컴포넌트 구조를 잘못 짜서 전부 수정해서 다시 작성한 거라 일단 검토 후에 나중에 추가하려고 했습니다!!

창이 열려 있는 것은 의도는 아닙니다!!ㅋㅋ 이 부분은 수정하겠습니다!!

@prgmr99 prgmr99 merged commit b981125 into release-1.0 Feb 27, 2024
2 checks passed
@kimsuyeon0916
Copy link
Contributor

승준님~!!! 너무 고생하셨습니다!!🥹 승준님이 적극적으로 피드백을 받아주셔서, 긍정적으로 같이 고민해볼 수 있어서 좋아요! 항상 감사합니당🥹

@prgmr99 prgmr99 deleted the feat/#57_reply branch August 11, 2024 11:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Priority: High 우선순위: 높음 Status: Available 상태: 작업을 바로 시작할 수 있는 상태 Status: Review Needed 상태: 리뷰 대기중인 상태 Type: Feature 유형: 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: 댓글 및 답글 기능 구현
2 participants