[DP-394] 홈 검색 오버레이 트렌드 분석 API 스펙 반영 및 UI 보완#110
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 티켓
작업 내용
GET /trends/analysis백엔드 스펙에 맞게 타입 및 mock 데이터 갱신HomeSearchOverlay상태 변수 및 쿼리 키 백엔드 스펙 기준으로 정렬주요 변경점
types/search.ts—TrendRangedaily/weekly/monthly,TrendTopPost에translatedTitle,isMyInterest추가,TrendKeywordItemstate/rankChange로 변경,HomeTrendData필드 nullable 처리 및trendingTags리네임lib/mock/home-search-trend.ts— 백엔드 응답 스펙 기준으로 mock 데이터 전면 갱신 (dateLabel 포맷, title/translatedTitle 방향, periodStart/periodEnd 추가)HomeSearchOverlay—range→unit, queryKey["trends", "analysis", unit]으로 교체,topPostsWithInterest클라이언트 계산 추가,user?.tags의존성 최적화HomeRangeTabs— 탭 값 daily/weekly/monthly로 변경,unitprop으로 리네임HomeTrendingKeywordsSection—deltaType/deltaValue→state/rankChange, 빈 상태 메시지 추가HomeTopPostsSection— 카드Link처리,translatedTitle || titlefallback,onClose연동HomeSearchResultAccordionItem— "전체 글 보기"href/home/${item.id}로 교체,onClose연동테스트 방법
/home/{id}로 이동 확인AI 사용 여부
체크리스트