Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDLE-443] 채팅방 목록 UI 구현 #128

Merged
merged 10 commits into from
Oct 29, 2024
Merged

[IDLE-443] 채팅방 목록 UI 구현 #128

merged 10 commits into from
Oct 29, 2024

Conversation

tgyuuAn
Copy link
Member

@tgyuuAn tgyuuAn commented Oct 20, 2024

1. 🔥 변경된 내용

  • 채팅창 관련 모듈 추가
  • 채팅방 UI 구현
  • Notification에 있던 LocalDateTime 로직 TimeUtil로 이동
  • 함수가 이동함에 따라 테스트 코드 위치도 변경

2. 📸 스크린샷(선택)

image

2024-10-20.5.24.29.mov

@tgyuuAn tgyuuAn added the UI/UX 🎨 디자인 시스템, 디자인 리소스 관련 코드 🎨 label Oct 20, 2024
@tgyuuAn tgyuuAn self-assigned this Oct 20, 2024
@tgyuuAn tgyuuAn force-pushed the develop branch 10 times, most recently from 6b30e0b to 35ce5d6 Compare October 28, 2024 14:25
@tgyuuAn tgyuuAn changed the title [IDLE-443] 채팅 프로토타입 UI 구현 [IDLE-443] 채팅방 목록 UI 구현 Oct 29, 2024
@tgyuuAn tgyuuAn added the 테스트 📜 테스트 코드 작성 📜 label Oct 29, 2024
Comment on lines +9 to +63
suspend operator fun invoke(): Result<List<ChatRoom>> = Result.success(
listOf(
ChatRoom(
id = "1",
sender = "user1",
receiver = "user2",
createdAt = LocalDateTime.now().minusDays(1),
lastMessage = "안녕하세요!안녕하세요!안녕하세요!안녕하세요!안녕하세요!안녕하세요!",
lastSentAt = LocalDateTime.now().minusHours(1),
unReadMessageCount = 3,
profileImageUrl = "",
),
ChatRoom(
id = "2",
sender = "user3",
receiver = "user4",
createdAt = LocalDateTime.now().minusDays(3),
lastMessage = "오늘 만날 수 있을까요?",
lastSentAt = LocalDateTime.now().minusHours(5),
unReadMessageCount = 2,
profileImageUrl = "",
),
ChatRoom(
id = "3",
sender = "user5",
receiver = "user6",
createdAt = LocalDateTime.now().minusDays(7),
lastMessage = "네, 좋습니다!",
lastSentAt = LocalDateTime.now().minusDays(1).minusHours(2),
unReadMessageCount = 1,
profileImageUrl = "",
),
ChatRoom(
id = "4",
sender = "user7user7user7user7user7user7user7user7user7user7user7user7",
receiver = "user8",
createdAt = LocalDateTime.now().minusHours(2),
lastMessage = "곧 출발합니다.곧 출발합니다.곧 출발합니다.곧 출발합니다.곧 출발합니다.곧 출발합니다.곧 출발합니다.곧 출발합니다.",
lastSentAt = LocalDateTime.now().minusMinutes(30),
unReadMessageCount = 0,
profileImageUrl = "",
),
ChatRoom(
id = "5",
sender = "user9",
receiver = "user10",
createdAt = LocalDateTime.now().minusWeeks(1),
lastMessage = "다음 주에 봐요!",
lastSentAt = LocalDateTime.now().minusDays(3),
unReadMessageCount = 0,
profileImageUrl = "https://cdn.pixabay.com/photo/2020/05/17/20/21/cat-5183427_1280.jpg",
)
)
)
}
Copy link
Member Author

Choose a reason for hiding this comment

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

더미 데이터

@tgyuuAn tgyuuAn marked this pull request as ready for review October 29, 2024 12:27
@tgyuuAn tgyuuAn merged commit 742c877 into develop Oct 29, 2024
@tgyuuAn tgyuuAn deleted the feature/IDLE-443 branch October 29, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI/UX 🎨 디자인 시스템, 디자인 리소스 관련 코드 🎨 테스트 📜 테스트 코드 작성 📜
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant