fix(portfolio): 종목 추가 모달 연결 - #99
Merged
Merged
Conversation
Topbar 'CTA' 버튼이 onCta 미연결로 동작하지 않던 버그. watchlist의 AddStockModal을 재사용해 모달을 열고 종목을 추가할 수 있게 함.
#99 reviewer가 BLOCKER로 지적한 portfolio↔watchlist UX 혼선 해결. 워치리스트=포트폴리오 통합을 유지하되, 모달 사용자 문구만 중립화하여 '종목 추가' 액션이 어느 페이지에서 수행되든 일관되게 보이도록 한다.
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
/portfolio페이지의 "종목 추가" 버튼이 동작하지 않던 버그.Topbar에onCtaprop이 미연결,AddStockModal임포트/state도 없었음.변경 (
frontend/app/(app)/portfolio/page.tsx):AddStockModalimport (watchlist 컴포넌트 재사용)showAddstate 추가Topbar onCta={() => setShowAdd(true)}연결Test plan
/api/v1/dev/watchlist응답 200/portfolio→ "종목 추가" → 모달 열림 → 검색 → 추가 → 목록에 반영🤖 Generated with Claude Code