feat(project): meeting task table kept per week, titled "N주차 작업 등록"
- localStorage key now includes the week start; each week shows only its own rows - Old per-person rows move into the current week the first time it is opened - Heading shows the week number; help + docs; jsdom tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3054,3 +3054,5 @@ html[data-pj-font="nanum-square-round"] { --pj-font: "NanumSquareRound", var(--p
|
||||
}
|
||||
.pj-desc-stylepop button:hover { background: #f1f2f4; }
|
||||
.pj-desc-colorchip { display: inline-block; width: 22px; text-align: center; font-weight: 700; font-size: 15px; }
|
||||
/* 회의록 작업 등록 — 제목 앞 주차(N주차 작업 등록, 주차마다 따로 기억) */
|
||||
.pj-meet-quick-week { color: var(--pj-accent); }
|
||||
|
||||
+10
-1
@@ -10669,7 +10669,16 @@
|
||||
if (!box) return;
|
||||
const tbody = box.querySelector("tbody");
|
||||
const wrap = document.querySelector(".pj-wrap");
|
||||
const KEY = "pj_meet_quick:" + ((wrap && wrap.dataset.me) || "");
|
||||
// 주차마다 따로 기억한다(2026-10-12) — 키 = 사람 + 주차 시작일. 예전엔 사람마다 한 묶음이라 어느 주차를 봐도 같은 목록이었다.
|
||||
// 예전 키(주차 없음)에 남은 줄은 "이번 주" 회의록을 처음 열 때 그 주차로 옮긴다.
|
||||
const LEGACY_KEY = "pj_meet_quick:" + ((wrap && wrap.dataset.me) || "");
|
||||
const KEY = LEGACY_KEY + ":" + (box.dataset.week || "");
|
||||
try {
|
||||
if (box.dataset.week && box.dataset.now === "1" && localStorage.getItem(KEY) == null) {
|
||||
const old = localStorage.getItem(LEGACY_KEY);
|
||||
if (old != null) { localStorage.setItem(KEY, old); localStorage.removeItem(LEGACY_KEY); }
|
||||
}
|
||||
} catch (_) {}
|
||||
const people = {}, faces = {};
|
||||
(window.PJ_MEET_MEMBERS || []).forEach(function (m) {
|
||||
people[String(m.email).toLowerCase()] = m.name;
|
||||
|
||||
Reference in New Issue
Block a user