feat: 세부 업무 자동 협업자 없음·마감일 아이콘·담당자별 패널 날짜 + 광고비 13채널·ROAS
[Project] - 세부 업무를 만들 때 만든 사람을 자동 협업자로 넣지 않음(고른 협업자만), 메인 업무는 그대로 - 업무 창 세부 업무 줄의 빈 마감일 아이콘을 협업자 아이콘처럼 늘 옅게 - 대시보드 담당자별 합계 패널 날짜 mm/dd(요일), 마감 지난 미완료는 빨간 굵은 글씨 [실적 — 광고비] - 열: 구글·메타·네이버·쿠팡(윙)·쿠팡(로켓)·오늘의집·G마켓·카카오·GS샵·11번가·롯데ON·토스·애터미아자몰 - 칸 = 광고비(ROAS%), ROAS = 그 쇼핑몰 매출 ÷ 광고비(구글·메타 = 카페24), 월/연 누적에도 ROAS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -58,6 +58,10 @@ a.perf-tab.is-active:link, a.perf-tab.is-active:visited { color: #fff; }
|
||||
.perf-ads .perf-quick .perf-seg.is-active { background: var(--perf-ad); }
|
||||
.perf-ads .perf-chart .bar { fill: var(--perf-ad); }
|
||||
.perf-ads td.is-upload .v-gross { color: var(--perf-ad); }
|
||||
/* "광고비(ROAS%)" — ROAS 는 작게 옅게 붙인다. 입력 중엔 숫자처럼 자리만 남기고 숨김 */
|
||||
.perf-roas { margin-left: 2px; font-size: 11px; font-weight: 500; color: var(--color-midtone-gray); }
|
||||
.perf-row-total .perf-roas { color: #bbb; }
|
||||
.perf .perf-main td.is-editing .perf-roas { visibility: hidden; }
|
||||
.perf-ad-upload-btn { margin-left: auto; }
|
||||
.perf-kpi-pct { font-size: 26px; font-weight: 700; }
|
||||
|
||||
|
||||
@@ -488,6 +488,8 @@
|
||||
td.dataset.manualValue = manual;
|
||||
td.classList.toggle("is-manual", manual !== "");
|
||||
td.classList.remove("is-upload");
|
||||
const ro = td.querySelector(".perf-roas"); // 광고비가 바뀌면 ROAS 는 새로고침 때 다시 계산
|
||||
if (ro) ro.remove();
|
||||
td.title = manual !== "" ? "직접 입력값 — 눌러 고치기(비우고 저장하면 " + (FIXED_METRIC ? "지움" : "API 값") + ")"
|
||||
: "눌러 " + MANUAL_WORD + " 직접 입력";
|
||||
const g = td.querySelector(".v-gross");
|
||||
|
||||
@@ -1446,7 +1446,7 @@ label.pj-desc-fmtbtn {
|
||||
}
|
||||
.pj-subtask-title:hover, .pj-subtask-title:focus { border-color: #d8dce2 !important; background: #fff; }
|
||||
.pj-subtask-fill { flex: 1 1 0; align-self: stretch; min-width: 8px; }
|
||||
/* 마감일 — 날짜 글자만(아사나). 없으면 줄에 마우스를 올릴 때만 점선 원 달력 아이콘 */
|
||||
/* 마감일 — 날짜 글자만(아사나). 없으면 점선 원 달력 아이콘을 협업자 아이콘처럼 늘 옅게(줄 hover 때 진하게, 2026-10-14) */
|
||||
.pj-subtask-due {
|
||||
flex: 0 0 auto; white-space: nowrap; font-size: 12px; color: var(--pj-ink-soft);
|
||||
padding: 2px 4px; border-radius: 4px; cursor: pointer;
|
||||
@@ -1456,7 +1456,7 @@ label.pj-desc-fmtbtn {
|
||||
.pj-subtask-due.is-soon { color: #3f8f6b; }
|
||||
.pj-subtask-due.is-empty {
|
||||
display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0;
|
||||
border-radius: 50%; color: #6d6e6f; opacity: 0; transition: opacity .12s;
|
||||
border-radius: 50%; color: #6d6e6f; opacity: .5; transition: opacity .12s;
|
||||
}
|
||||
.pj-subtask-row:hover .pj-subtask-due.is-empty { opacity: 1; }
|
||||
.pj-subtask-due.is-empty:hover { color: #1e1f21; background: #eceef0; }
|
||||
@@ -1747,6 +1747,7 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
.pj-wl-item-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
|
||||
.pj-wl-item-main small { color: var(--pj-ink-soft); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.pj-wl-item em { flex: none; font-style: normal; font-size: 12px; color: var(--pj-ink-soft); font-variant-numeric: tabular-nums; }
|
||||
.pj-wl-item em.is-overdue { color: #d1242f; font-weight: 700; } /* 마감 지난 미완료 */
|
||||
.pj-dash-card-title { font-size: 13.5px; font-weight: 700; color: var(--pj-ink); margin-bottom: 18px; }
|
||||
|
||||
/* 세로 막대(섹션별/담당자별 공용) */
|
||||
|
||||
+11
-3
@@ -1007,11 +1007,12 @@
|
||||
: await api("DELETE", "/project/api/tasks/" + taskId + "/followers/" + encodeURIComponent(email));
|
||||
return res.followers || [];
|
||||
}
|
||||
// 새로 만든 업무의 협업자 = 만든 사람 + 고른 사람(담당자는 빼고) — 서버 _follow·db.add_followers 와 같은 규칙.
|
||||
// 새로 만든 세부 업무의 협업자 = 고른 사람만(담당자는 빼고) — 서버 _follow·db.add_followers 와 같은 규칙.
|
||||
// 만든 사람은 세부 업무에 자동으로 협업자가 되지 않는다(2026-10-14).
|
||||
function newTaskFollowers(chosen, assignee) {
|
||||
const who = String(assignee || "").toLowerCase();
|
||||
const out = [];
|
||||
[pageMeEmail()].concat(chosen || []).forEach(function (x) {
|
||||
(chosen || []).forEach(function (x) {
|
||||
x = String(x || "").toLowerCase(); if (x && x !== who && out.indexOf(x) < 0) out.push(x);
|
||||
});
|
||||
return out;
|
||||
@@ -6528,7 +6529,14 @@
|
||||
btn.querySelector(".pj-wl-item-title").textContent = t.title || "(제목 없음)";
|
||||
const parent = isSub && (seenTask(t.parent_task_id) || (t.parent_title ? { title: t.parent_title } : null));
|
||||
btn.querySelector("small").textContent = parent ? "상위: " + (parent.title || "") : (t.stage_name || "");
|
||||
btn.querySelector("em").textContent = t.due_date ? fmtShortDate(t.due_date) : "";
|
||||
// 마감일 = mm/dd(요일), 지난 마감(미완료)은 빨간 굵은 글씨(2026-10-14)
|
||||
const due = String(t.due_date || "").slice(0, 10);
|
||||
const em = btn.querySelector("em");
|
||||
if (/^\d{4}-\d{2}-\d{2}$/.test(due)) {
|
||||
const dd = new Date(due + "T00:00:00");
|
||||
em.textContent = due.slice(5, 7) + "/" + due.slice(8, 10) + "(" + ["일", "월", "화", "수", "목", "금", "토"][dd.getDay()] + ")";
|
||||
if (!(t.completed_at || t.done) && due < isoToday()) { em.classList.add("is-overdue"); em.title = "마감 지남"; }
|
||||
}
|
||||
btn.addEventListener("click", function () {
|
||||
body.querySelectorAll(".pj-wl-item.is-current").forEach(function (b) { b.classList.remove("is-current"); });
|
||||
btn.classList.add("is-current");
|
||||
|
||||
Reference in New Issue
Block a user