[DP-408] 마이페이지 추천 섹션 구현 및 틀린 퀴즈 로딩/에러 처리 개선#105
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
연결된 Jira 티켓
작업 내용
주요 변경점
types/myPage.ts— 추천 타입 3종 추가 (date, duration/views/uploadedAt,authors/cover/publisher/publishedAt)
components/features/my-page/recommend/— RecommendedSection + 카드 컴포넌트 3종 신규 생성lib/mock/my-page-recommend-{home,video,book}.ts— 추천 mock 데이터 3종 신규 생성WrongQuizSection— isError 상태 및 .catch()/.finally() 패턴 추가WrongQuizListWrapper— 로딩/에러 처리 클라이언트 래퍼 신규 생성WrongQuizListItemSkeleton— 아이템 레이아웃 스켈레톤 신규 생성wrong-quizzes/page.tsx— async 서버 컴포넌트 → 단순 래퍼로 변경테스트 방법
/my-page접속 → 추천 섹션(홈 글 / 유튜브 / 서적) 카드 4개씩 로딩 확인/home/{id}, 유튜브·서적은 외부 링크 새 탭 오픈 확인/my-page/wrong-quizzes접속 → 로딩 스켈레톤 노출 후 목록 렌더링 확인AI 사용 여부
체크리스트