Feat: 이벤트 기반 알림 파이프라인 도입 - #25
Merged
Merged
Conversation
- Notification에 event_type 추가 - NotificationRecipient(수신자별 읽음 상태), OutboxEvent(발행 대기함) 모델 추가 - NotificationEventType enum 추가
- Notification에 project_id 추가
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 변경 내용
Notification(내용) /NotificationRecipient(수신자별 읽음 상태) /OutboxEvent(발행 대기함),works다중 담당자용work_assignees/notifications이하)/notifications/wsWebSocket + 홈 헤더 종 아이콘(안읽음 배지 / 드롭다운 / 새 알림 즉시 반영 / 클릭 시 대상 페이지 이동)notice_created/updated,work_assigned/work_status_changed,project초대/수락/거절/강퇴/리더위임auth.js, 401 인터셉트 후 재시도)🎯 변경 이유
NotificationEvents에 메서드 추가 + 도메인 서비스에서 호출만 하면 되어 확장 비용이 낮습니다.🔗 관련 이슈
🧪 테스트 방법
테스트 상세
✅ 체크리스트
🔭 남은 확장 포인트 (의도적 보류)
XAUTOCLAIM(컨슈머 pending 복구) / 스트림MAXLEN