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:
2026-10-13 23:37:04 +09:00
parent 1c42ed5dd3
commit 90332bcb59
13 changed files with 30 additions and 20 deletions
@@ -2,7 +2,7 @@
{% block head_extra %}
{# 프로젝트 화면 부품(설명 편집기·날짜 팝업·멤버 고르기)을 그대로 쓴다 — project.js 는 PJ_LIB_ONLY 로 부품만 #}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<script>window.PJ_LIB_ONLY = true; window.PJ_HOLIDAYS = {{ (pj_kr_holidays or {}) | tojson }};</script>
{% endblock %}
@@ -64,7 +64,7 @@
</section>
</div>
<script>window.NTC_PEOPLE = {{ people | tojson }};</script>
<script src="/static/project.js?v=20261013g" defer></script>
<script src="/static/project.js?v=20261013h" defer></script>
<script src="/static/erp-notice-admin.js?v=20261012b" defer></script>
{% endif %}
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "project/_meeting_content_base.html" if meeting_embedded else "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -298,5 +298,5 @@
<script src="/static/project-goal-text.js?v=20261003d" defer></script>
<script src="/static/project-meeting-cells.js?v=20261012a" defer></script>
<script src="/static/project.js?v=20261013g" defer></script>
<script src="/static/project.js?v=20261013h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -207,5 +207,5 @@
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project-goal-text.js?v=20261003d" defer></script>
<script src="/static/project.js?v=20261013g" defer></script>
<script src="/static/project.js?v=20261013h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<link rel="stylesheet" href="/static/project-help.css?v=20261003a" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -102,5 +102,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20261013g" defer></script>
<script src="/static/project.js?v=20261013h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -100,5 +100,5 @@
"today": {{ today | tojson }}
}
</script>
<script src="/static/project.js?v=20261013g" defer></script>
<script src="/static/project.js?v=20261013h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -108,5 +108,5 @@
});
})();
</script>
<script src="/static/project.js?v=20261013g" defer></script>
<script src="/static/project.js?v=20261013h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -470,5 +470,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20261013g" defer></script>
<script src="/static/project.js?v=20261013h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -70,5 +70,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20261013g" defer></script>
<script src="/static/project.js?v=20261013h" defer></script>
{% endblock %}
+3 -2
View File
@@ -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; }
+2
View File
@@ -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)면 한국 오전에 하루 어긋났다