feat(project): 타임라인 카드 — 하위 작업은 개수 말풍선만(펼치기 제거), 설명 있으면 설명 아이콘

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 14:36:04 +09:00
parent d2a65e5c37
commit 6dfc6109a4
8 changed files with 20 additions and 17 deletions
+3
View File
@@ -553,6 +553,9 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z);
.pj-tli-due { font-size: calc(11px * var(--tz)); color: #6d6e6f; }
.pj-tli-sub { display: inline-flex; align-items: center; gap: 1px; font-size: calc(11.5px * var(--tz)); font-weight: 600; color: #6d6e6f; }
.pj-tli-sub svg { width: calc(13px * var(--tz)); height: calc(13px * var(--tz)); }
/* 설명이 있으면 줄글 아이콘(보드 카드·하위 작업 줄과 같은 모양) */
.pj-tli-desc { display: inline-flex; align-items: center; color: #6d6e6f; }
.pj-tli-desc svg { width: calc(14px * var(--tz)); height: calc(14px * var(--tz)); }
/* 타임라인 하위 작업 펼치기 버튼(N ⤷ ▸) — 누르면 부모 아래에 하위 작업 카드 */
.pj-tli-sub.is-toggle { cursor: pointer; border-radius: 5px; padding: 0 1px 0 calc(4px * var(--tz)); }
.pj-tli-sub.is-toggle:hover { background: rgba(0,0,0,.07); color: #1e1f21; }
+5 -6
View File
@@ -3339,15 +3339,14 @@
avatarHtml(t.assignee_email, "pj-gicon-sm") + "</span>" : "") +
'<span class="pj-tli-text">' +
'<span class="pj-tli-title"><span class="pj-tli-name">' + escapeHtml(t.title || "") + "</span>" +
// 하위 작업은 개수만(펼치기 없음 — 말풍선 "하위 작업 N개"), 댓글 💬N, 설명이 있으면 줄글 아이콘.
(t.subtask_total
? (item.pjParentId
? '<span class="pj-tli-sub" title="하위 작업 ' + t.subtask_total + '개">' + t.subtask_total + SUBTASK_ICON_SVG + "</span>"
: '<span class="pj-tli-sub is-toggle' + (item.pjExpanded ? " is-open" : "") + '" data-task-id="' + t.id +
'" title="하위 작업 ' + t.subtask_total + "개 " + (item.pjExpanded ? "접기" : "펼치기") + '">' +
t.subtask_total + SUBTASK_ICON_SVG +
'<span class="material-symbols-outlined pj-tli-caret">' + (item.pjExpanded ? "arrow_drop_down" : "arrow_right") + "</span></span>")
? '<span class="pj-tli-sub" title="하위 작업 ' + t.subtask_total + '개">' + t.subtask_total + SUBTASK_ICON_SVG + "</span>"
: "") +
cmtBadge(t) +
(hasDescription(t.description)
? '<span class="pj-tli-desc" title="설명 있음">' + DESC_ICON_SVG + "</span>"
: "") +
"</span>" +
'<span class="pj-tli-due">' + escapeHtml(tlDateText(t)) + "</span>" +
"</span>";