feat(project): 하위 업무도 업무처럼 팝업에서 똑같이 편집(아사나식)

하위 업무를 누르면 상위 업무가 아니라 그 하위 업무 자신의 팝업이 열려
제목·담당자·우선순위·마감일·설명·첨부·댓글·팔로워·하위 업무를 업무와
똑같이 고친다.

- 여는 곳: 보드 카드 하위 업무 줄 클릭 / 우클릭 "열기", 업무 팝업 하위
  업무 줄의 › 버튼, 공유 링크(/project/t/{id} 가 하위 업무 자신을 연다)
- 제목 위에 상위 업무 경로(누르면 상위 업무로), 세션 칸·프로젝트 연결은 숨김
- GET /api/tasks/{id} 에 parent_title 추가
- 저장해도 보드 목록에 카드로 끼어들지 않게 mergeTask 에서 제외
- 정적 파일 버전 20260925e

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 18:36:48 +09:00
parent d5e02b04a4
commit 91347f8aef
8 changed files with 97 additions and 17 deletions
+15
View File
@@ -498,6 +498,17 @@
color: var(--pj-ink); box-sizing: border-box;
}
.pj-t-title-input:focus { outline: none; background: #f6f7f8 !important; border-radius: 8px; }
/* 하위 업무 팝업 — 제목 위 상위 업무 경로(아사나식). 누르면 상위 업무로 */
.pj-task-modal-card > .pj-t-parent { flex: none; }
.pj-t-parent {
display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; max-width: 100%;
margin: 6px 0 -4px; padding: 2px 6px; border: none; background: transparent; border-radius: 6px;
font-size: 12px; color: var(--pj-ink-soft); cursor: pointer;
}
.pj-t-parent[hidden] { display: none; }
.pj-t-parent:hover { background: #f1f2f4; color: var(--pj-ink); }
.pj-t-parent .material-symbols-outlined { font-size: 16px; transform: scaleX(-1); }
.pj-t-parent-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 메타 정보 — 아사나처럼 "라벨(좌, 고정폭) + 아이콘/값(우)" 목록형 한 줄씩. */
.pj-meta-list { display: flex; flex-direction: column; margin-bottom: 4px; }
.pj-meta-row2 {
@@ -916,6 +927,10 @@ label.pj-desc-fmtbtn { line-height: 26px; }
.pj-subtask-row.is-done { opacity: .5; }
.pj-subtask-row.is-done .pj-subtask-title { text-decoration: line-through; color: #9aa1a9; }
.pj-subtask-row input[type="checkbox"] { width: auto; margin: 0; flex: 0 0 auto; }
/* 하위 업무 열기(›) — 줄에 마우스를 올리면 진해진다 */
.pj-subtask-open { flex: 0 0 auto; width: 26px; height: 26px; color: #9aa1a9; }
.pj-subtask-row:hover .pj-subtask-open { color: var(--pj-ink); }
.pj-subtask-open .material-symbols-outlined { font-size: 20px; }
.pj-subtask-title {
/* flex-basis 는 반드시 0(퍼센트 아님) — auto 로 두면 .pj-modal-card 의 공용
input[type=text] 규칙이 준 width:100% 로 넘어가 버려 한 줄 배치가 깨진다. */