feat(project): 업무 편집 상단 UI를 아사나 스타일 목록형으로 변경
- 버튼 줄 오른쪽 끝에 패널 접기(→|) 아이콘 버튼 추가 - 담당자·세션·우선순위·마감일을 "라벨(좌) + 아이콘/값(우)" 목록형 한 줄씩으로 재구성(기존 드롭다운 칩 한 줄 배치 대체) - data-close 아이콘 버튼 클릭이 무시되던 버그 수정 (e.target.hasAttribute → e.target.closest) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
function wireModalClose(modal) {
|
||||
if (!modal) return;
|
||||
modal.addEventListener("click", function (e) {
|
||||
if (e.target === modal || e.target.hasAttribute("data-close")) closeModal(modal);
|
||||
if (e.target === modal || e.target.closest("[data-close]")) closeModal(modal);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2765,7 +2765,7 @@
|
||||
} finally { taskClosing = false; }
|
||||
}
|
||||
taskModal.addEventListener("click", function (e) {
|
||||
if (e.target === taskModal || e.target.hasAttribute("data-close")) attemptCloseTaskModal();
|
||||
if (e.target === taskModal || e.target.closest("[data-close]")) attemptCloseTaskModal();
|
||||
});
|
||||
document.addEventListener("keydown", function (e) {
|
||||
if (e.key === "Escape" && !taskModal.hidden) { e.preventDefault(); attemptCloseTaskModal(); }
|
||||
@@ -2808,7 +2808,7 @@
|
||||
try { list = (await api("GET", "/project/api/projects/" + projId + "/members")).members || []; }
|
||||
catch (_) { list = []; }
|
||||
}
|
||||
sel.innerHTML = '<option value="">(미지정)</option>' + list.map(function (m) {
|
||||
sel.innerHTML = '<option value="">담당자 없음</option>' + list.map(function (m) {
|
||||
const name = idOf(m.user_email);
|
||||
return '<option value="' + m.user_email + '" data-name="' + escapeHtml(name) + '">' + escapeHtml(name) + "</option>";
|
||||
}).join("");
|
||||
|
||||
Reference in New Issue
Block a user