fix(project): 타임라인 배경을 프로젝트 시작/마감일 기준으로 표시

배경(전체 일정)을 업무 최소~최대가 아니라 프로젝트 자체 start_date~
due_date 로 칠한다. 업무가 그 밖에 있으면 범위를 넓혀 가리지 않게 유지.
projects_meta 에 start_date/due_date 추가.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-25 16:59:57 +09:00
parent c0ca3cf64f
commit 523b9b3150
4 changed files with 21 additions and 8 deletions
+2
View File
@@ -399,6 +399,8 @@ async def project_page(request: Request, project_id: int) -> HTMLResponse:
"id": p["id"],
"name": p["name"],
"color": p.get("color") or "#4573d2",
"start_date": p.get("start_date"),
"due_date": p.get("due_date"),
})
nav_projects.append({
"id": p["id"],