feat(report): 워치리스트 종목을 리포트 목록에 자동 노출 - #98
Merged
Conversation
- build_report_list_response에서 워치리스트 종목을 함께 조회해 리포트가 없는 종목도 목록에 포함 (hasReport=False 마커) - ReportSummaryContract에 hasReport 옵션 필드 추가 - /report 페이지에서 미생성 종목은 "리포트 생성" 버튼 표시, 클릭 시 /report/[corpCode]로 이동 (캐시미스 UI + 재분석 버튼 활용) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
워치리스트에 추가했지만 아직 리포트가 생성되지 않은 종목이
/report목록에 안 떠서, 사용자가 새 종목 리포트를 시작할 진입점이 없던 UX 갭 해결.변경:
backend/report_runtime_builders.py:28-65—build_report_list_response에 워치리스트 머지. 리포트 있는 종목은 기존 요약, 없는 종목은hasReport: false마커로 추가.frontend/lib/api/types.ts—ReportSummaryContract.hasReport?: boolean옵션 필드.frontend/app/(app)/report/page.tsx—hasReport === false항목은 "리포트 미생성" + 리포트 생성 버튼 표시, 클릭 시/report/[corpCode]이동 (캐시미스 UI + 재분석 버튼 활용).Test plan
/watchlist에서 종목 추가 →/report에서 "리포트 미생성" + 생성 버튼 노출/report/[corpCode]→ 재분석 → 정상 리포트 항목으로 전환🤖 Generated with Claude Code