From 8ea0db9245fba6031cd9996be3f054d0f7eddd0c Mon Sep 17 00:00:00 2001 From: king Date: Thu, 17 Sep 2026 15:50:59 +0900 Subject: [PATCH] =?UTF-8?q?feat(project):=20=EC=A2=8C=EC=B8=A1=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=EC=A0=9D=ED=8A=B8=20=ED=8A=B8=EB=A6=AC=EB=8F=84=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C=20=ED=94=84=EB=A1=9C=EC=A0=9D=ED=8A=B8=20?= =?UTF-8?q?=EB=B3=84=EB=8F=84=20=EC=84=B9=EC=85=98=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=B6=84=EB=A5=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 홈 카드와 같은 원칙 — "프로젝트" 목록 아래 "완료 프로젝트" 섹션을 따로 둔다. 서버 렌더(project.html, rejectattr/selectattr로 분리)와 클라이언트 재렌더(project.js renderTree) 둘 다 반영. 완료 섹션이 처음엔 없어도 (완료 프로젝트가 하나도 없던 상태로 열었을 때) 완료로 바뀌는 순간 JS가 동적으로 섹션을 만들고, 마지막 하나가 해제/삭제되면 다시 치운다. 드래그 재정렬은 각 섹션 안에서만(홈 카드와 동일). Co-Authored-By: Claude Sonnet 5 --- .../project/templates/project/inbox.html | 4 +-- .../project/templates/project/index.html | 4 +-- .../project/templates/project/project.html | 21 +++++++++---- app/static/project.css | 3 ++ app/static/project.js | 30 ++++++++++++++++++- 5 files changed, 51 insertions(+), 11 deletions(-) diff --git a/app/modules/project/templates/project/inbox.html b/app/modules/project/templates/project/inbox.html index 74bddda..6219431 100644 --- a/app/modules/project/templates/project/inbox.html +++ b/app/modules/project/templates/project/inbox.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -45,5 +45,5 @@ {% endif %} - + {% endblock %} diff --git a/app/modules/project/templates/project/index.html b/app/modules/project/templates/project/index.html index bfad721..f7eb47d 100644 --- a/app/modules/project/templates/project/index.html +++ b/app/modules/project/templates/project/index.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -428,5 +428,5 @@ window.PJ_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772"] | tojson }}; window.PJ_STAGE_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772","#e8398a","#a15c43"] | tojson }}; - + {% endblock %} diff --git a/app/modules/project/templates/project/project.html b/app/modules/project/templates/project/project.html index aa8d770..c6ecf04 100644 --- a/app/modules/project/templates/project/project.html +++ b/app/modules/project/templates/project/project.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + @@ -36,9 +36,7 @@ {% endif %} - {% if nav_projects %} -