Skip to content

[FEAT/#86] 채팅 내역 UI 구현#93

Merged
eunhyekimyeah merged 10 commits intodevelopfrom
feat/#86-chat-list
Apr 27, 2026
Merged

[FEAT/#86] 채팅 내역 UI 구현#93
eunhyekimyeah merged 10 commits intodevelopfrom
feat/#86-chat-list

Conversation

@eunhyekimyeah
Copy link
Copy Markdown
Contributor

@eunhyekimyeah eunhyekimyeah commented Apr 12, 2026

📝 요약

  • 관리자, 제휴업체의 채팅 내역 UI 구현

⚙️ 작업 내용

1. entities/chat/model/types.ts

  • ChatRoomItemProps 수정

2. entities/chat/ui/ChatRoomItem.tsx - 채팅방 아이템

  • 회색 배경으로 터치 피드백 추가
  • 읽지 않은 메세지 개수가 100개 이상이면 "99+"로 표시

3. entities/chat/ui/ChatRoomList.tsx - 채팅방 아이템 리스트

  • 채팅방 아이템 리스트 컴포넌트
  • FlatList + getItemLayout (length: 70, offset: 70 * index)
  • 빈 상태 시 EmptyState 표시

4. pages/admin/chat/model/mockChatRooms.ts, pages/partner/chat/model/mockChatRooms.ts

  • 채팅내역 mock 데이터

5. pages/admin/chat/ui/AdminChatPage.tsx, pages/partner/chat/ui/PartnerChatPage.tsx

  • 채팅내역 페이지

🔗 관련 이슈

✅ 체크리스트

  • 코딩 컨벤션(Biome/Lint)을 준수하였습니다.
  • 모든 타입 에러를 해결하였습니다. (Typecheck)
  • 변경 사항에 대한 테스트를 마쳤습니다.
  • 불필요한 로그(console.log)를 제거하였습니다.

💬 리뷰어에게

  • 나머지 파일들을 경로 수정과 바이옴관련 수정 사항입니다.

@eunhyekimyeah eunhyekimyeah self-assigned this Apr 12, 2026
@eunhyekimyeah eunhyekimyeah linked an issue Apr 12, 2026 that may be closed by this pull request
@github-actions github-actions Bot added del 쓸모없는 코드나 파일 삭제 feature 새로운 기능 구현 mod 코드 수정 및 내부 파일 수정 labels Apr 12, 2026
@github-actions
Copy link
Copy Markdown

Thanks for the contribution!
I have applied any labels matching special text in your title and description.

Please review the labels and make any necessary changes.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request implements the chat room list UI for admin and partner pages, including mock data integration and a global update to routing paths. The ChatRoomItem component was enhanced with unread count logic and touch feedback. Review feedback suggests improving the user experience by disabling touch feedback when no action is provided, correcting the empty state description for partner pages to ensure contextual accuracy and proper grammar, and refactoring duplicated list logic into a reusable component to improve maintainability.

Comment thread src/entities/chat/ui/ChatRoomItem.tsx Outdated
Comment thread src/pages/partner/chat/ui/PartnerChatPage.tsx Outdated
eunhyekimyeah and others added 2 commits April 12, 2026 17:31
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@ASSU-dev ASSU-dev deleted a comment from gemini-code-assist Bot Apr 12, 2026
Copy link
Copy Markdown
Contributor

@taegeon2 taegeon2 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다! 코멘트 단 부분 외에는 문제가 될 만한 부분이 하나도 안보여요..! (제 눈에는..)

className="flex-1 bg-canvas"
contentContainerClassName="flex-1 px-6 pt-6"
>
<View className="px-6">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

큰 문제는 아니고 궁금한건데 contentContainerClassName="flex-1 px-6 pt-6" 에서 패딩이 적용되는데 내부 className에 패딩을 또 적용하신 이유가 있을까요!? 패딩이 중복되나 싶어서 여쭤봅니다!

Copy link
Copy Markdown
Contributor Author

@eunhyekimyeah eunhyekimyeah Apr 27, 2026

Choose a reason for hiding this comment

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

첨에 작성하고 나중에 더 구현하다가 놓친거같습니다!ㅎㅎ 수정했어용

@eunhyekimyeah eunhyekimyeah merged commit 6930d92 into develop Apr 27, 2026
5 checks passed
@eunhyekimyeah eunhyekimyeah deleted the feat/#86-chat-list branch April 27, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

del 쓸모없는 코드나 파일 삭제 feature 새로운 기능 구현 mod 코드 수정 및 내부 파일 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT/#86] 채팅 내역 UI 구현 - 관리자, 제휴업체

3 participants