fix(creator): 커뮤니티 반응 순서를 조정한다

This commit is contained in:
Yu Sung
2026-07-12 08:33:13 +09:00
parent 47fe0e787d
commit eaed309a1d
14 changed files with 86 additions and 54 deletions

View File

@@ -339,6 +339,7 @@
- `COMMUNITY_POST``communityPost` payload가 있을 때만 렌더링한다.
- 표시 값은 `postId`, `creatorProfileImage`, `creatorNickname`, `imageUrl`, `content`, `createdAt`, `likeCount`, `commentCount`를 사용한다.
- 기존 `CommunityPostCard`를 재사용할 경우 `audioUrl = nil`, `price = 0`, `existOrdered = true`, `isLike = false`로 매핑한다.
- 반응 정보는 댓글 아이콘/댓글 수를 먼저, 좋아요 아이콘/좋아요 수를 뒤에 표시한다.
- `createdAt`은 기존 `CommunityPostCard``createdAt` 표시 형식에 맞춰 전달한다.
- 검증 기준:
- 실행 명령: `rg "COMMUNITY_POST|communityPost|CommunityPostCard|postId|creatorProfileImage|likeCount|commentCount|audioUrl: nil|price: 0|existOrdered: true" SodaLive/Sources/V2/Main/Home/Following/Components/MainHomeFollowingNewsSection.swift`

View File

@@ -417,6 +417,7 @@ Figma 참조:
- `CONTENT_RANKING` 탭 시 `contentRanking.contentId`로 콘텐츠 상세로 이동한다.
- `COMMUNITY_POST`
- 기존 `CommunityPostCard` 또는 기존 커뮤니티 Feed View를 재사용한다.
- 반응 정보는 댓글 아이콘/댓글 수를 먼저, 좋아요 아이콘/좋아요 수를 뒤에 표시한다.
- `communityPost` payload를 사용한다.
- `postId`, `creatorProfileImage`, `creatorNickname`, `imageUrl`, `content`, `createdAt`, `likeCount`, `commentCount`를 표시한다.
- 기존 `CommunityPostCard`를 재사용할 경우 `audioUrl = nil`, `price = 0`, `existOrdered = true`로 매핑해 표시 전용으로 사용한다.