feat(project): 모든 날짜 칸을 아사나식 날짜 팝업으로(브라우저 기본 달력 제거)

- enhanceDateInput: input[type=date] 를 숨기고 날짜 버튼을 붙여 openDatePopover 를
  연다. input 은 값 저장소로 남아 기존 .value·change 코드가 그대로 동작
- 새 프로젝트 마감일, 프로젝트 수정 시작일·마감일(버튼 하나, 팝업의 "+ 시작일"),
  하위 작업 추가 줄 마감일에 적용
- 정적 파일 버전 20260925h

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 19:50:32 +09:00
parent 3620482913
commit d9fba4ad1f
8 changed files with 93 additions and 12 deletions
@@ -12,7 +12,9 @@
<h3>새 프로젝트</h3>
<label>이름<input type="text" id="pj-f-name" placeholder="프로젝트 이름" /></label>
<label>설명<textarea id="pj-f-desc" rows="2"></textarea></label>
<label>마감일<input type="date" id="pj-f-due" /></label>
{# 날짜 칸은 project.js enhanceDateInput 이 아사나식 날짜 버튼으로 바꾼다(input 은 숨긴 값 저장소).
label 로 감싸지 않는다 — label 안의 버튼을 누르면 숨긴 input 이 다시 눌리는 문제가 생긴다. #}
<div class="pj-field-label">마감일<input type="date" id="pj-f-due" /></div>
<label>색상
<span class="pj-color-palette" id="pj-f-colors"></span>
</label>
@@ -33,9 +35,10 @@
<input type="hidden" id="pj-e-id" />
<label>이름<input type="text" id="pj-e-name" placeholder="프로젝트 이름" /></label>
<label>설명<textarea id="pj-e-desc" rows="2"></textarea></label>
<div class="pj-form-row">
<label>시작일<input type="date" id="pj-e-start" /></label>
<label>마감일<input type="date" id="pj-e-due" /></label>
{# 시작일·마감일은 버튼 하나(아사나식 날짜 팝업의 "+ 시작일") — enhanceDateInput(startInput) #}
<div class="pj-field-label">시작일 · 마감일
<input type="date" id="pj-e-start" />
<input type="date" id="pj-e-due" />
</div>
<label>색상
<span class="pj-color-palette" id="pj-e-colors"></span>