You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
📝 Walkthrough
The changes add foreground notification matching for visible chats, carry recruitment unread counts into chat message cells, update notification image processing, validate student numbers, and change handling for unauthorized recruitment profile requests.
Changes: Foreground notification matching
Layer / File(s)
Summary
Match foreground pushes to the visible chat Koin/Apps/AppDelegate.swift, Koin/Presentation/Recruit/RecruitChat/RecruitChatViewController.swift, Koin/Presentation/Recruit/RecruitChat/RecruitChatViewModel.swift, Koin/Presentation/LostItem/LostItemChat/LostItemChatViewController.swift, Koin/Presentation/CallVan/CallVanChat/CallVanChatViewController.swift
Chat controllers expose identifiers used by the matching helper. The foreground delegate suppresses presentation when the helper matches the push to the visible chat; otherwise, it keeps banner, list, and sound options.
Recruitment data carries unread counts into chat rows. A message count of zero maps to nil; call-van rows pass nil.
Render unread counts in message cells Koin/Core/View/UIKit/Chat/Views/ChatTableView/ChatLeftCell.swift, Koin/Core/View/UIKit/Chat/Views/ChatTableView/ChatRightCell.swift
Image and text message cells display unread counts above their time labels.
Notification image processing
Layer / File(s)
Summary
Update notification content and image handling NotificationService/NotificationService.swift
The service replaces qualifying notification bodies with “사진을 보냈습니다.”, saves data from full notification content, and resolves image URLs from FCM options or the original body. Image downloads use URLSession; successful downloads create attachments.
Student number validation
Layer / File(s)
Summary
Validate the student number Koin/Domain/Model/Recruit/BasicInfo.swift
BasicInfo.isValid rejects a nonempty student number when StudentNumberInput.isValid returns false.
sequenceDiagram
participant NotificationService
participant URLSession
participant UNNotificationAttachment
NotificationService->>URLSession: Download the resolved image URL
URLSession-->>NotificationService: Return image data or a download failure
NotificationService->>UNNotificationAttachment: Create an attachment from downloaded image data
Loading
Merge Risk:⚪ Minimal · up to a6de2
The changes adjust chat notification suppression, unread counts, notification images, and student-number validation. No concrete merge-blocking risk is identified.
Pre-merge checks · 4 · 1
Failed checks (1 warning)
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 52.17% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 23 functions across 17 files.
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks (4 passed)
Check name
Status
Explanation
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title, “fix: 팀원모집 개선,” accurately identifies the team recruitment improvements, including chat, profile validation, participant count, and unread-count changes. It does not mention the separate no…
Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
Commit to this branch
Create a new PR
🧪 Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
#️⃣연관된 이슈
📝작업 내용
팀원모집 개선 작업입니다.
포그라운드에서 보고 있는 채팅방 푸시알림 묵살
팀원모집 팀채팅 navigationTitle에 인원수가 표시되지 않는 문제 수정
팀원모집 채팅 unreadCount UI 구현
푸시알림 body가 static image url이 보이는 문제 수정
비로그인 상태에서 팀원모집 목록 화면 진입시 토스트메시지가 뜨는 문제 수정
팀원모집 프로필 학번 검증
스크린샷 (선택)
💬리뷰 요구사항(선택)