From 7f3994d98d66816a1182f87fc891edf088875332 Mon Sep 17 00:00:00 2001 From: hyowons Date: Mon, 8 Jun 2026 17:50:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9E=90=EB=8F=99=EA=B0=B1=EC=8B=A0=20?= =?UTF-8?q?=ED=8B=B1=EB=A7=88=EB=8B=A4=20=EC=83=88=EB=A1=9C=EA=B3=A0?= =?UTF-8?q?=EC=B9=A8=20=EC=95=84=EC=9D=B4=EC=BD=98=20=EB=B9=A8=EA=B0=9B?= =?UTF-8?q?=EA=B2=8C=20=EA=B9=9C=EB=B9=A1=EC=9D=B4=EB=8D=98=20=EA=B2=83=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit load()에 추가했던 .refresh spinning(빨강) 제거 — 자동갱신마다 빨간 깜빡임 거슬림. 내용은 여전히 클리어 없이 swap. 수동 새로고침(↻)의 빨간 스핀은 manualRefresh가 그대로 유지. Co-Authored-By: Claude Opus 4.8 --- agents/stock/workspace/scripts/behive_web.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/agents/stock/workspace/scripts/behive_web.py b/agents/stock/workspace/scripts/behive_web.py index 1fe0e47..7af8453 100644 --- a/agents/stock/workspace/scripts/behive_web.py +++ b/agents/stock/workspace/scripts/behive_web.py @@ -6434,8 +6434,6 @@ def render_html() -> str: 'if(lastLoadAt&&(Date.now()-lastLoadAt)>STALE_MS){owner=null;}' 'var key=owner||"all";' 'if(!fresh&&inFlight[key])return inFlight[key];' - # 로딩 표시는 새로고침 아이콘 스핀으로만 (내용은 그대로 보임). - 'var rb=document.querySelector("a.refresh");if(rb)rb.classList.add("spinning");' 'var qs=[];if(owner)qs.push("owner="+encodeURIComponent(owner));if(fresh)qs.push("fresh=1");' 'var cd=chartDays();if(cd!==null)qs.push("chart_days="+cd);' 'var cu=chartUnit();if(cu!==null)qs.push("chart_unit="+cu);' @@ -6446,7 +6444,7 @@ def render_html() -> str: '.then(function(r){if(!r.ok)throw new Error("HTTP "+r.status);return r.json();})' '.then(function(j){apply(j);lastLoadAt=Date.now();})' '.catch(function(){failVisible("갱신 실패 — 다시 시도해주세요");});' - 'var done=function(){if(!fresh)delete inFlight[key];if(rb&&!Object.keys(inFlight).length)rb.classList.remove("spinning");};' + 'var done=function(){if(!fresh)delete inFlight[key];};' 'pr.finally?pr.finally(done):pr.then(done,done);' 'if(!fresh)inFlight[key]=pr;' 'return pr;'