fix(project): 대시보드 다시 그릴 때 카드 페이드인 반복 제거
카드·숫자 타일의 등장 애니메이션(opacity 0 → 1)이 다시 그릴 때마다 재생돼 업무 창을 닫으면 그래프가 잠깐 사라졌다 나타났다(실제 크롬에서 프레임별 opacity 측정으로 확인). 등장 애니메이션은 대시보드 탭에 들어올 때만(.pj-dash-intro) 켠다. 정적 파일 캐시 키도 올림(20261013h). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1793,8 +1793,9 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
.pj-dash-tooltip b { font-size: 13.5px; margin-right: 6px; }
|
||||
.pj-dash-tooltip span { color: #cfd3da; }
|
||||
|
||||
/* 카드 등장 트랜지션 — 대시보드 탭을 열 때마다 살짝 떠오르며 나타난다. */
|
||||
.pj-dash-stat, .pj-dash-card { animation: pj-dash-in .35s cubic-bezier(.22,.9,.3,1) both; }
|
||||
/* 카드 등장 트랜지션 — 대시보드 탭을 열 때만(.pj-dash-intro) 살짝 떠오르며 나타난다.
|
||||
업무 창 닫기·저장·갱신으로 다시 그릴 때는 없음 — 매번 투명했다 나타나 깜박였다(2026-10-13). */
|
||||
.pj-dash-intro .pj-dash-stat, .pj-dash-intro .pj-dash-card { animation: pj-dash-in .35s cubic-bezier(.22,.9,.3,1) both; }
|
||||
.pj-dash-stats .pj-dash-stat:nth-child(2) { animation-delay: .04s; }
|
||||
.pj-dash-stats .pj-dash-stat:nth-child(3) { animation-delay: .08s; }
|
||||
.pj-dash-stats .pj-dash-stat:nth-child(4) { animation-delay: .12s; }
|
||||
|
||||
@@ -6390,6 +6390,8 @@
|
||||
const n = root.querySelector(sel);
|
||||
if (n) keepScroll[sel] = [n.scrollTop, n.scrollLeft];
|
||||
});
|
||||
// 카드 등장 애니메이션(CSS .pj-dash-intro)은 탭에 들어올 때(기억한 값이 없을 때)만.
|
||||
root.classList.toggle("pj-dash-intro", !Object.keys(dashPrev).length);
|
||||
root.innerHTML = "";
|
||||
const vis = visibleTasks().filter(function (t) { return !t.parent_task_id; }); // 세부 업무는 보드에도 안 보이므로 제외
|
||||
const today = kstTodayIso(); // UTC 날짜(toISOString)면 한국 오전에 하루 어긋났다
|
||||
|
||||
Reference in New Issue
Block a user