Skip to content

fix(chat): 모바일 읽음 상태와 배지 조회 동기화 - #164

Merged
minbros merged 1 commit into
devfrom
feature/mobile-chat-unread
Sep 11, 2026
Merged

minbros merged 1 commit into
devfrom
feature/mobile-chat-unread

Conversation

@minbros

@minbros minbros commented Sep 11, 2026

Copy link
Copy Markdown
Member

변경 내용

  • 모바일 채팅을 보고 있을 때 읽지 않은 메시지 개수를 재조회하지 않도록 수정했습니다.
  • 읽음 처리 전에 시작한 조회를 취소해, 늦게 도착한 응답으로 배지가 다시 나타나지 않게 했습니다.

변경 이유

  • 모바일에서 메시지를 주고받은 뒤에도 읽지 않은 메시지 배지가 남는 문제를 해결합니다.

테스트

  • npm run lint
  • npm test
  • npm run build
  • 그 외 수동 검증:

@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
frontend-server Ready Ready Preview Sep 11, 2026 4:55am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 59 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 6f78c625-eeed-470c-8528-694416bb04b4

📥 Commits

Reviewing files that changed from the base of the PR and between eba4b76 and 0f8c61c.

📒 Files selected for processing (6)
  • src/components/layout/MainRoomGate.tsx
  • src/hooks/useChatPanelOpen.ts
  • src/hooks/useRoomUnreadCount.test.tsx
  • src/hooks/useRoomUnreadCount.ts
  • src/lib/chat/message-read.test.ts
  • src/lib/chat/message-read.ts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@minbros
minbros merged commit 1b9c9fd into dev Sep 11, 2026
5 checks passed
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.

1 participant