Skip to content

Conversation

@Yun-Jinwoo
Copy link
Collaborator

@Yun-Jinwoo Yun-Jinwoo commented Jun 20, 2025

📌 변경 사항 개요

알림 읽음 처리를 담당하는 함수 putAlerts를 구현했습니다.

📝 상세 내용

alertApi.ts 파일에 PUT /users/{user_id}/alerts/{alert_id} 요청을 담당하는 함수 putAlerts를 구현했습니다.
이 함수는 prop으로 userId와 alertId를 받습니다.

🔗 관련 이슈

🖼️ 스크린샷(선택사항)

💡 참고 사항

🐸discussion🐸

다음 작업으로 알림 모달에서 알림 읽음 처리를 구현할 계획입니다. 다만, 논의하고 싶은 점이 있습니다.
알림창을 키면 나와있는 알림을 그냥 모두 읽음 처리를 할까요?
아니면 다른 방식으로 구현할까요? (ex. 마우스를 갖다대면 읽음처리 / 클릭 시 읽음 처리)
생각나는 방식이 있으시거나 원하는 방식에 대해 댓글 부탁드립니다~!

@Yun-Jinwoo Yun-Jinwoo linked an issue Jun 20, 2025 that may be closed by this pull request
2 tasks
@Yun-Jinwoo Yun-Jinwoo self-assigned this Jun 20, 2025
@Yun-Jinwoo Yun-Jinwoo added the ✨ 기능 추가/구현 새로운 기능을 추가하거나 구현했어요! label Jun 20, 2025
Copy link
Collaborator

@minimo-9 minimo-9 left a comment

Choose a reason for hiding this comment

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

잘 만드셨네요 굿굿 저는 마우스 갖다대는 것보다 클릭이 좋은 것 같습니다 사실 제일 좋은 건 전체읽음 버튼인데 이건 논외니 제외하겠습니다 ㅠ

Copy link
Contributor

@Moon-ju-young Moon-ju-young left a comment

Choose a reason for hiding this comment

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

아마 알림을 누르면 이동하지 않나요? 맞다면 클릭시 읽음 처리 되는 게 더 나을 것 같습니다! 추가적으로 제목에 api 함수라고 명시해주시면 더 좋을 것 같습니다!

@Yun-Jinwoo Yun-Jinwoo changed the title ✨ feat: 알림 읽음 처리 함수 구현 ✨ feat: alert Api - 알림 읽음 처리 함수 구현 Jun 20, 2025
@ghost
Copy link

ghost commented Jun 20, 2025

구현하시느라 고생많으셨습니다!!

@Yun-Jinwoo Yun-Jinwoo merged commit 1b665d4 into develop Jun 20, 2025
2 checks passed
@Yun-Jinwoo Yun-Jinwoo deleted the feat/80-alertApi branch June 20, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ 기능 추가/구현 새로운 기능을 추가하거나 구현했어요!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] alert API 함수 구현

4 participants