-
Notifications
You must be signed in to change notification settings - Fork 1
[Feat] 답변에 대한 댓글 뷰 추가 #362
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
Conversation
| ) -> Bool { | ||
| #if DEBUG | ||
| RepositoryService.shared.configureServer(to: .production) | ||
| RepositoryService.shared.configureServer(to: .test) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
디버그에서도 실제 서버로 들어가지길레 수정했습니다!
| struct AnswerComment: Identifiable, Equatable { | ||
| let id: Int | ||
| let writeId: Int | ||
| let writerGeneration: String | ||
| let content: String | ||
| var heartCount: Int | ||
| var isLiked: Bool | ||
| let isMine: Bool | ||
| var isReport: Bool | ||
| let createdAt: Date | ||
|
|
||
| var anonymityId: Int | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
임시로 만들어놓은 답변에 대한 댓글 엔티티 입니다.
추후 수정 예정
| case answer(Answer) | ||
| case bulletinBoard(BulletinBoard) | ||
| case comment(BoardComment) | ||
| case answerComment(AnswerComment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
답변-댓글의 신고 대응
| case .answerCommentButtonTapped: | ||
| return .none | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
답변-댓글 뷰로 이동하는 액션
| let comment: AnswerComment | ||
| let like: () -> Void | ||
| let delete: () -> Void | ||
| let report: () -> Void | ||
|
|
||
| @State private var hOffset: CGFloat = 0 | ||
| @State private var reportedCommentVisible: Bool = false | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기존 CommentCell 복붙입니다
thinkySide
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했슴다! API만 잘 붙이면 되겠군여 👍
OhMyungJin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
두근두근 답변 댓글 LGTM!
close #360
TO-DO
상세 설명
스크린샷