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
+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>";