Skip to content

Conversation

asp345
Copy link
Member

@asp345 asp345 commented Jul 19, 2025

아직 어떤 강의에 대해 알림을 보내는 부분은 구현 안했어요

activityType이나 question은 db에서 삭제되거나 내용이 수정되지 않고, activityType은 name을 unique하게 하고 활성/비활성화로 관리, question은 비활성화 시킨 다음 새로운 것을 추가하는 방식으로 관리하게 했습니다
서버와 통신할때 activityType은 이름으로, question은 id로 주고받도록 했는데 둘다 id가 낫다면 바꿔볼게요

/admin/diary 에 추가된것:

  • 개강/종강/중간/기말 등 activityType과 activityType에 대응되는 질문 추가/삭제

/diary 로 추가된것:

  • 활성 상태인 activityType 알려주기
  • activityType과 lectureId 가지고 사용자가 아직 답변하지 않은 질문 3개 보내주는 api
  • 강의 일기장 제출
  • 내 응답 간략히 보기

@asp345 asp345 requested review from PFCJeong and a team as code owners July 19, 2025 09:20
@asp345 asp345 requested review from davin111, Hank-Choi and SeonghaeJo and removed request for a team July 19, 2025 09:20
@asp345 asp345 changed the title 강의 일기장 작성 및 질문 목록 관리 API 추가 강의 일기장 작성, 조회 및 질문 목록 관리 API 추가 Jul 19, 2025
Copy link
Member

@Hank-Choi Hank-Choi left a comment

Choose a reason for hiding this comment

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

보려했으나 신기능 이해가 필요할 것 같아서 보류 😢

@Bean
@DiaryDocs
fun diaryRouter() =
v1CoRouter {
Copy link
Member

Choose a reason for hiding this comment

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

오랫동안 방치되긴 했는데
v1CoRouter라는게 사실 구버전에서 버전 없이 요청하는 경우를 지원하기 위한 용도라
coRouter 써도 좋을듯

@asp345
Copy link
Member Author

asp345 commented Aug 6, 2025

리뷰해준거 반영했는데 같은 이름의 activity가 여러 개 생성되게 하고 싶지 않아서 삭제는 없고 활성화/비활성화만 있고, id로 주고받는 부분은 안했어요
동작은 피그마에 올라온거 그대로라서 이거 확인해주면 될거같아 https://www.figma.com/design/t9AoHBsLy0wjdIE8dcMtwp/SNUTT-Design-System?node-id=1639-3829&t=wjNySiW3nLsrlsW5-1

@asp345
Copy link
Member Author

asp345 commented Aug 6, 2025

어라 근데 v1CoRouter를 써야 하는거 아니야?
아니면 coRouter에 버전을 기본적으로 붙이자는 건가

@asp345 asp345 force-pushed the feature/lecture-diary branch from d2b4d13 to 7ac3306 Compare August 6, 2025 13:38
@asp345
Copy link
Member Author

asp345 commented Aug 10, 2025

@eastshine2741 리뷰해준거 추가로 반영했어 내가 몇개 그냥 지나쳤었네..

Copy link
Contributor

@eastshine2741 eastshine2741 left a comment

Choose a reason for hiding this comment

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

ㅋㅋㅋㅋㅋ내가 너무 많이 달아서,,, 고생했당

@asp345
Copy link
Member Author

asp345 commented Aug 20, 2025

너무 늦어지는거 같아서 일단 머지할게요

@asp345 asp345 merged commit 0d10853 into develop Aug 20, 2025
2 checks passed
@asp345 asp345 deleted the feature/lecture-diary branch August 20, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants