Skip to content

feat(IN-232): 인플루언서 카드 제작#105

Merged
kimYunHyeong merged 13 commits into
developfrom
IN-232
May 11, 2026
Merged

feat(IN-232): 인플루언서 카드 제작#105
kimYunHyeong merged 13 commits into
developfrom
IN-232

Conversation

@kimYunHyeong

Copy link
Copy Markdown
Collaborator

📌 작업 개요

인플루언서 카드 제작

🗂 작업 유형

해당하는 항목에 x를 채워 주세요.

  • 기능 추가 (feat)
  • 버그 수정 (fix)
  • 리팩토링 (refactor)
  • 스타일 / UI 수정 (style)
  • 성능 개선 (perf)
  • 테스트 (test)
  • 기타 (chore, docs 등)

✏️ 작업 내용

src/entities/influencer/model/types.ts: Influencer 엔티티 타입 정의
src/entities/influencer/index.ts: Influencer 타입 re-export 추가
src/entities/influencer/ui/InfluencerCard.tsx: 인플루언서 카드 UI 구현 (썸네일, 채널명, 카테고리, stats, 북마크, 채널 분석 보기 버튼)

src/shared/api/msw/handlers/influencerHandlers.ts: GET /api/v1/influencers MSW 핸들러 추가
src/shared/api/msw/handlers/index.ts: influencerHandlers 등록

src/features/influencer/api/influencerApi.ts: GET /api/v1/influencers 요청 함수 및 InfluencerListResponse 타입 정의
src/features/influencer/mock/mockInfluencers.ts: 인플루언서 목 데이터 12개 생성
src/features/influencer/ui/InfluencerList.tsx: InfluencerCard에 목 데이터 prop 연결
src/features/influencer/index.ts: fetchInfluencers, InfluencerListResponse re-export 추가

✅ 셀프 체크리스트

머지 전 직접 확인해 주세요.

  • 로컬에서 정상 동작 확인
  • 불필요한 콘솔 로그, 주석, 디버그 코드 제거
  • 타입 에러 없음

💬 리뷰어에게

shunn2 and others added 7 commits April 24, 2026 19:42
src/entities/influencer/model/types.ts: Influencer 엔티티 타입 정의
src/entities/influencer/index.ts: Influencer 타입 re-export 추가
src/entities/influencer/ui/InfluencerCard.tsx: 인플루언서 카드 UI 구현 (썸네일, 채널명, 카테고리, stats, 북마크, 채널 분석 보기 버튼)

src/shared/api/msw/handlers/influencerHandlers.ts: GET /api/v1/influencers MSW 핸들러 추가
src/shared/api/msw/handlers/index.ts: influencerHandlers 등록

src/features/influencer/api/influencerApi.ts: GET /api/v1/influencers 요청 함수 및 InfluencerListResponse 타입 정의
src/features/influencer/mock/mockInfluencers.ts: 인플루언서 목 데이터 12개 생성
src/features/influencer/ui/InfluencerList.tsx: InfluencerCard에 목 데이터 prop 연결
src/features/influencer/index.ts: fetchInfluencers, InfluencerListResponse re-export 추가
dsfg
src/entities/influencer/model/types.ts: Influencer 엔티티 타입 정의
src/entities/influencer/index.ts: Influencer 타입 re-export 추가
src/entities/influencer/ui/InfluencerCard.tsx: 인플루언서 카드 UI 구현 (썸네일, 채널명, 카테고리, stats, 북마크, 채널 분석 보기 버튼)

src/shared/api/msw/handlers/influencerHandlers.ts: GET /api/v1/influencers MSW 핸들러 추가
src/shared/api/msw/handlers/index.ts: influencerHandlers 등록

src/features/influencer/api/influencerApi.ts: GET /api/v1/influencers 요청 함수 및 InfluencerListResponse 타입 정의
src/features/influencer/mock/mockInfluencers.ts: 인플루언서 목 데이터 12개 생성
src/features/influencer/ui/InfluencerList.tsx: InfluencerCard에 목 데이터 prop 연결
src/features/influencer/index.ts: fetchInfluencers, InfluencerListResponse re-export 추가
scripts\sd.config.mjs로 인해 발생하는 빌드 오류 해소
@vercel

vercel Bot commented May 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
inflace Ready Ready Preview, Comment May 9, 2026 2:55pm

Comment thread src/entities/influencer/ui/InfluencerCard.tsx Outdated
Comment thread src/entities/influencer/ui/InfluencerCard.tsx
Comment thread src/features/influencer/api/influencerApi.ts Outdated
Comment thread src/features/influencer/api/influencerApi.ts
Comment thread src/features/influencer/ui/InfluencerList.tsx Outdated
백엔드 측에서 무한스크롤 관련 페이징 형식을 공통화하여 해당 로직에 맞게 /influencer에 대한 api응답을 변경했고 관련 로직들을 변경했습니다.
백엔드 api 명세 변경에 따라 무한스크롤 로직을 공통화
entites폴더 내에서 features를 import하던 역전성 해소
토글 즉시 TanStack Query 캐시의 bookmarked 값을 직접 업데이트해 HeartButton이 리마운트될 때 항상 올바른 초기값을 받도록 수정

@juuhye juuhye left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

코드 확인하였습니다! 머지 하시면 해시태그, 하트 버튼 사용하겠습니다! 감사합니다

@kimYunHyeong kimYunHyeong merged commit 5b8ea1f into develop May 11, 2026
2 checks passed
@kimYunHyeong kimYunHyeong deleted the IN-232 branch May 12, 2026 08:43
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.

3 participants