AI 어드바이저 탭을 프롬프트 생성/복사 방식으로 전환

Gemini API 직접 호출 대신 포트폴리오 데이터 기반 전문가 프롬프트를
자동 생성하고 클립보드에 복사하는 방식으로 변경.
- 보유 종목, 평균매입가, 현재가, 손익, 예수금, 시장 지표 포함
- Gemini/ChatGPT 바로가기 링크 제공
- 프롬프트 미리보기 영역 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-25 04:39:13 +09:00
parent d1ecf13400
commit f7175ad80c
2 changed files with 175 additions and 105 deletions

View File

@@ -2740,6 +2740,39 @@
flex-shrink: 0;
}
.advisor-prompt__toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.advisor-prompt__info {
font-size: 12px;
color: var(--text-muted);
}
.button.primary.small.is-copied {
background: #34d399;
color: #0f172a;
}
.advisor-prompt__preview {
white-space: pre-wrap;
word-break: break-word;
font-family: 'Courier New', Courier, monospace;
font-size: 12px;
line-height: 1.7;
color: var(--text);
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--line);
border-radius: 12px;
padding: 16px 20px;
max-height: 520px;
overflow-y: auto;
}
.advisor-panel__timestamp {
font-size: 11px;
color: var(--text-muted);