← back to Marketing Command Center
chore: lint, refactor, v1.3.0 (session close)
25362f415d16c623e3a289c8872b42a3702509fa · 2026-07-16 16:40:42 -0700 · Steve
Cosmetic-only cleanup of modules/calendars/lib.js (googleEvents stub params
uncommented to match call site; split a lone double-declaration). No behavior
change — smoke test green (activation+launched live, counts intact). Minor bump
reflects this session's launched-layer-live-on-Kamatera capability.
Files touched
M modules/calendars/lib.jsM package.json
Diff
commit 25362f415d16c623e3a289c8872b42a3702509fa
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Jul 16 16:40:42 2026 -0700
chore: lint, refactor, v1.3.0 (session close)
Cosmetic-only cleanup of modules/calendars/lib.js (googleEvents stub params
uncommented to match call site; split a lone double-declaration). No behavior
change — smoke test green (activation+launched live, counts intact). Minor bump
reflects this session's launched-layer-live-on-Kamatera capability.
---
modules/calendars/lib.js | 5 +++--
package.json | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/modules/calendars/lib.js b/modules/calendars/lib.js
index a0188a4..82bc488 100644
--- a/modules/calendars/lib.js
+++ b/modules/calendars/lib.js
@@ -270,12 +270,13 @@ function overlays(startISO, endISO) {
out.push(...googleEvents(startISO, endISO));
return out;
}
-function googleEvents(/* startISO, endISO */) { return []; }
+function googleEvents(startISO, endISO) { return []; } // stub until OAuth is wired (Steve-gated)
// ── the unified feed the panel consumes ──────────────────────────────────────
async function buildEvents(force) {
const act = await getActivation(force);
- const today = new Date(); const todayISO = `${today.getFullYear()}-${pad(today.getMonth() + 1)}-${pad(today.getDate())}`;
+ const today = new Date();
+ const todayISO = `${today.getFullYear()}-${pad(today.getMonth() + 1)}-${pad(today.getDate())}`;
const winStart = (() => { const d = new Date(today); d.setMonth(d.getMonth() - 1); return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-01`; })();
const winEnd = (() => {
const far = new Date(today); far.setMonth(far.getMonth() + 13);
diff --git a/package.json b/package.json
index f5fb8a5..7739078 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "marketing-command-center",
- "version": "1.2.0",
+ "version": "1.3.0",
"description": "DW Marketing Command Center — Constant Contact, marketing calendar, suggested copy, on-demand layouts",
"main": "server.js",
"scripts": {
← 1473c68 auto-save: 2026-07-16T12:13:12 (1 files) — public/data/clien
·
back to Marketing Command Center
·
auto-save: 2026-07-16T16:43:46 (1 files) — package-lock.json a8a2166 →