v4.1.3: 투자앱 시작화면 XLK 차트 자동표시 + 언어앱 타일뷰 발음 버튼 추가

- 투자앱 시작 시 빈 차트 대신 XLK(기술주 섹터 ETF) TradingView 차트를 바로 띄우도록 변경
- 언어앱 플래시카드 타일 그리드 뷰에 🔊 발음 듣기 버튼 추가 (기존엔 로마자 발음
  표시만 있고 TTS 버튼이 빠져있었음) — 단일 카드 뷰와 동일하게 카드 중앙 하단에 배치,
  클릭 시 카드가 뒤집히지 않도록 stopPropagation 처리

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
kim
2026-07-14 10:38:19 +09:00
co-authored by Claude Sonnet 5
parent 1f112fd227
commit 30db2a0a48
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "smallclaw",
"version": "4.1.2",
"version": "4.1.3",
"description": "Local AI agent framework powered by Ollama - OpenClaw alternative",
"main": "dist/index.js",
"bin": {
+1 -1
View File
@@ -840,7 +840,7 @@ function autoResize(el){el.style.height='auto';el.style.height=Math.min(el.scrol
await loadHistory();
await loadWatchlist();
renderWatchlist();
setChartType('kr');
loadTV('AMEX:XLK','D','XLK (기술주 섹터 ETF)');
await Promise.all([loadSkill(),loadModels()]);
addMsg('system','📈 투자 어시스턴트입니다. 종목 분석, 포트폴리오 구성, 경제지표를 도와드립니다.');
initAppVoice(sendMessage);
+2
View File
@@ -94,6 +94,7 @@ body { background: var(--bg); color: var(--text); font-family: 'Nanum Gothic', s
.tile-rom { font-size: 15px; color: var(--muted); font-style: italic; margin-top: 8px; }
.tile-ko { font-size: 26px; font-weight: 700; color: #22c55e; word-break: keep-all; }
.tile-cat { position: absolute; top: 8px; right: 10px; font-size: 11px; color: var(--muted); }
.tile-tts-btn { font-size: 20px; margin-top: 8px; }
/* ── Vocab table ── */
.vocab-wrap { flex: 1; overflow: auto; padding: 0; }
@@ -781,6 +782,7 @@ function renderGrid() {
<span class="tile-cat">${CAT_LABELS[v.cat]||''}</span>
<div class="tile-uz">${v.uz}</div>
${showRom?`<div class="tile-rom">[${v.rom}]</div>`:''}
<button class="tts-btn tile-tts-btn" data-uz="${v.uz.replace(/"/g,'&quot;')}" onclick="event.stopPropagation();speak(this.dataset.uz,this)" title="발음 듣기">🔊</button>
</div>
<div class="tile-face tile-back">
<div class="tile-ko">${v.ko}</div>