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

장소 신고하기 API 구현 #370

Merged
merged 7 commits into from
Aug 21, 2024
Merged

Conversation

jyoo0515
Copy link
Member

@jyoo0515 jyoo0515 commented Aug 16, 2024

  • 현재 신고하기 버튼에 아무런 기능이 안붙어 있는데
  • 신고하기 버튼을 누를 경우 이를 슬랙에 메세지를 쏘도록 합니다
  • 현재는 임시방편이고, 나중에 제대로 디자인까지 바꾸서 DB 에 쌓고 어드민에서 확인하는 기능이 기획될 듯

Checklist

  • 충분한 양의 자동화 테스트를 작성했는가?
    • 계단정복지도 서비스는 사이드 프로젝트로 진행되는 만큼 충분한 QA 없이 배포되는 경우가 많습니다. 따라서 자동화 테스트를 꼼꼼하게 작성하는 것이 서비스 품질을 유지하는 데 매우 중요합니다.

@jyoo0515 jyoo0515 requested a review from a team as a code owner August 16, 2024 07:07
@@ -598,6 +598,27 @@ paths:
required:
- placeAccessibilityComment

/reportAccessibility:
Copy link
Contributor

Choose a reason for hiding this comment

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

기획에 대해 잘 모르는데, reportPlaceAccessibility랑 reportBuildingAccessibility가 구분되지 않아도 괜찮나요?

Copy link
Member Author

Choose a reason for hiding this comment

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

일단 지금 앱 구현에서는 따로 구분되어 있는거 같지 않아서 Place 로 합쳐놨는데 한번 여쭤볼게요!

package club.staircrusher.accessibility.application.port.out

// TODO: push 기능 생기면 그거랑 합치기
interface NotificationService {
Copy link
Contributor

Choose a reason for hiding this comment

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

notification이 꽤나 여러가지 의미를 가지는 것 같아서, 걍 SlackService가 더 나을지도? ㅋㅋ

Copy link
Member Author

Choose a reason for hiding this comment

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

properties: SlackNotificationProperties
) : NotificationService {
private val logger = KotlinLogging.logger {}
private val slackService = createExternalApiService<SlackService>(
Copy link
Contributor

Choose a reason for hiding this comment

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

오 감사합니다 ㅋㅋ

@jyoo0515 jyoo0515 merged commit 7e91b2f into main Aug 21, 2024
1 check passed
@jyoo0515 jyoo0515 deleted the jason/20240815-report-to-slack branch August 21, 2024 13:22
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.

2 participants