Merge branch 'fix/dashboard-card-fade'
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% block head_extra %}
|
{% block head_extra %}
|
||||||
{# 프로젝트 화면 부품(설명 편집기·날짜 팝업·멤버 고르기)을 그대로 쓴다 — project.js 는 PJ_LIB_ONLY 로 부품만 #}
|
{# 프로젝트 화면 부품(설명 편집기·날짜 팝업·멤버 고르기)을 그대로 쓴다 — 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" />
|
<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>
|
<script>window.PJ_LIB_ONLY = true; window.PJ_HOLIDAYS = {{ (pj_kr_holidays or {}) | tojson }};</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<script>window.NTC_PEOPLE = {{ people | tojson }};</script>
|
<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>
|
<script src="/static/erp-notice-admin.js?v=20261012b" defer></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends "project/_meeting_content_base.html" if meeting_embedded else "erp_base.html" %}
|
{% extends "project/_meeting_content_base.html" if meeting_embedded else "erp_base.html" %}
|
||||||
|
|
||||||
{% block head_extra %}
|
{% 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" />
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -298,5 +298,5 @@
|
|||||||
|
|
||||||
<script src="/static/project-goal-text.js?v=20261003d" defer></script>
|
<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-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 %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends "erp_base.html" %}
|
{% extends "erp_base.html" %}
|
||||||
|
|
||||||
{% block head_extra %}
|
{% 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" />
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -207,5 +207,5 @@
|
|||||||
{% include "project/_member_tasks_modal.html" %}
|
{% include "project/_member_tasks_modal.html" %}
|
||||||
|
|
||||||
<script src="/static/project-goal-text.js?v=20261003d" defer></script>
|
<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 %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends "erp_base.html" %}
|
{% extends "erp_base.html" %}
|
||||||
|
|
||||||
{% block head_extra %}
|
{% 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/project-help.css?v=20261003a" />
|
||||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends "erp_base.html" %}
|
{% extends "erp_base.html" %}
|
||||||
|
|
||||||
{% block head_extra %}
|
{% 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" />
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -102,5 +102,5 @@
|
|||||||
{% include "project/_side_modals.html" %}
|
{% include "project/_side_modals.html" %}
|
||||||
{% include "project/_member_tasks_modal.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 %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends "erp_base.html" %}
|
{% extends "erp_base.html" %}
|
||||||
|
|
||||||
{% block head_extra %}
|
{% 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" />
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -100,5 +100,5 @@
|
|||||||
"today": {{ today | tojson }}
|
"today": {{ today | tojson }}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="/static/project.js?v=20261013g" defer></script>
|
<script src="/static/project.js?v=20261013h" defer></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends "erp_base.html" %}
|
{% extends "erp_base.html" %}
|
||||||
|
|
||||||
{% block head_extra %}
|
{% 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" />
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -108,5 +108,5 @@
|
|||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<script src="/static/project.js?v=20261013g" defer></script>
|
<script src="/static/project.js?v=20261013h" defer></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends "erp_base.html" %}
|
{% extends "erp_base.html" %}
|
||||||
|
|
||||||
{% block head_extra %}
|
{% block head_extra %}
|
||||||
<link rel="stylesheet" href="/static/project.css?v=20261013g" />
|
<link rel="stylesheet" href="/static/project.css?v=20261013h" />
|
||||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||||
<!-- 타임라인 vis-timeline — self-host -->
|
<!-- 타임라인 vis-timeline — self-host -->
|
||||||
@@ -470,5 +470,5 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></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 %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends "erp_base.html" %}
|
{% extends "erp_base.html" %}
|
||||||
|
|
||||||
{% block head_extra %}
|
{% 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" />
|
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -70,5 +70,5 @@
|
|||||||
{% include "project/_side_modals.html" %}
|
{% include "project/_side_modals.html" %}
|
||||||
{% include "project/_member_tasks_modal.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 %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -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 b { font-size: 13.5px; margin-right: 6px; }
|
||||||
.pj-dash-tooltip span { color: #cfd3da; }
|
.pj-dash-tooltip span { color: #cfd3da; }
|
||||||
|
|
||||||
/* 카드 등장 트랜지션 — 대시보드 탭을 열 때마다 살짝 떠오르며 나타난다. */
|
/* 카드 등장 트랜지션 — 대시보드 탭을 열 때만(.pj-dash-intro) 살짝 떠오르며 나타난다.
|
||||||
.pj-dash-stat, .pj-dash-card { animation: pj-dash-in .35s cubic-bezier(.22,.9,.3,1) both; }
|
업무 창 닫기·저장·갱신으로 다시 그릴 때는 없음 — 매번 투명했다 나타나 깜박였다(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(2) { animation-delay: .04s; }
|
||||||
.pj-dash-stats .pj-dash-stat:nth-child(3) { animation-delay: .08s; }
|
.pj-dash-stats .pj-dash-stat:nth-child(3) { animation-delay: .08s; }
|
||||||
.pj-dash-stats .pj-dash-stat:nth-child(4) { animation-delay: .12s; }
|
.pj-dash-stats .pj-dash-stat:nth-child(4) { animation-delay: .12s; }
|
||||||
|
|||||||
@@ -6390,6 +6390,8 @@
|
|||||||
const n = root.querySelector(sel);
|
const n = root.querySelector(sel);
|
||||||
if (n) keepScroll[sel] = [n.scrollTop, n.scrollLeft];
|
if (n) keepScroll[sel] = [n.scrollTop, n.scrollLeft];
|
||||||
});
|
});
|
||||||
|
// 카드 등장 애니메이션(CSS .pj-dash-intro)은 탭에 들어올 때(기억한 값이 없을 때)만.
|
||||||
|
root.classList.toggle("pj-dash-intro", !Object.keys(dashPrev).length);
|
||||||
root.innerHTML = "";
|
root.innerHTML = "";
|
||||||
const vis = visibleTasks().filter(function (t) { return !t.parent_task_id; }); // 세부 업무는 보드에도 안 보이므로 제외
|
const vis = visibleTasks().filter(function (t) { return !t.parent_task_id; }); // 세부 업무는 보드에도 안 보이므로 제외
|
||||||
const today = kstTodayIso(); // UTC 날짜(toISOString)면 한국 오전에 하루 어긋났다
|
const today = kstTodayIso(); // UTC 날짜(toISOString)면 한국 오전에 하루 어긋났다
|
||||||
|
|||||||
@@ -296,7 +296,7 @@
|
|||||||
**패널에서 연 편집 창은 패널 왼쪽에 붙어 열린다**(2026-10-13, `placeTaskBesideDrawer` — 패널은 그대로 보이고 다른 줄을 바로 누를 수 있음, 6-16).
|
**패널에서 연 편집 창은 패널 왼쪽에 붙어 열린다**(2026-10-13, `placeTaskBesideDrawer` — 패널은 그대로 보이고 다른 줄을 바로 누를 수 있음, 6-16).
|
||||||
**다시 그릴 때 깜박임 없음**(2026-10-13) — 편집 창을 닫거나 저장·8초 갱신으로 대시보드를 다시 그려도 패널은 닫았다 다시 열지 않고
|
**다시 그릴 때 깜박임 없음**(2026-10-13) — 편집 창을 닫거나 저장·8초 갱신으로 대시보드를 다시 그려도 패널은 닫았다 다시 열지 않고
|
||||||
내용만 바꾸며(`openWorkloadDrawer` 가 열린 패널 재사용 — 목록 스크롤·고른 줄 유지), 숫자·막대·도넛은 마지막 값(`dashPrev`/`dashFrom`)에서
|
내용만 바꾸며(`openWorkloadDrawer` 가 열린 패널 재사용 — 목록 스크롤·고른 줄 유지), 숫자·막대·도넛은 마지막 값(`dashPrev`/`dashFrom`)에서
|
||||||
시작해 바뀐 것만 움직인다. 0부터 차오르는 애니메이션은 대시보드 탭에 들어올 때만(`selectView` 가 `dashPrev` 비움). 카드 안 스크롤도 유지.
|
시작해 바뀐 것만 움직인다. 0부터 차오르는 애니메이션과 카드 등장(투명→보임, CSS `.pj-dash-intro`)은 대시보드 탭에 들어올 때만(`selectView` 가 `dashPrev` 비움). 카드 안 스크롤도 유지.
|
||||||
- **보드** — 섹션별 칸반. `renderBoard` 는 캔버스를 통째로 다시 그리므로 **섹션 세로 스크롤(`.pj-col-body`,
|
- **보드** — 섹션별 칸반. `renderBoard` 는 캔버스를 통째로 다시 그리므로 **섹션 세로 스크롤(`.pj-col-body`,
|
||||||
섹션 id/이름 기준)·보드 가로 스크롤을 저장했다가 되돌린다**(작업 창 닫기·완료 체크·8초 갱신 후에도 보던 자리).
|
섹션 id/이름 기준)·보드 가로 스크롤을 저장했다가 되돌린다**(작업 창 닫기·완료 체크·8초 갱신 후에도 보던 자리).
|
||||||
작업 창을 닫으면 펼친 카드의 하위 작업을 먼저 다 받은 뒤 한 번에 다시 그린다(짧아진 채 그리면 스크롤이 밀림). 섹션은 아사나처럼 **가로로 계속 늘어난다** — 화면을 넘치면
|
작업 창을 닫으면 펼친 카드의 하위 작업을 먼저 다 받은 뒤 한 번에 다시 그린다(짧아진 채 그리면 스크롤이 밀림). 섹션은 아사나처럼 **가로로 계속 늘어난다** — 화면을 넘치면
|
||||||
|
|||||||
@@ -761,6 +761,13 @@ function titleVal(d) { return d.getElementById("pj-t-title").value; }
|
|||||||
const statNow = Array.from(env.d.querySelectorAll("#pj-dash .pj-dash-stat-value")).map(function (n) { return n.textContent; });
|
const statNow = Array.from(env.d.querySelectorAll("#pj-dash .pj-dash-stat-value")).map(function (n) { return n.textContent; });
|
||||||
check("[대시보드] 다시 그려도 숫자를 0부터 세지 않음", statNow.length === 4 && statFinal[3] !== "0" &&
|
check("[대시보드] 다시 그려도 숫자를 0부터 세지 않음", statNow.length === 4 && statFinal[3] !== "0" &&
|
||||||
JSON.stringify(statNow) === JSON.stringify(statFinal), [statFinal, statNow]);
|
JSON.stringify(statNow) === JSON.stringify(statFinal), [statFinal, statNow]);
|
||||||
|
// 카드 등장(투명 → 보임) 애니메이션은 탭에 들어올 때만 — 다시 그릴 때 켜지면 카드가 깜박인다
|
||||||
|
const dashRoot = env.d.getElementById("pj-dash");
|
||||||
|
const introOnRedraw = dashRoot.classList.contains("pj-dash-intro");
|
||||||
|
env.d.querySelector('.pj-tab[data-view="board"]').click();
|
||||||
|
env.d.querySelector('.pj-tab[data-view="dashboard"]').click();
|
||||||
|
check("[대시보드] 카드 등장 애니메이션 = 탭 진입 때만", !introOnRedraw && dashRoot.classList.contains("pj-dash-intro"),
|
||||||
|
[introOnRedraw, dashRoot.className]);
|
||||||
}
|
}
|
||||||
// ── 섹션 제목 오른쪽 담당자 바로 지정 · 업무 창 세부 업무 줄 협업자(2026-10-13) ──
|
// ── 섹션 제목 오른쪽 담당자 바로 지정 · 업무 창 세부 업무 줄 협업자(2026-10-13) ──
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user