feat(project): dashboard workload by assignee with subtasks and completion

Replace the scheduled-tasks bar chart with a table of all tasks assigned
per person in scope (no due date needed, filters ignored): main tasks,
subtasks (new GET /api/projects/{id}/subtasks-summary), done counts and
completion rate, plus a total row. Admin only, as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 14:09:06 +09:00
parent c766af691a
commit fc3a2d0b9b
14 changed files with 247 additions and 26 deletions
+17
View File
@@ -1544,6 +1544,23 @@ img.pj-person-ic { width: 22px; height: 22px; }
box-shadow: var(--pj-card-shadow); padding: 18px 20px 20px; min-width: 0;
}
.pj-dash-card-wide { grid-column: 1 / -1; }
/* 담당자별 작업 합계(메인·하위, 완료) 표 */
.pj-dash-workload { overflow-x: auto; }
.pj-wl-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.pj-wl-table th, .pj-wl-table td { padding: 8px 10px; border-bottom: 1px solid var(--pj-border); text-align: left; white-space: nowrap; }
.pj-wl-table thead th { font-size: 12px; font-weight: 600; color: var(--pj-ink-soft); }
.pj-wl-table thead th:nth-child(2), .pj-wl-table thead th:nth-child(3), .pj-wl-table thead th:nth-child(4) { text-align: right; }
.pj-wl-table tbody th { font-weight: 600; }
.pj-wl-cnt { text-align: right !important; width: 72px; }
.pj-wl-num { min-width: 150px; }
.pj-wl-num > span { margin-left: 8px; color: var(--pj-ink-soft); }
.pj-wl-num b { color: var(--pj-ink); }
.pj-wl-num em { font-style: normal; font-weight: 700; color: var(--pj-accent-dark); margin-left: 4px; }
.pj-wl-num em.is-good { color: #1f8a4c; }
.pj-wl-bar { display: inline-block; vertical-align: middle; width: 90px; height: 8px; border-radius: 999px; background: #eceef2; overflow: hidden; }
.pj-wl-bar i { display: block; height: 100%; border-radius: inherit; background: var(--color-success-green, #2e9e5b); transition: width .6s cubic-bezier(.22,.9,.3,1); }
.pj-wl-all .pj-wl-bar { width: 120px; }
.pj-wl-total th, .pj-wl-total td { border-bottom: none; border-top: 2px solid var(--pj-border); font-weight: 700; }
.pj-dash-card-title { font-size: 13.5px; font-weight: 700; color: var(--pj-ink); margin-bottom: 18px; }
/* 세로 막대(섹션별/담당자별 공용) */