From 650df5b0588940ada678062e1baa4d0d8efe17b2 Mon Sep 17 00:00:00 2001 From: king Date: Mon, 19 Oct 2026 18:25:22 +0900 Subject: [PATCH] =?UTF-8?q?fix(project):=20=ED=9A=8C=EC=9D=98=EB=A1=9D=20?= =?UTF-8?q?=EC=9B=94=20=EA=B3=84=ED=9A=8D=20=EC=88=AB=EC=9E=90=20=ED=95=9C?= =?UTF-8?q?=20=EC=A4=84=EC=9D=84=20=EC=B9=B4=EB=93=9C=20=EC=9C=84=20?= =?UTF-8?q?=EB=B9=88=20=EA=B3=B5=EA=B0=84=EC=9C=BC=EB=A1=9C(=EC=9E=98?= =?UTF-8?q?=EB=A6=AC=EC=A7=80=20=EC=95=8A=EA=B2=8C)=20=C2=B7=20=EA=B2=B0?= =?UTF-8?q?=EC=A0=95=EC=82=AC=ED=95=AD=20=EC=A0=9C=EB=AA=A9=20=EC=99=BC?= =?UTF-8?q?=EC=AA=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- .../notice/templates/notice/admin.html | 2 +- app/modules/project/CLAUDE.md | 2 +- .../templates/project/goal_meeting.html | 59 ++++++++++--------- .../project/templates/project/goals.html | 2 +- .../project/templates/project/help.html | 2 +- .../project/templates/project/inbox.html | 2 +- .../project/templates/project/mytasks.html | 2 +- .../project/templates/project/notifier.html | 2 +- .../project/templates/project/project.html | 2 +- .../project/templates/project/trash.html | 2 +- app/static/project.css | 9 ++- docs/PROJECT_MODULE.md | 3 +- tests/js/goals_meeting_ui.test.js | 4 +- 13 files changed, 51 insertions(+), 42 deletions(-) diff --git a/app/modules/notice/templates/notice/admin.html b/app/modules/notice/templates/notice/admin.html index 3aa6601..d9ab45c 100644 --- a/app/modules/notice/templates/notice/admin.html +++ b/app/modules/notice/templates/notice/admin.html @@ -2,7 +2,7 @@ {% block head_extra %} {# 프로젝트 화면 부품(설명 편집기·날짜 팝업·멤버 고르기)을 그대로 쓴다 — project.js 는 PJ_LIB_ONLY 로 부품만 #} - + {% endblock %} diff --git a/app/modules/project/CLAUDE.md b/app/modules/project/CLAUDE.md index 74ddf50..9c4e268 100644 --- a/app/modules/project/CLAUDE.md +++ b/app/modules/project/CLAUDE.md @@ -114,7 +114,7 @@ - 위에 목표 표 그 달 열 글을 영역별 "N월 계획" 카드로. - 참석자 옆 [회의록 보드] = 그 주차의 빈 Google 슬라이드를 독립 창으로(오른쪽 🔗 아이콘 = 그 보드 링크 복사). 공유 드라이브 `MEETING_BOARD_FOLDER_ID`(없으면 만듦), `app/integrations/google_slides.py`, Drive appProperties 로 주차 연결 — Drive·Slides 권한 토큰 필요. - 표를 스크롤해도 보이는 머리 영역 3칸: - 1·2. (2026-10-19 한 칸 `.pj-meet-pn`) 머리 한 줄 = N월 계획 + 숫자 4개(월 목표 매출·월 누적 목표 매출(`goal_week_targets` 1주차~이 주차 합)·월 누적 실적(1일~오늘)·누적 목표 대비 차액·%) | 결정사항 제목, 아래 전체 = 결정 사항(크게). 월 계획 상세(목표 표 그 달 글)는 뺐다. + 1·2. (2026-10-19) 카드 위 빈 공간 한 줄 `.pj-meet-kpitop` = N월 계획 + 숫자 4개(월 목표 매출·월 누적 목표 매출(`goal_week_targets` 1주차~이 주차 합)·월 누적 실적(1일~오늘)·누적 목표 대비 차액·%, 잘리지 않음 — 좁으면 줄바꿈), 아래 카드 `.pj-meet-pn` = 결정사항 제목(왼쪽) + 결정 사항(크게). 월 계획 상세(목표 표 그 달 글)는 뺐다. (`.pj-meet-kpibar` 는 예전 숫자 상자 이름이라 쓰지 말 것) 3. "N주차 작업 등록" 표(제목·담당자·프로젝트·섹션 → [적용] = 서버가 그 프로젝트에 작업 생성, `initMeetQuickTasks`). 주차별 서버 표 `goal_meeting_tasks`(마이그레이션 025)라 모두가 같이 보고, 남의 프로젝트 이름은 가림, 완료 프로젝트·섹션은 목록에서 뺌. 작업 칸(마이그레이션 026 `parent_task_id`) = 이미 있는 작업을 고르면 그 작업의 세부 작업으로 등록. diff --git a/app/modules/project/templates/project/goal_meeting.html b/app/modules/project/templates/project/goal_meeting.html index e7d6e06..90972f7 100644 --- a/app/modules/project/templates/project/goal_meeting.html +++ b/app/modules/project/templates/project/goal_meeting.html @@ -1,7 +1,7 @@ {% extends "project/_meeting_content_base.html" if meeting_embedded else "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -66,36 +66,39 @@ {# ── 머리 영역 3칸(스크롤해도 보임 — 표만 아래 .pj-meet-pane 에서 스크롤) ── ① 월 계획 + 머리 줄 오른쪽에 숫자 4개를 작게 한 줄로 ② 결정 사항·메모 ③ 작업 빠른 등록 표(project.js initMeetQuickTasks) #} + {# 월 계획 숫자 한 줄 — 카드 위 빈 공간에, 잘리지 않게(2026-10-19). 카드 안 머리는 결정사항 제목만(왼쪽) #} +
+
+ event_note{{ goal_month }}월 계획 + {% if h %} +
+ + 월 목표 + {% if h.sales_target is not none %}{{ num(h.sales_target) }}{{ h.sales_unit }}{% else %}—{% endif %} + + + 누적 목표 ({{ week_n }}주차) + {% if h.cum_target_won is not none %}{{ unitv(h.cum_target_won) }}{% else %}—{% endif %} + + + 누적 실적 {% if h.mtd_end %}({{ h.mtd_end[5:] | replace('-', '/') }}){% endif %} + {% if h.mtd is not none %}{{ unitv(h.mtd) }}{% elif 'mtd' in unk %}{{ unknown_val() }}{% else %}—{% endif %} + + + 목표 대비 + {% if h.gap is not none %}{{ '+' if h.gap > 0 else '' }}{{ unitv(h.gap) }}{% if h.rate is not none %} {{ h.rate }}%{% endif %} + {% elif 'mtd' in unk and h.cum_target_won is not none %}{{ unknown_val() }} + {% else %}—{% endif %} + +
+ {% endif %} +
+
- {# ①② 한 칸(2026-10-19) — 머리 한 줄: 월 계획 제목·숫자(월 목표·누적 목표·누적 실적·목표 대비) | 결정사항 제목, - 아래 전체 = 결정사항 내용(크게). 예전 월 계획 상세(목표 표 그 달 글)는 뺐다 #} + {# ①② 한 칸(2026-10-19) — 결정사항 제목(왼쪽) + 아래 전체 = 결정사항 내용(크게). 월 계획 숫자는 카드 위 .pj-meet-kpitop, + 예전 월 계획 상세(목표 표 그 달 글)는 뺐다 #}
-
- event_note{{ goal_month }}월 계획 - {% if h %} -
- - 월 목표 - {% if h.sales_target is not none %}{{ num(h.sales_target) }}{{ h.sales_unit }}{% else %}—{% endif %} - - - 누적 목표 ({{ week_n }}주차) - {% if h.cum_target_won is not none %}{{ unitv(h.cum_target_won) }}{% else %}—{% endif %} - - - 누적 실적 {% if h.mtd_end %}({{ h.mtd_end[5:] | replace('-', '/') }}){% endif %} - {% if h.mtd is not none %}{{ unitv(h.mtd) }}{% elif 'mtd' in unk %}{{ unknown_val() }}{% else %}—{% endif %} - - - 목표 대비 - {% if h.gap is not none %}{{ '+' if h.gap > 0 else '' }}{{ unitv(h.gap) }}{% if h.rate is not none %} {{ h.rate }}%{% endif %} - {% elif 'mtd' in unk and h.cum_target_won is not none %}{{ unknown_val() }} - {% else %}—{% endif %} - -
- {% endif %} -

결정사항 : 진행상황 수시 공유 및 완료 되어야 함

{% if meeting %} diff --git a/app/modules/project/templates/project/goals.html b/app/modules/project/templates/project/goals.html index 378f16f..07308ea 100644 --- a/app/modules/project/templates/project/goals.html +++ b/app/modules/project/templates/project/goals.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/help.html b/app/modules/project/templates/project/help.html index 66ebc96..5274c38 100644 --- a/app/modules/project/templates/project/help.html +++ b/app/modules/project/templates/project/help.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/inbox.html b/app/modules/project/templates/project/inbox.html index bce9445..0a8d19a 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 %} diff --git a/app/modules/project/templates/project/mytasks.html b/app/modules/project/templates/project/mytasks.html index f45f078..c35697d 100644 --- a/app/modules/project/templates/project/mytasks.html +++ b/app/modules/project/templates/project/mytasks.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/notifier.html b/app/modules/project/templates/project/notifier.html index 43a876b..c1da24d 100644 --- a/app/modules/project/templates/project/notifier.html +++ b/app/modules/project/templates/project/notifier.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/modules/project/templates/project/project.html b/app/modules/project/templates/project/project.html index c98c844..888c946 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 %} - + diff --git a/app/modules/project/templates/project/trash.html b/app/modules/project/templates/project/trash.html index b7067eb..1245af3 100644 --- a/app/modules/project/templates/project/trash.html +++ b/app/modules/project/templates/project/trash.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} diff --git a/app/static/project.css b/app/static/project.css index ab3ba6b..b60e58c 100644 --- a/app/static/project.css +++ b/app/static/project.css @@ -2681,9 +2681,12 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important; .pj-meet-area h3 small { margin-left: 6px; font-size: 11px; font-weight: 400; color: var(--pj-ink-soft); } /* ①② 한 칸(2026-10-19) — 머리 한 줄(월 계획 제목·숫자 | 결정사항 제목) + 아래 전체 결정사항 내용(크게). 예전 ①② 두 칸 자리를 합친 너비 */ .pj-meet-board > .pj-meet-pn { grid-column: span 2; } -.pj-meet-pn-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 10px; align-items: center; margin-bottom: 6px; } -.pj-meet-pn-head .pj-meet-plan-head { margin-bottom: 0; } -.pj-meet-area.pj-meet-pn .pj-meet-pn-title { margin: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.pj-meet-pn-head { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 6px; } +.pj-meet-area.pj-meet-pn .pj-meet-pn-title { margin: 0; font-size: 13px; font-weight: 700; text-align: left; } +/* 월 계획 숫자 한 줄 — 카드 위 빈 공간(보드 바로 위), 잘리지 않게(좁으면 다음 줄로) */ +.pj-meet-kpitop { margin: 0 0 -4px; padding: 0 2px; } +.pj-meet-kpitop .pj-meet-plan-head { margin: 0; flex-wrap: wrap; row-gap: 2px; } +.pj-meet-kpitop .pj-meet-kpiline { flex: 0 1 auto; overflow: visible; flex-wrap: wrap; row-gap: 2px; white-space: normal; } .pj-meet-area.pj-meet-pn textarea, .pj-meet-area.pj-meet-pn .pj-meet-ro { font-size: 15px; line-height: 1.6; } .pj-meet-area-body { flex: 1 1 auto; min-height: 0; overflow: auto; } .pj-meet-area.pj-meet-notes textarea, .pj-meet-area.pj-meet-notes .pj-meet-ro { diff --git a/docs/PROJECT_MODULE.md b/docs/PROJECT_MODULE.md index 9bd8da3..bbabace 100644 --- a/docs/PROJECT_MODULE.md +++ b/docs/PROJECT_MODULE.md @@ -1417,7 +1417,8 @@ Windows 트레이 프로그램 **DBX 알림**(`desktop/notifier/`, C# .NET Frame ## 6-25. 회의록 머리 한 칸(월 계획 숫자 + 결정사항) · 회의록 표 회색 선 · 주차 목표 두 칸 (2026-10-19, 마이그레이션 030) - **회의록 머리**: 예전 ① 월 계획(머리 줄 숫자 + 아래 그 달 계획 글) ② 결정 사항 두 칸을 한 칸 `.pj-meet-pn`(보드 두 열 너비)으로 — - 머리 한 줄 = `N월 계획` + 숫자 4개(월 목표·누적 목표·누적 실적·목표 대비) | `결정사항 : …` 제목, 아래 전체 = 결정 사항 입력란(15px). + 카드 안 = `결정사항 : …` 제목(왼쪽) + 결정 사항 입력란(15px). `N월 계획` + 숫자 4개(월 목표·누적 목표·누적 실적·목표 대비)는 같은 날 요청으로 + 카드 위 빈 공간 한 줄 `.pj-meet-kpitop`(보드 바로 위, 잘리지 않게 — 좁으면 줄바꿈)으로 옮김. ※ `.pj-meet-kpibar` 는 예전 숫자 상자(4칸 격자) CSS 이름이라 겹치지 않게 다른 이름. 월 계획 상세 글(`month_plan`)은 화면에서 뺐다(라우터 계산은 남음). 입력란 id(`pj-meet-notes`)·저장 그대로. - **회의록 표 테두리**: 구역(구분) 처음·끝 가로선만 굵은 검정 2px(`tr:first-child` 위 + 표 바깥 아래), 나머지 선은 모두 회색 `#bfc3c9` (세로선·항목 사이·하위 줄 사이·바깥 위·좌우). 표 머리 마지막 줄 아래선은 없앰(첫 구역 굵은 선이 대신). `markMeetSecEnds` 의 `.is-sec-end` 는 그대로 쓰고 diff --git a/tests/js/goals_meeting_ui.test.js b/tests/js/goals_meeting_ui.test.js index c092fec..d1baed2 100644 --- a/tests/js/goals_meeting_ui.test.js +++ b/tests/js/goals_meeting_ui.test.js @@ -603,7 +603,9 @@ function meetServer(env, st) { await boot(env); await settle(); await wait(5); await settle(); const d = env.d, board = d.querySelector(".pj-meet-board"); check("[2g] 머리 영역: (월 계획 숫자 + 결정 사항) 한 칸 · 작업 등록", !!board && board.children.length === 2 && - !!board.querySelector(".pj-meet-pn .pj-meet-plan-head .pj-meet-kpiline") && !board.querySelector(".pj-meet-plan-grid") && + !!board.querySelector(".pj-meet-pn .pj-meet-pn-title") && !board.querySelector(".pj-meet-plan-head") && + !!board.previousElementSibling && board.previousElementSibling.matches(".pj-meet-kpitop") && + !!board.previousElementSibling.querySelector(".pj-meet-plan-head .pj-meet-kpiline") && !env.d.querySelector(".pj-meet-plan-grid") && !!board.querySelector(".pj-meet-notes #pj-meet-notes") && !!board.querySelector("#pj-meet-quick")); check("[2g] 서버 표를 읽어 빈 줄 3개", env.calls.some(function (c) { return /\/meetings\/2026-09-28\/quick-tasks$/.test(c.url) && c.method === "GET"; }) && d.querySelectorAll("#pj-meet-quick tbody tr").length === 3);